Resource

This section describes the Resource type, which provides all details relating to a resource.

See Also
Custom Logics
AllOperations
Returns all group operations defined on the Resource.
Return Type: List of Operation.
CanPerformDefaultActivitySelection
Flag to perform default Worker selection if operation is not decided in logic (specified by User).
Return Type: Integer.
0 not to perform default Activity selection and 1 to perform default Activity selection.
CanPerformDefaultAGVSelection
Flag to perform default AGV selection if operation is not decided in logic(Specified by User).
Return Type: Integer.
0 not to perform default AGV selection and 1 to perform default AGV selection.
CanPerformDefaultRequestSelection
Flag to perform the default Request selection if request is not decided in the logic.
Return Type: Integer.
CanPerformDefaultWorkerSelection
Flag to perform default Worker selection if worker is not decided in logic (specified by User).
Return Type: Integer.
0 not to perform default Worker selection and 1 to perform default worker selection.
CanPerformDefaultWorkpieceSelection
Flag to perform the default Workpiece selection if request is not decided in the logic.
Return Type: Integer.
0 not to perform default Workpiece selection and 1 to perform default Workpiece selection.
CurrentShift
Returns the current shift of the Resource.
Return Type: String.
CurrentState
Returns the Resource current state.
Return Type: String “FREE” and “BUSY” (needs to be extended to return the actual state).
CurrentAGV
Returns the name of the current AGV if the current resource is of Type AGV DZ.
Return Type: String.
CurrentDec
Returns the name of the current DZ if the current resource is of Type AGV.
Return Type: String.
CycleCount
Returns the number of operation cycles completed.
Return Type: Integer.
DELAYCompleted
Returns if delay is completed on this resource .
Return Type: Integer
Duration
Returns the task duration for the resource (for example: a Worker).
Return Type: Double
ForProduction
Flag to specify the resource as a production resource when dispatching card from the Batch Building Box.
Return Type: Int
IsTarget
Flag to specify the resource as a Target for an AGV during Routing Logic definition.
Return Type: Int
MaxSUAllowed
Returns the Max SU allowed by the Buffer resource when running in the Storage Unit mode.
Return Type: Double.
PendingProductionCards
Returns the list of pending Kanban production cards on a machine waiting for production.
Return Type : List of KanbanCard.
PreviousCompletedOperation
Returns previous completed operation if Resource type is Worker, and previous completed group in case of Processor.
Return Type: Operation.
ResourceName
Returns the name of the Resource.
Return Type: String.
SimulationElapsedTime
Returns the elapsed time of the current simulation.
Return Type: Double.
SUConsumed
Returns the SU consumed by the Buffer resource when running in the Storage Unit mode.
Return Type: Double.
SURemaining
Returns the SU available on the Buffer resource when running in the Storage Unit mode.
Return Type: Double.
Type
Returns the Resource type.
Return Type: String.

Processor = "Machine"; Carrier= "Pnf Carrier";
Buffer = "Storage"; PnFDecisionPoint = "Pnf DZ";
Source = "Source"; AGV = "AGV";
Sink = "Sink"; AGVDecisionPoint = "AGV DZ";
Worker = "Worker"; AGVController = "AGV Controller";
Conveyor = "Conveyor"; AGVPathSystem= "AGV Pathway";
CnvDecisionPoint = "Conveyor DZ"; Transport = "Transport";
WorkerWalkwayame = "WorkerWalkway"; Robot = "Robot";
PowerNFree = "Pnf Pathway"; CraneTransport = "CraneTransport";

Utilization
Returns the utilization of the current Resource.
Return Type: Double.