Conveyor Request
A conveyor request represents the holding of cells on a conveyor and acts as a "ticket" to use the conveyor. Once an entity has a conveyor request, the entity has control over the cells at the start of the segment associated with the entry location along the conveyor. After receiving a request to access the conveyor the entity can either ride on the conveyor or exit. The conveyor request blocks at the point of access until riding or exiting. The request is placed in the blocking entry state. When the entity asks to ride the conveyor then the request will be placed in the riding state. If the entity never rides the conveyor, then the request stays in the blocking entry state. The property isWaitingForEntry indicates that the conveyor request is waiting to be allowed to block the entry cell of the conveyor at its current location. Once the conveyor request is used to ride the conveyor, the isWaitingToConvey property will report false. The isBlockingEntry property will report true until the request begins riding. Once the request reaches its destination, the isBlockingExit property will be true and the request is in the blocking exit state. When the request exits the conveyor the isCompleted property is true and the request is in the completed state. Once in the completed state, the request can no longer be used for any interaction with the conveyor.
Constructors
Properties
Can be used when the entity is resumed
The current location of the entity. This is assigned when the entity arrives at the end of a segment
The final location where the entity wants to visit on the conveyor
The entity that needs to use the conveyor
The conveyor cell on which the item entered the conveyor
The location where the entity first accessed the conveyor
The cell that is occupied by the item that is the furthest forward (closest to the end) on the conveyor that the item is currently occupying. Null means that the item is not occupying any cells. An item may occupy 1 or more cells depending on the number of cells that it needs while riding on the conveyor. If the conveyor has 5 cells (1, 2, 3, 4, 5) and the item needs 2 cells and is occupying cells 2 and 3, then its front cell is 3.
True if the item has reached the last cell of the current segment
True if the entity has reached its destination
The number of cells needed when riding on the conveyor
The number of cells currently occupied on the conveyor. This may be different from numCellsAllocated because an allocation does not need to convey. It can be used to block the conveyor at one of its entrance locations
True if the item occupies cells. After exiting the conveyor the item does not occupy any cells
The cell that is occupied by the item that is closest to the origin of the conveyor that the item is currently on. Null means that the item is not occupying any cells. An item may occupy 1 or more cells depending on the number of cells that it needs while riding on the conveyor. If the segment has 5 cells (1, 2, 3, 4, 5) and the item needs 2 cells and is occupying cells 2 and 3, then its rear cell is 2.