ItemSpec

@Serializable
data class ItemSpec(val name: String, val leadTime: RVSpec, val weight: Double = 1.0, val cube: Double = 1.0, val unitCost: Double = 1.0)(source)

Serializable description of an item type.

Parameters

name

unique item name

leadTime

the external-supplier production lead time for this item

weight

unit weight (drives weight-based formation and load weight)

cube

unit cube

unitCost

unit cost (drives holding / in-transit / builder-holding cost)

Constructors

Link copied to clipboard
constructor(name: String, leadTime: RVSpec, weight: Double = 1.0, cube: Double = 1.0, unitCost: Double = 1.0)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard