Struct AlarmEventConfig

Struct Documentation

struct AlarmEventConfig

Configuration for a native OPC-UA AlarmConditionType event subscription (issue #386). The plugin subscribes to events emitted from alarm_source and bridges them through AlarmStateMachine into SOVD faults. Mutually exclusive with the threshold-based AlarmConfig on a single NodeMapEntry.

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, AlarmStateMachine derives the SOVD severity bucket from the event’s Severity (1-1000) per the convention documented in design/index.rst.

std::string message_override

Optional friendly message override; falls back to the event’s Message field when empty.