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
| Name | Value | Description |
|---|---|---|
| None | 0 | No aggregation. |
| Count | 1 | Counts the number of items. |
| Minimum | 2 | Minimum value. |
| Maximum | 3 | Maximum value. |
| Average | 4 | Average value. |
| Sum | 5 | Sum of values. |
| TimeWeightedAverage | 6 | Time-weighted average (last observation carried forward) for event-based stream-data archives; yields the duty cycle on 0/100 or boolean-like signals.. |
| StateDuration | 7 | Absolute time (milliseconds) an event-based signal held the column's comparison value within the window, with LOCF semantics.. |
| Integral | 8 | Step 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.. |