PDComm.GemDataConfiguration
Class
Represents the data variables and optional report bindings that a GemEquipmentWorker configures when it starts.
public sealed record GemDataConfigurationThe worker applies the data variables and then the bindings with GemEquipment.ConfigureDataVariables and GemEquipment.ConfigureReportBindings, before the event report store and the event directory.
Parameters
| Name | Description |
|---|---|
Options | The capacity limits of the data variable store. |
Definitions | The data variable definitions. The worker validates them and copies names, units and cached values when it is started. |
BindingOptions | The capacity limits of the report bindings, or null for no explicit bindings. Supply it together with Bindings. |
Bindings | The report variable bindings, or null for none. Supply it together with BindingOptions. |
Members
GemDataConfiguration
Constructor
Represents the data variables and optional report bindings that a GemEquipmentWorker configures when it starts.
public GemDataConfiguration(GemDataOptions Options, ReadOnlyMemory<GemDataDefinition> Definitions, GemBindingOptions? BindingOptions = null, ReadOnlyMemory<GemReportBinding>? Bindings = null)The worker applies the data variables and then the bindings with GemEquipment.ConfigureDataVariables and GemEquipment.ConfigureReportBindings, before the event report store and the event directory.
Parameters
| Name | Description |
|---|---|
Options | The capacity limits of the data variable store. |
Definitions | The data variable definitions. The worker validates them and copies names, units and cached values when it is started. |
BindingOptions | The capacity limits of the report bindings, or null for no explicit bindings. Supply it together with Bindings. |
Bindings | The report variable bindings, or null for none. Supply it together with BindingOptions. |
BindingOptions
Property
The capacity limits of the report bindings, or null for no explicit bindings. Supply it together with Bindings.
public GemBindingOptions? BindingOptions { get; init; }Bindings
Property
The report variable bindings, or null for none. Supply it together with BindingOptions.
public ReadOnlyMemory<GemReportBinding>? Bindings { get; init; }Definitions
Property
The data variable definitions. The worker validates them and copies names, units and cached values when it is started.
public ReadOnlyMemory<GemDataDefinition> Definitions { get; init; }Options
Property
The capacity limits of the data variable store.
public GemDataOptions Options { get; init; }