Sepasoft MES Module Suite
Response Equipment Property | Response Object
When an operation is executed, this object is created that stores information about the equipment used in the operation. It is the related to the Equipment Resource Property object that defines the equipment that can be used by an operation.
This object is not derived from the MESAbstractObject. Instead it derives from AbstractMESComplexProperty object and inherits all its functions and properties.
Object Creation
The following object methods return a Response Equipment Property object.
- Request Segment method: getEquipmentProperty()
- Response Segment method: getEquipmentProperty()
Python |
obj = system.mes.loadMESObject('Mix Nuts','RequestSegment') obj.getEquipmentProperty() |
Python |
|
Object Functions
This object provides the following functions:
getEquipmentRef()
Get reference to the equipment.
getEquipmentRef()
- Parameters
None
- Returns
MESObjectLink equipmentRef - Reference to the equipment.
- Scope
All
getEquipmentRefPath()
Get the path to equipment reference.
getEquipmentRefPath()
- Parameters
None
- Returns
String equipmentRefPath - Path to the equipment reference.
- Scope
All
getEquipmentRefProperty()
Get the equipment reference property.
getEquipmentRefProperty()
- Parameters
None
- Returns
String equipmentRefProperty - The equipment reference property.
- Scope
All
getEquipmentRefType()
Get the type of equipment reference.
getEquipmentRefType()
- Parameters
None
- Returns
String equipmentRefType - The type of equipment reference.
- Scope
All
getEquipmentRefUUID()
Get the uuid that corresponds to equipment reference.
getEquipmentRefUUID()
- Parameters
None
- Returns
String equipmentRefUUID - The unique identifier that corresponds to equipment reference.
- Scope
All
getEquipmentVersionRefUUID()
Get the uuid that corresponds to equipment version reference.
getEquipmentVersionRefUUID()
- Parameters
None
- Returns
String equipmentRefUUID - The unique identifier that corresponds to equipment version reference.
- Scope
All
getOptional()
Returns the corresponding Boolean after checking whether the equipment property is optional or not.
getOptional()
- Parameters
None
- Returns
boolean - True if this property is optional and False otherwise.
- Scope
All
getQuantity()
Get the quantity of equipment. This is here in compliance with ISA-95 standard.
getQuantity()
- Parameters
None
- Returns
Double quantity - The quantity of equipment.
- Scope
All
getUnits()
Get units defined for this equipment.
getUnits()
- Parameters
None
- Returns
String units - The units for equipment.
- Scope
All
setEquipmentRef(equipmentRef)
Set reference to the equipment property.
setEquipmentRef(equipmentRef)
- Parameters
MESObjectLink equipmentRef - Reference to the equipment property.
- Returns
Nothing
- Scope
All
setEquipmentRefPath(equipmentRefPath)
Set the path to equipment reference.
setEquipmentRefPath(equipmentRefPath)
- Parameters
String equipmentRefPath - Path to the equipment reference.
- Returns
Nothing
- Scope
All
setEquipmentRefType(equipmentRefType)
Set the type of equipment reference.
setEquipmentRefType(equipmentRefType)
- Parameters
String equipmentRefType - The type of equipment reference.
- Returns
Nothing
- Scope
All
setEquipmentRefUUID(equipmentRefUUID)
Set the UUID that corresponds to equipment reference.
setEquipmentRefUUID(equipmentRefUUID)
- Parameters
String equipmentRefUUID - The unique identifier that corresponds to equipment reference.
- Returns
Nothing
- Scope
All
setOptional(optional)
Sets the equipment property to optional or not.
setOptional(optional)
- Parameters
boolean optional - True if this property is optional and False otherwise.
- Returns
Nothing
- Scope
All
setQuantity(quantity)
Set the quantity of equipment. This is here in compliance with ISA-95 standard.
setQuantity(quantity)
- Parameters
Double quantity - The quantity of equipment.
- Returns
Nothing
- Scope
All
Sepasoft MES Module Suite