Struct AlarmEventConfig
Defined in File node_map.hpp
Struct Documentation
-
struct AlarmEventConfig
Configuration for a native OPC-UA AlarmConditionType event subscription (issue #386). The plugin subscribes to events emitted from
alarm_sourceand bridges them throughAlarmStateMachineinto SOVD faults. Mutually exclusive with the threshold-basedAlarmConfigon a singleNodeMapEntry.Public Members
-
std::string source_node_id_str
OPC-UA NodeId of the source node emitting the AlarmConditionType events (typically the parent Object that owns the condition, e.g. “ns=2;s=Tank.Pressure” or the Server object for system-wide alarms).
-
opcua::NodeId source_node_id
-
std::string entity_id
SOVD entity that should host the resulting fault.
-
std::string fault_code
SOVD fault code (e.g.
PLC_OVERPRESSURE).
-
std::string severity_override
Optional severity override. When empty,
AlarmStateMachinederives the SOVD severity bucket from the event’sSeverity(1-1000) per the convention documented in design/index.rst.
-
std::string message_override
Optional friendly message override; falls back to the event’s
Messagefield when empty.
-
std::string source_node_id_str