summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/faultApp/src/models/fault.ts
blob: ecd0c9993e59ce6fa41b84bd7a622ff6c36972e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export type FaultType = {
  nodeName: string;
  counter: string;
  timeStamp: string;
  objectId: string;
  problem: string;
  severity: null | 'Warning' | 'Minor' | 'Major' | 'Critical' ;
  type: string;
}
export type FaultResult = { faultCurrent: FaultType };

export type FaultLog = { fault: FaultType };

export type Fault = FaultType & { _id: string };