Warehouse
open class Warehouse @JvmOverloads constructor(parent: ModelElement, initialAvailability: Boolean = true, name: String? = null) : WarehouseAbstract(source)
Concrete WarehouseAbstract that holds incoming orders in a FIFO queue and dispatches each order's demands to per-item-type inventories via an internal InventoryHolderAbstract. When all demands on an order are filled, the order is shipped via orderShipper (if set) or transitioned through ship → deliver.
See sc.inventorylayer.Warehouse
Constructors
Link copied to clipboard
Functions
Link copied to clipboard
Add a pre-built Inventory to this warehouse.
Link copied to clipboard
Enqueues order and registers warehouse listeners.
Link copied to clipboard
Fill a previously received order. Must be called at the same simulation time as the receipt.
Link copied to clipboard
True if this sender may produce orders containing type.
Link copied to clipboard
Subclass hook fired when an incoming order reaches FILLED.
Link copied to clipboard
Subclass hook fired when an outgoing replenishment order is delivered.