Sepasoft MES Module Suite
MESObjectTypes
This object provides some helpful functions that allow you to access information about an MES Object. Both the AbstractMESObject and the MES Object Link objects have a getMESObjectType() function that returns this object.
Object Creation
The following object methods can be used to return this type of object.
Python |
#The code below shows how to determine the specific MES object #type using the getMESObjectType() method on the object. #This code snippet will print the names of MES object types #for the objects returned by the filter. #For this example there is an Equipment Class called "Packaging Equipment". filter = system.mes.object.filter.createFilter() filter.setMESObjectNamePattern('Packaging Equipment') list = system.mes.searchMESObjects(filter) for ndx in range(list.size()): mesObject = list.get(ndx) print mesObject.getMESObjectType().getDisplayName() |
Python |
>>> Equipment Class >>> |
Use
The following scripting functions and object method use this object as parameter.
Object Functions
This object provides the following functions:
This object inherits the AbstractMESObject functions.
Object Events
Objects have events associated with them that allow for custom scripts to be added whenever the event occurs. Refer to MES Object Events for more information.
This object inherits the AbstractMESObject events...
No other object events are available.
Sepasoft MES Module Suite