Skip to main content

BuildMappingTargetsNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform

Configuration for the BuildMappingTargets node. Resolves all active DataPointMappings and extracts external identifiers from their source entities. Produces a list of mapping targets that an external adapter can use to acquire data (e.g. poll, subscribe, read).

Each target is either:

  • A plain identifier string (when sourceAttributePath is empty or matches default)
  • A pipe-separated triple "identifier|stateName|stateId" (when the source entity has sub-states and sourceAttributePath references a specific state)

Works generically for Loxone, MQTT, OPC-UA, or any adapter that uses DataPointMapping.

public record BuildMappingTargetsNodeConfiguration : TargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<BuildMappingTargetsNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → BuildMappingTargetsNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<BuildMappingTargetsNodeConfiguration>

Properties

SourceCkTypeId

CkTypeId of the source entities that DataPointMappings map from (e.g. "Loxone/Control", "MQTT/Topic", "OpcUa/Node").

public string SourceCkTypeId { get; set; }

Property Value

String

SourceIdentifierAttribute

Attribute name on the source entity that holds the external identifier (e.g. "LoxoneUuid", "TopicPath", "NodeId").

public string SourceIdentifierAttribute { get; set; }

Property Value

String

StatesAttribute

Optional: Attribute name (RecordArray) on the source entity holding sub-states. When set, the node looks up sourceAttributePath in this record array. If not set, only plain identifiers are produced.

public string StatesAttribute { get; set; }

Property Value

String

StateKeyAttribute

Attribute name within each state record that holds the state name/key (e.g. "StateName", "PropertyName"). Required when StatesAttribute is set.

public string StateKeyAttribute { get; set; }

Property Value

String

StateValueAttribute

Attribute name within each state record that holds the state identifier/UUID (e.g. "StateUuid", "PropertyNodeId"). Required when StatesAttribute is set.

public string StateValueAttribute { get; set; }

Property Value

String

DefaultAttributePath

The default attribute path name that maps to the source entity's main value (e.g. "currentValue"). When sourceAttributePath equals this, a plain identifier is produced instead of a state-specific triple.

public string DefaultAttributePath { get; set; }

Property Value

String

TargetPath

public string TargetPath { get; set; }

Property Value

String

TargetValueWriteMode

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value

TargetValueWriteModes

TargetValueKind

public ValueKinds TargetValueKind { get; set; }

Property Value

ValueKinds

DocumentMode

public DocumentModes DocumentMode { get; set; }

Property Value

DocumentModes

Description

public string Description { get; set; }

Property Value

String

Constructors

BuildMappingTargetsNodeConfiguration()

Caution

Constructors of types with required members are not supported in this version of your compiler.


public BuildMappingTargetsNodeConfiguration()