diff options
Diffstat (limited to 'sdnr/wt/odlux/apps/faultApp/src/models')
-rw-r--r-- | sdnr/wt/odlux/apps/faultApp/src/models/fault.ts | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/sdnr/wt/odlux/apps/faultApp/src/models/fault.ts b/sdnr/wt/odlux/apps/faultApp/src/models/fault.ts index e4e43f19c..2ba8da01d 100644 --- a/sdnr/wt/odlux/apps/faultApp/src/models/fault.ts +++ b/sdnr/wt/odlux/apps/faultApp/src/models/fault.ts @@ -22,21 +22,36 @@ export type Fault = { timestamp: string; objectId: string; problem: string; - severity: null | 'Warning' | 'Minor' | 'Major' | 'Critical'; + severity: null | 'Warning' | 'Minor' | 'Major' | 'Critical' | 'NonAlarmed'; type: string; - sourceType: string; + sourceType?: string; } export type FaultAlarmNotification = { id: string; + timeStamp: string; nodeName: string; counter: number; - timeStamp: string; objectId: string; problem: string; - severity: null | 'Warning' | 'Minor' | 'Major' | 'Critical'; - type: string; - sourceType: string; + severity: string; +} + +export type FaultAlarmNotificationWS = { + "node-id": string; + "data": { + "counter": number; + "time-stamp": string; + "object-id-ref": string; + "problem": string; + "severity": null | 'Warning' | 'Minor' | 'Major' | 'Critical' | 'NonAlarmed'; + }; + "type": { + "namespace": string; + "revision": string; + "type": string; + }; + "event-time": string; } /** |