Sepasoft MES Module Suite
Description
All Operations Definition objects have one or more operations segment objects. The Segment Dependency Property object holds information about the segments associated with the Operations Definition object. In the MES Object Editor component, this dependency is shown as the operations segments below the definition object.
|
This object is not derived from the MESAbstractObject. Instead it derives from AbstractMESComplexProperty object and inherits all its functions and properties. |

Object Creation
This object is created automatically when an Operations Definition and Operations Segment are created during saving of a Process Segment in the MES Object Editor.
The following object function returns this type of object:
- AbstractMESObject.getComplexProperty('SegmentDependency', name of dependency)
Click here to see script example...
|
|
Use
No scripting function or component use this object directly.
Object Properties
See AbstractMESComplexProperty for details about accessing values using script.
| Setting Name | Scripting | Description |
|---|---|---|
| Segment_Dependency Name | SegmentDependency | This is the name to use when referencing this Segment Dependency property. Operations Definitions may have multiple Segment resources and this is a unique name displayed to the operator, shown in analysis and reports, and also internally used to reference the property. |
| Segment Reference | SegmentRef | The reference to the Process Segment or Operations Segment that this segment dependency is linked to. |
| Segment Dependency Type | SegmentDependencyType | Currently this is here for reference and is included to align with the ISA-95 standard and will become significant in the next phase of the Track and Trace Module. |
| Segment Dependency Factor | SegmentDependencyFactor | Currently this is here for reference and is included to align with the ISA-95 standard and will become significant in the next phase of the Track and Trace Module. |
| Segment.Dependency.Factor.Units | SegmentDependencyFactorUnits | Units for the Segment Dependency Factor setting. |
Object Functions
This object provides the following functions:
Info
|
Segment references can be set in one of two ways:
|
getDependencyFactor()
Description
Get the dependency factor.
Syntax
getDependencyFactor()
- Parameters
None
- Returns
Double factor - The dependency factor.
- Scope
All
getDependencyType()
Description
Get the type of dependency.
Syntax
getDependencyType()
- Parameters
None
- Returns
String type - The type of dependency.
- Scope
All
getFactorUnits()
Description
Get the units of dependency factor.
Syntax
getFactorUnits()
- Parameters
None
- Returns
String type - The units of dependency factor.
- Scope
All
getSegmentRef()
Description
Get reference to the segment.
Syntax
getSegmentRef()
- Parameters
None
- Returns
MESObjectLink ref - Reference to the segment.
- Scope
All
getSegmentRefType()
Description
Get reference type to the segment.
Syntax
getSegmentRefType()
- Parameters
None
- Returns
String refType - Reference type to the segment.
- Scope
All
getSegmentRefUUID()
Description
Get reference uuid to the segment.
Syntax
getSegmentRefUUID()
- Parameters
None
- Returns
String refUUID - Reference uuid to the segment.
- Scope
All
setDependencyFactor(factor)
Description
Set the dependency factor.
Syntax
setDependencyFactor(factor)
- Parameters
Double factor - The dependency factor.
- Returns
Nothing
- Scope
All
setDependencyType(type)
Description
Set the type of dependency.
Syntax
setDependencyType(type)
- Parameters
String type - The type of dependency.
- Returns
Nothing
- Scope
All
setFactorUnits(units)
Description
Set the units of dependency factor.
Syntax
setFactorUnits(units)
- Parameters
String type - The units of dependency factor.
- Returns
Nothing
- Scope
All
setSegmentRef(ref)
Description
Set reference to the segment.
Syntax
setSegmentRef(ref)
- Parameters
MESObjectLink ref - Reference to the segment.
- Returns
Nothing
- Scope
All
setSegmentRefType(refType)
Description
Set reference type to the segment.
Syntax
setSegmentRefType(refType)
- Parameters
String refType - Reference type to the segment.
- Returns
Nothing
- Scope
All
setSegmentRefUUID(refUUID)
Description
Set reference uuid to the segment.
Syntax
setSegmentRefUUID(refUUID)
- Parameters
String refUUID - Reference uuid to the segment.
- Returns
Nothing
- Scope
All
Sepasoft MES Module Suite