ControlMappingRuleMap
Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform
What a rule emits when it matches.
public class ControlMappingRuleMap
Inheritance Object → ControlMappingRuleMap
Properties
TargetAttribute
Target attribute path on the target entity (e.g. "Temperature", "CO2Level").
public string TargetAttribute { get; set; }
Property Value
Expression
Optional mXparser expression applied to the value at mapping evaluation time (e.g. "value / 100"). Empty string ⇒ no transformation.
public string Expression { get; set; }
Property Value
ChildTargetCkTypeId
Optional: navigate from the matched container target to a child entity of this CkTypeId before emitting the suggestion. Used in v2-style models where the actual mapping target is a child of the matched container (e.g. a Loxone/Room matches an EnergyIQ/Space, but the temperature reading must target an EnergyIQ/TemperatureSensor associated with that Space).
When set, the node finds the first child entity of type
ChildTargetCkTypeId reachable from the matched target via the
ControlMappingRuleMap.ChildTargetAssociationRoleId role (inbound direction). If no
matching child exists, the rule produces no suggestion.
When null, the matched container target is used directly (v1 behaviour — back compat with rules that target attributes on the container itself).
public string ChildTargetCkTypeId { get; set; }
Property Value
ChildTargetAssociationRoleId
Optional: association role used to resolve the child target. Defaults to the
node's GenerateDataPointMappingsNodeConfiguration.HierarchyAssociationRoleId
when null. Typically a v2 inverse role such as EnergyIQ/SpaceSensors,
EnergyIQ/SpaceActuators, or EnergyIQ/SpaceTerminals.
public string ChildTargetAssociationRoleId { get; set; }
Property Value
Constructors
ControlMappingRuleMap()
public ControlMappingRuleMap()