Skip to content
Start free evaluation

PDComm.GemDataConfiguration

Class

Represents the data variables and optional report bindings that a GemEquipmentWorker configures when it starts.

public sealed record GemDataConfiguration

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

NameDescription
OptionsThe capacity limits of the data variable store.
DefinitionsThe data variable definitions. The worker validates them and copies names, units and cached values when it is started.
BindingOptionsThe capacity limits of the report bindings, or null for no explicit bindings. Supply it together with Bindings.
BindingsThe 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

NameDescription
OptionsThe capacity limits of the data variable store.
DefinitionsThe data variable definitions. The worker validates them and copies names, units and cached values when it is started.
BindingOptionsThe capacity limits of the report bindings, or null for no explicit bindings. Supply it together with Bindings.
BindingsThe 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; }