Skip to content
Start free evaluation

PDComm.GemDataOptions

Class

Represents the capacity limits of an equipment's data variable store.

public sealed record GemDataOptions

Pass the options to GemEquipment.ConfigureDataVariables or GemDataConfiguration. GemDataOptions.MaxVariables and every field of GemDataOptions.ItemLimits must be nonzero.

Members

GemDataOptions

Constructor

Initializes a new instance with default values.

public GemDataOptions()

Notes

  • Set every required property of the type in an object initializer.

ItemLimits

Property

Gets the SECS-II item limits that every cached value and data sample must satisfy.

public required SecsLimits ItemLimits { get; init; }

MaxMetadataBytes

Property

Gets the maximum total size, in bytes, of all ASCII names and units.

public required nuint MaxMetadataBytes { get; init; }

MaxSampleBytes

Property

Gets the maximum total encoded size, in bytes, of the data samples supplied with one event report.

public required nuint MaxSampleBytes { get; init; }

MaxSamplesPerEvent

Property

Gets the maximum number of data samples supplied with one event report.

public required nuint MaxSamplesPerEvent { get; init; }

MaxValueBytes

Property

Gets the maximum total encoded size, in bytes, of all cached values.

public required nuint MaxValueBytes { get; init; }

MaxVariables

Property

Gets the maximum number of data variables in the store.

public required nuint MaxVariables { get; init; }