Working on audit

This commit is contained in:
Martino Ferrari
2026-06-19 09:44:57 +02:00
parent 914108e575
commit 8f6dbcba49
11 changed files with 122 additions and 17 deletions
+3
View File
@@ -9,6 +9,9 @@ export interface SignalValue {
value: any;
quality: 'good' | 'uncertain' | 'bad' | 'unknown';
ts: string | null;
// Raw EPICS alarm fields (absent/0 = NO_ALARM). severity: 1=MINOR,2=MAJOR,3=INVALID.
severity?: number;
status?: number;
}
// Metadata for a signal (received once on subscribe)
+2
View File
@@ -130,6 +130,8 @@ class WsClient {
value: msg.value,
quality: msg.quality ?? 'unknown',
ts: msg.ts ?? null,
severity: msg.severity ?? 0,
status: msg.status ?? 0,
};
for (const s of subs) s.onUpdate(val);
break;