StatisticsCollector.CollectedData

Description

Provides access to data that may be used in Statistics Collector callbacks.

Each StatisticsCollector has a CollectedData object. This object can only be accessed in callbacks called by the Statistics Collector, through its collectedData property. Before evaluating one of these callbacks, the Statistics Collector sets some or all of the properties on this object, so they can be read within the callback.
Not all callbacks allow access to this object, and not all properties are accessible in all callbacks. For more information on the callbacks used by the Statistics Collector, as well as which properties are available during those callbacks, see the Statistics Collector Callbacks section.
This object also has dynamic properties, which act like labels. Event parameters and Event Data Label values are assigned as dynamic properties.

Properties

colNum The position of the current column in the table.
colValue The value associated with the current column.
colValueIndex The index of the current column, relative to its column set.
currentValue The value in the table at the current row and column.
eventName The name of the event that fired, causing the current callback to be evaluated.
eventNode The treenode responsible for the event that fired, causing the current callback to be evaluated.
group The Group associated with the current callback.
processFlowInstance The instance associated with the current callback.
rowNum The position of the current row in the table.
rowValue The value associated with the current row.
rowValueIndex The index of this row value, if the Row Value for the current event is an Array.

Details

Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.colNum

readonly int colNum

Description

The position of the current column in the table.

Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.colValue

readonly Variant colValue

Description

The value associated with the current column.

This value is set as part of the Set Value callback for Column Sets.
Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.colValueIndex

readonly int colValueIndex

Description

The index of the current column, relative to its column set.

This value determined by the sequence of values returned from the Set Value callback for Column Sets.
Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.currentValue

readonly Variant currentValue

Description

The value in the table at the current row and column.

Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.eventName

readonly string eventName

Description

The name of the event that fired, causing the current callback to be evaluated.

Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.eventNode

readonly treenode eventNode

Description

The treenode responsible for the event that fired, causing the current callback to be evaluated.

Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.group

readonly Group group

Description

The Group associated with the current callback.

This value will be empty unless the Statistics Collector is listening to a Group, or an enumerated object is a Group.
Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.processFlowInstance

readonly Object processFlowInstance

Description

The instance associated with the current callback.

This value will be empty unless the Statistics Collector is listening to, or has enumerated, a Process Flow block in a instanced flow.
Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.rowNum

readonly int rowNum

Description

The position of the current row in the table.

Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.rowValue

readonly Variant rowValue

Description

The value associated with the current row.

This value is the value specified by the Row Value. If the Row Mode is Enumerate, then the row value is the object associated with the current row.
Do no remove, this fixes the anchor on doc.flexsim.com

StatisticsCollector.CollectedData.rowValueIndex

readonly int rowValueIndex

Description

The index of this row value, if the Row Value for the current event is an Array.