PDComm.GemDirectoryState
Struct
Represents the current counters of an equipment's event directory.
public readonly record struct GemDirectoryStateParameters
| Name | Description |
|---|---|
EventCount | The number of event entries. |
MetadataBytes | The total length, in bytes, of all event names. |
TotalVariables | The number of variable IDs across all event entries. |
Configured | true when a directory is configured, even an empty one; false when none is. |
Members
GemDirectoryState
Constructor
Represents the current counters of an equipment's event directory.
public GemDirectoryState(nuint EventCount, nuint MetadataBytes, nuint TotalVariables, bool Configured)Parameters
| Name | Description |
|---|---|
EventCount | The number of event entries. |
MetadataBytes | The total length, in bytes, of all event names. |
TotalVariables | The number of variable IDs across all event entries. |
Configured | true when a directory is configured, even an empty one; false when none is. |
Configured
Property
true when a directory is configured, even an empty one; false when none is.
public bool Configured { get; init; }EventCount
Property
The number of event entries.
public nuint EventCount { get; init; }MetadataBytes
Property
The total length, in bytes, of all event names.
public nuint MetadataBytes { get; init; }TotalVariables
Property
The number of variable IDs across all event entries.
public nuint TotalVariables { get; init; }