Zum Hauptinhalt springen

TimeRangePointDto

Namespace: Meshmakers.Octo.Sdk.ServiceClient.AssetRepositoryServices.StreamData

One externally aggregated time-range value for IStreamDataServicesClient.InsertTimeRangeAsync(String, String, IReadOnlyCollection<TimeRangePointDto>), covering the half-open window [From, To). Mirrors the asset-repo REST payload of POST streamdata/archives/{archiveRtId}/insertTimeRange.

public record TimeRangePointDto : IEquatable<TimeRangePointDto>

Inheritance Object → TimeRangePointDto
Implements IEquatable<TimeRangePointDto>

Properties​

RtId​

Runtime id of the entity the value belongs to.

public string RtId { get; set; }

Property Value​

String

CkTypeId​

Unversioned CK type id of the entity, e.g. Basic.Energy/EnergyMeasurement.

public string CkTypeId { get; set; }

Property Value​

String

From​

Inclusive window start (UTC).

public DateTime From { get; set; }

Property Value​

DateTime

To​

Exclusive window end (UTC).

public DateTime To { get; set; }

Property Value​

DateTime

RtWellKnownName​

Optional human-readable name of the entity.

public string RtWellKnownName { get; set; }

Property Value​

String

Attributes​

User-column values keyed by attribute path (e.g. Amount.Value).

public IReadOnlyDictionary<string, object> Attributes { get; set; }

Property Value​

IReadOnlyDictionary<String, Object>

Origin​

Whether the value was entered manually or delivered automatically. Defaults to StreamDataOrigin.Automated. The service records the writer of a manual value from the caller's token.

public StreamDataOrigin Origin { get; set; }

Property Value​

StreamDataOrigin

Reason​

Optional reason of a manual write; only allowed with StreamDataOrigin.Manual.

public string Reason { get; set; }

Property Value​

String

Constructors​

TimeRangePointDto()​

Caution​

Constructors of types with required members are not supported in this version of your compiler.


public TimeRangePointDto()