Response Trigger Segment Begin Property
Sepasoft MES Module Suite
Response Trigger Segment Begin Property
This object is created whenever an operations segment is started and a corresponding operations response object is created. It is related to the Trigger Segment Begin Property and stores information about the actual operation that triggered it.
|
This object is not derived from the MESAbstractObject. Instead it derives from AbstractMESComplexProperty object and inherits all its functions and properties.
|
The following methods return a Response Trigger Segment Begin Property object...
- Response Segment.getPrimaryBeginTrigger()
|
obj = system.mes.loadMESObject('Maintenance','OperationsSegment')
print obj.getPrimaryBeginTrigger()
|
Output
|
{Mode=At Operation Begin, Auto=false,
PrecedingRef=Operations Definition, Maintenance,
PrecedingRefType=OperationsDefinition,
PrecedingRefUUID=64decd8a-75aa-4c55-b390-0d4811bbf62f,
InitialDelay=0, RepeatMode=No Repeat,
RepeatInterval=0, CustomTriggerEvent=null, Default=true}
>>>
|
Object Functions
This object provides the following functions:
getCustomRef()
Get reference to the custom property.
getCustomRef()
Parameters
None
Returns
MESObjectLink customRef - Reference to the custom property.
Scope
All
getInitialDelay()
getInitialDelay()
Parameters
None
Returns
Integer delay - The initial delay of the trigger segment begin property.
Scope
All
getMode()
Get the mode of trigger segment begin property.
getMode()
Parameters
None
Returns
String mode - The mode of trigger segment begin property.
Scope
All
getPrecedingRef()
Get the MES object link that reference the preceding object.
getPrecedingRef()
Parameters
None
Returns
MESObjectLink precedingRef - The MES object link that reference the preceding object.
Scope
All
getPrecedingRefProperty()
Get the preceding reference property.
getPrecedingRefProperty()
Parameters
None
Returns
MESTriggerOperationBeginPrecedingRefProperty precedingRefProperty - The preceding reference property.
Scope
All
getPrecedingRefType()
Get the type of preceding reference object.
getPrecedingRefType()
Parameters
None
Returns
String precedingRefType - The type of preceding reference object.
Scope
All
getPrecedingRefUUID()
Get the uuid of preceding reference object.
getPrecedingRefUUID()
Parameters
None
Returns
String precedingRefUUID - The UUID of preceding reference object.
Scope
All
getRepeatInterval()
getRepeatInterval()
Parameters
None
Returns
Integer interval - The repeat interval.
Scope
All
getRepeatMode()
getRepeatMode()
Parameters
None
Returns
Integer mode - The repeat mode.
Scope
All
isAuto()
Check whether the response segment trigger begin property is set to auto or not.
isAuto()
Parameters
None
Returns
boolean True if the property is set to auto and False otherwise.
Scope
All
isModePrimary()
Check whether the mode of response segment trigger begin property is set to primary or not.
isModePrimary()
Parameters
None
Returns
boolean True if the mode is set to primary and False otherwise.
Scope
All
setAuto()
Sets the Boolean to auto property.
setAuto()
Parameters
Boolean True to set to auto and False otherwise.
Returns
Nothing
Scope
All
setCustomRef(customRef)
Set reference to the custom property.
setCustomRef(customRef)
Parameters
String customRef - Reference to the custom property.
Returns
Nothing
Scope
All
setInitialDelay(delay)
setInitialDelay(delay)
Parameters
Integer delay - The initial delay of the trigger segment begin property.
Returns
Nothing
Scope
All
setMode(mode)
Set the mode of trigger segment begin property.
setMode(mode)
Parameters
String mode - The mode of trigger segment begin property.
Returns
Nothing
Scope
All
setPrecedingRef(precedingRef)
Set the MES object link that reference the preceding object.
setPrecedingRef(precedingRef)
Parameters
MESObjectLink precedingRef - MES object link that reference the preceding object.
Returns
Nothing
Scope
All
setPrecedingRefType(precedingRefType)
Set the type of preceding reference object.
setPrecedingRefType(precedingRefType)
Parameters
String precedingRefType - The type of preceding reference object.
Returns
Nothing
Scope
All
setPrecedingRefUUID(precedingRefUUID)
Set the uuid of preceding reference object.
setPrecedingRefUUID(precedingRefUUID)
Parameters
String precedingRefUUID - The uuid of preceding reference object.
Returns
Nothing
Scope
All
setRepeatInterval(interval)
setRepeatInterval(interval)
Parameters
Integer interval - The repeat interval.
Returns
Nothing
Scope
All
setRepeatMode(mode)
setRepeatMode(mode)
Parameters
Integer mode - The repeat mode.
Returns
Nothing
Scope
All
Sepasoft MES Module Suite