MESObjectTypes

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.

See MES Object Type Names

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 Properties

This object inherits the AbstractMESObject properties...


Object Functions

This object provides the following functions:

 

getDescription()

Description

Returns description for the MES object type.

Syntax

getDescription()


  • Parameters

None

  • Returns

String description - The description of the MES object type.

  • Scope

All

 getDisplayName()

Description

Return the display name of the MES object type. This will be the long name with spaces.

Syntax

getDisplayName()

  • Parameters

None

  • Returns

String name - The display name of the MES object type.

  • Scope

All

 

getName()

Description

Returns the name of the MES object type. This will be a short name without spaces.

Syntax

getName()

  • Parameters

None

  • Returns

String name - The name of the MES object type. See MES Object Type Name for a list of valid names.

  • Scope

All

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