DirectControlMappingConfiguration
Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform
A direct control→entity mapping that bypasses container matching. The source control is found
among all entities of the node's SourceControlCkTypeId by optional ControlType plus name
(exact DirectControlMappingConfiguration.ControlName or DirectControlMappingConfiguration.ControlNameRegex); the target entity is found
among all entities of DirectControlMappingConfiguration.TargetCkTypeId by DirectControlMappingConfiguration.TargetRtId or
DirectControlMappingConfiguration.TargetName. One suggestion is emitted per DirectControlMappingConfiguration.States entry the control exposes.
public class DirectControlMappingConfiguration
Inheritance Object → DirectControlMappingConfiguration
Properties
Id
Stable id, used in the generated DataPointMapping Name (idempotency) + diagnostics. Required.
public string Id { get; set; }
Property Value
ControlType
Optional exact ControlType filter on the source control (e.g. "Meter", "Wallbox2", "EnergyManager2").
public string ControlType { get; set; }
Property Value
ControlName
Exact source control Name to match (e.g. "Verbrauch EG"). Takes precedence over DirectControlMappingConfiguration.ControlNameRegex.
public string ControlName { get; set; }
Property Value
ControlNameRegex
Optional case-insensitive regex on the source control Name (used when DirectControlMappingConfiguration.ControlName is null).
public string ControlNameRegex { get; set; }
Property Value
TargetCkTypeId
CkTypeId of the target entity (e.g. "EnergyIQ/Meter", "EnergyIQ/GridConnection", "EnergyIQ/BatteryStorage").
public string TargetCkTypeId { get; set; }
Property Value
TargetName
Target entity Name to match. Used when DirectControlMappingConfiguration.TargetRtId is not set.
public string TargetName { get; set; }
Property Value
TargetRtId
Explicit target entity RtId. Takes precedence over DirectControlMappingConfiguration.TargetName.
public string TargetRtId { get; set; }
Property Value
States
State→attribute pairs. One suggestion per entry whose state the control exposes.
public ICollection<DirectStateMapping> States { get; set; }
Property Value
ICollection<DirectStateMapping>
Constructors
DirectControlMappingConfiguration()
public DirectControlMappingConfiguration()