Sepasoft MES Module Suite
BatchPhaseClass Object
Python |
#creating a new phase class returns the BatchPhaseClass object new = system.mes.batch.phase.createClass('White Chocolate Melter', None) print new |
Output
Python |
>>> BatchPhaseClass (b693c033-3823-43a9-9c09-9d98ef249b3b, White Chocolate Melter, 1 parents, 0 children, 0 custom properties, 1 complex properties, artifacts not loaded) >>> |
Returned in this order | |
|---|---|
UUID | The name entered in Batch Recipe Editor or created via script. |
Name | The ID entered in Batch Execution or created via script. |
Provides the number of parents | The priority as an integer entered when a new batch is created in Batch Execution or set via script. |
Provides the number of children | The scale entered as a float number when a new batch is created in Batch Execution or set via script. |
Provides the number of custom properties | The quantity entered when a new batch is created in Batch Execution or set via script. |
Provides the number of complex properties | |
artifacts | |
Object Methods
| getChildCount |
| getChildren |
| getClass |
| getMESObject |
| getMESObjectType |
| getMESObjectUUID |
| getName |
| getVersion |
| hasChildren |
| hasMESObject |
| removeChild |
| setDisabled |
| setName |
Sepasoft MES Module Suite