Alarm
[ Interface ]
Version 1.10
export interface Alarm extends Event {
type: Type.Alarm;
id: number | string;
timeCleared: Date;
timeConfirmed: Date;
confirmationState: ConfirmationState;
}
This interface extends Event.
Version 1.12
export interface Alarm<T extends Dictionary<any> = Dictionary<any>> extends MessageOrAlarm<T> {
type: Type.Alarm;
id: number;
timeCleared: Date | null;
timeConfirmed: Date | null;
alarmState: AlarmState;
confirmationState: ConfirmationState;
}
This interface extends MessageOrAlarm.
Properties
Name | Type | Description |
---|---|---|
type | Type.Alarm | Ensures that instances of this interface have always set the type Alarm. |
id | A unique value with which this alarm can be identified | |
timeCleared | The time at which the alarm was confirmed by the trigger as no longer acute | |
timeConfirmed | The time at which the alarm was acknowledged by the user | |
confirmationState | The current confirmation status | |
alarmState |
|
Available from version 1.10 |