Skip to content
Start free evaluation

PDComm.GemDataDefinition

Class

Represents the definition of one data variable in an equipment's data variable store.

public sealed record GemDataDefinition

Parameters

NameDescription
IdThe data variable ID. Report bindings refer to it with GemDataSourceKind.Data.
NameThe ASCII name. The equipment reports it as DVVALNAME in S1F22 for VIDs bound to this variable.
UnitsThe ASCII units (UNITS); may be empty.
FormatThe SECS-II format that every value of the variable must have at the top level.
MinCountThe minimum top-level count (SecsInfo.Count) of a value.
MaxCountThe maximum top-level count (SecsInfo.Count) of a value; must not be less than MinCount.
CachedThe initial cached value, or null for no value. An absent value differs from an empty one. The configuring call copies the item; the caller keeps ownership.

Members

GemDataDefinition

Constructor

Represents the definition of one data variable in an equipment's data variable store.

public GemDataDefinition(uint Id, string Name, string Units, SecsFormat Format, nuint MinCount, nuint MaxCount, SecsItem? Cached)

Parameters

NameDescription
IdThe data variable ID. Report bindings refer to it with GemDataSourceKind.Data.
NameThe ASCII name. The equipment reports it as DVVALNAME in S1F22 for VIDs bound to this variable.
UnitsThe ASCII units (UNITS); may be empty.
FormatThe SECS-II format that every value of the variable must have at the top level.
MinCountThe minimum top-level count (SecsInfo.Count) of a value.
MaxCountThe maximum top-level count (SecsInfo.Count) of a value; must not be less than MinCount.
CachedThe initial cached value, or null for no value. An absent value differs from an empty one. The configuring call copies the item; the caller keeps ownership.

Cached

Property

The initial cached value, or null for no value. An absent value differs from an empty one. The configuring call copies the item; the caller keeps ownership.

public SecsItem? Cached { get; init; }

Format

Property

The SECS-II format that every value of the variable must have at the top level.

public SecsFormat Format { get; init; }

Id

Property

The data variable ID. Report bindings refer to it with GemDataSourceKind.Data.

public uint Id { get; init; }

MaxCount

Property

The maximum top-level count (SecsInfo.Count) of a value; must not be less than MinCount.

public nuint MaxCount { get; init; }

MinCount

Property

The minimum top-level count (SecsInfo.Count) of a value.

public nuint MinCount { get; init; }

Name

Property

The ASCII name. The equipment reports it as DVVALNAME in S1F22 for VIDs bound to this variable.

public string Name { get; init; }

Units

Property

The ASCII units (UNITS); may be empty.

public string Units { get; init; }