Skip to content
Start free evaluation

PDComm.GemDataState

Struct

Represents the current counters of an equipment's data variable store.

public readonly record struct GemDataState

Parameters

NameDescription
VariableCountThe number of data variables.
MetadataBytesThe total size, in bytes, of all names and units.
ValueBytesThe total encoded size, in bytes, of all cached values.

Members

GemDataState

Constructor

Represents the current counters of an equipment's data variable store.

public GemDataState(nuint VariableCount, nuint MetadataBytes, nuint ValueBytes)

Parameters

NameDescription
VariableCountThe number of data variables.
MetadataBytesThe total size, in bytes, of all names and units.
ValueBytesThe total encoded size, in bytes, of all cached values.

MetadataBytes

Property

The total size, in bytes, of all names and units.

public nuint MetadataBytes { get; init; }

ValueBytes

Property

The total encoded size, in bytes, of all cached values.

public nuint ValueBytes { get; init; }

VariableCount

Property

The number of data variables.

public nuint VariableCount { get; init; }