feat(communication): extend AlarmStateUpdate proto with native alarm fields (regenerated)

This commit is contained in:
Joseph Doherty
2026-05-31 02:10:12 -04:00
parent bca21ffb95
commit 20b41b8965
2 changed files with 625 additions and 52 deletions
@@ -66,6 +66,23 @@ message AlarmStateUpdate {
google.protobuf.Timestamp timestamp = 5;
AlarmLevelEnum level = 6; // ALARM_LEVEL_NONE for binary trigger types; set by HiLo.
string message = 7; // Optional per-band operator message; empty when unset.
// Native alarm enrichment (additive — computed alarms leave these at defaults).
// kind: "Computed" | "NativeOpcUa" | "NativeMxAccess".
string kind = 8;
bool active = 9; // unified condition: active vs inactive
bool acknowledged = 10; // acked vs unacked
bool confirmed = 11; // confirmed (false when not confirmable)
string shelve_state = 12; // Unshelved | OneShotShelved | TimedShelved | PermanentShelved
bool suppressed = 13;
string source_reference = 14; // native per-condition key; empty for computed
string alarm_type_name = 15;
string category = 16;
string operator_user = 17;
string operator_comment = 18;
google.protobuf.Timestamp original_raise_time = 19; // null when unknown
string current_value = 20;
string limit_value = 21;
}
// Audit Log (#23) telemetry: single lifecycle event ferried from a site SQLite