Class TimedSampledValue
A single entry in a Series: the dataset's actual time-step instant alongside the sampled value at the requested cell.
public sealed record TimedSampledValue : IEquatable<TimedSampledValue>
- Inheritance
-
TimedSampledValue
- Implements
- Inherited Members
Constructors
TimedSampledValue(DateTime, DateTimeOffset, SampledValue?)
A single entry in a Series: the dataset's actual time-step instant alongside the sampled value at the requested cell.
public TimedSampledValue(DateTime SampleTime, DateTimeOffset RequestedTime, SampledValue? Value)
Parameters
SampleTimeDateTimeUTC instant of the time step actually selected for this entry.
RequestedTimeDateTimeOffsetUTC instant the caller asked for. For
Rangequeries this is the dataset's step instant itself (the window selected it); forSeriesqueries this is the enumerated series instant the step was snapped to.ValueSampledValueTyped sample payload, or
nullwhen the cell has no data at this step.
Properties
RequestedTime
UTC instant the caller asked for. For Range queries this is the
dataset's step instant itself (the window selected it); for Series
queries this is the enumerated series instant the step was snapped to.
public DateTimeOffset RequestedTime { get; init; }
Property Value
SampleTime
UTC instant of the time step actually selected for this entry.
public DateTime SampleTime { get; init; }
Property Value
Value
Typed sample payload, or null when the cell has no data at this step.
public SampledValue? Value { get; init; }