MessageOrAlarm
[ Interface ]
interface MessageOrAlarm<T extends Dictionary<any> = Dictionary<any>> extends EventBase {
type: Type.Message | Type.Alarm;
severity: Severity;
sourceDomain: string;
text: string;
timeRaised: Date;
params: T;
}
This interface extends EventBase.
Properties
Name | Type | Description |
---|---|---|
type | Ensures that instances of this interface have always set the type Message or Alarm. | |
severity | The severity of the event | |
sourceDomain | The domain of the event. For compatibility with 1.10, it continues to be delivered in parallel with domain. | |
text | The localized text of the event | |
timeRaised | The time at which the event was triggered | |
params | Parameters set by the trigger of the event |
Available from version 1.12 |