Cell
inner class Cell(val type: Conveyor.CellType, val location: IdentityIfc?, val segment: Segment, cellList: MutableList<Conveyor.Cell>)
A cell represents a length of space along the conveyor that can be allocated to and occupied by conveyable items. A conveyor is divided into a set of cells to represent its length. A cell acts like a general unit of distance along the conveyor.
Constructors
Link copied to clipboard
constructor(type: Conveyor.CellType, location: IdentityIfc?, segment: Segment, cellList: MutableList<Conveyor.Cell>)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A cell is occupied if it is covered by an item
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The cell in front of this cell (towards the end of the segment), unless this cell is the end cell of the final segment and the conveyor is circular, then the next cell is the first cell of the first segment.
Link copied to clipboard
The cell immediately behind this cell (towards the front of the segment), unless the cell is first and the conveyor is circular, then the previous cell is the cell at the end of the last segment.
Link copied to clipboard