Skip to main content

AggregationTypesDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Defines the aggregation types for runtime queries.

public enum AggregationTypesDto

Inheritance Object → ValueType → Enum → AggregationTypesDto
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields​

NameValueDescription
None0No aggregation.
Count1Counts the number of items.
Minimum2Minimum value.
Maximum3Maximum value.
Average4Average value.
Sum5Sum of values.
TimeWeightedAverage6Time-weighted average (last observation carried forward) for event-based stream-data archives; yields the duty cycle on 0/100 or boolean-like signals..
StateDuration7Absolute time (milliseconds) an event-based signal held the column's comparison value within the window, with LOCF semantics..
Integral8Step integral of a numeric event-based signal over the half-open query window [from, to), in value unit × hours (kW → kWh), with LOCF semantics (the last row before the window opens it); several entities are summed, an empty window yields null. Requires from and to..