PDComm.GemDataState
Struct
Represents the current counters of an equipment's data variable store.
public readonly record struct GemDataStateParameters
| Name | Description |
|---|---|
VariableCount | The number of data variables. |
MetadataBytes | The total size, in bytes, of all names and units. |
ValueBytes | The 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
| Name | Description |
|---|---|
VariableCount | The number of data variables. |
MetadataBytes | The total size, in bytes, of all names and units. |
ValueBytes | The 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; }