TimeRangeStreamDataPoint
Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData
A single externally-aggregated time-series data point that covers a half-open
[From, To) window. Counterpart of StreamDataPoint for archives that
store pre-computed window values (EDA energy reports, smart-meter quarter-hour totals,
weather forecasts with validity periods, …). The window itself is part of the data — it
is not derived from a bucket schedule and is not the system's choice. Concept doc:
docs/concept-time-range-archives.md.
public class TimeRangeStreamDataPoint
Inheritance Object → TimeRangeStreamDataPoint
Remarks:
Both TimeRangeStreamDataPoint.From and TimeRangeStreamDataPoint.To must be UTC; the repository normalises
non-UTC inputs the same way StreamDataPoint.Timestamp is handled today.
TimeRangeStreamDataPoint.To is exclusive; TimeRangeStreamDataPoint.From is inclusive. Same-window re-deliveries
upsert via the natural key (window_start, window_end, rtid, ckTypeId) and set the
archive's was_updated flag.
Properties
RtId
Runtime id of the entity this measurement belongs to.
public OctoObjectId RtId { get; set; }
Property Value
OctoObjectId
CkTypeId
CK type of the entity. Must match the archive's TargetCkTypeId.
public RtCkId<CkTypeId> CkTypeId { get; set; }
Property Value
RtCkId<CkTypeId>
From
Inclusive lower bound of the window (UTC).
public DateTime From { get; set; }
Property Value
To
Exclusive upper bound of the window (UTC). Must be strictly greater than TimeRangeStreamDataPoint.From.
public DateTime To { get; set; }
Property Value
RtWellKnownName
Optional human-readable name. Mapped 1:1 to the archive's rtwellknownname column
— the storage layer uses MAX(rtwellknownname) on re-deliveries.
public string RtWellKnownName { get; set; }
Property Value
Attributes
User-column values keyed by attribute path. Unknown keys are dropped with a WARN log, matching the policy for StreamDataPoint.Attributes.
public IReadOnlyDictionary<string, object> Attributes { get; set; }
Property Value
IReadOnlyDictionary<String, Object>
Constructors
TimeRangeStreamDataPoint()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public TimeRangeStreamDataPoint()