AggregateInventoryResponse

class AggregateInventoryResponse @JvmOverloads constructor(parent: ModelElement, baseName: String = parent.name) : AggregateInventoryResponseIfc(source)

Default implementation of AggregateInventoryResponseIfc. Each field is a KSL aggregate or response parented to the supplied parent — the wrapper itself is not a ModelElement.

All seven aggregates are now chained from their per-inventory sources via the standard observe() pattern, including the two per-observation responses (first-fill rate, customer wait time) that previously had no chained aggregator and stood as always-zero stubs. The per-observation responses chain via the new AggregateResponse in ksl.modeling.variable.

Parameters

parent

the parent model element under which the underlying aggregate/response children are constructed

baseName

name prefix for the underlying responses; defaults to parent's name

See sc.inventorylayer.AggregateInventoryResponse

Constructors

Link copied to clipboard
constructor(parent: ModelElement, baseName: String = parent.name)

Properties

Functions

Link copied to clipboard

Subscribe this aggregate's data to a higher-level aggregate r — i.e., make r observe (roll up) every line item this aggregate exposes. Data flows this → r.

Link copied to clipboard