Sepasoft MES Module Suite
system.mes.loadSchedule(operationsScheduleUUID)
Load and return a list of MES objects associated with the operation schedule specified by the operationsScheduleUUID parameter.
Syntax
system.mes.loadSchedule(operationsScheduleUUID)
- Parameters
String operationsScheduleUUID - The UUID of the operations schedule object to load.
- Returns
A list containing the operations schedule and all associated operations requests and request segments. The list is returned as a MESObjectList object that is a collection holding MES objects.
- Scope
All
Code Example
Python |
#This example would pass operationsScheduleUUID into the loadSchedule and prints out the object. objList = system.mes.loadSchedule('ca6ecd0b-d78d-40d4-9e89-41b5cf8e3f6b') for ndx in range(objList.size()): obj = objList.get(ndx) print obj |
Output
Python |
OperationsSchedule (915b97de-da40-47c8-a72f-ca41996ebac0, Auto Test Schedule, 0 parents, 0 children, 0 custom properties, 1 complex properties) OperationsRequest (73fbb46c-7b98-45b2-9f32-9314e039c7e7, Auto Test, 0 parents, 0 children, 0 custom properties, 2 complex properties) RequestSegment (83262dd0-b343-4859-98f0-a7f2f59e4ffd, Auto Test, 0 parents, 0 children, 0 custom properties, 6 complex properties) |
Sepasoft MES Module Suite