Sepasoft MES Module Suite
create(name, parentLink)
Create a new unit class object that can be further configured. Use the save function to save the new unit class. The new unit class will have all of batch phases of the parent unit class.
create(name, parentLink) → BatchUnitClass
Syntax
create(name, parentLink)
- Parameters
String name - The name of the new unit class. Note, unit class names must be globally unique.
MESObjectLink parentLink - A required link to a parent BatchUnitClass object. If None is provided for this parameter, then it will assign the BatchRootUnitClass object as the parent. Use system.mes.batch.unitclass.getLink(string name)
- Returns
A new unsaved BatchUnitClass object.
- Scope
All
Code |
|
Code |
>>> BatchUnitClass (8440892b-0a5e-4452-a239-1d0c3cd82112, test, 1 parents, 0 children, 0 custom properties, 2 complex properties, artifacts not loaded) >>> |
Sepasoft MES Module Suite