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

Type.Message, Type.Alarm

Ensures that instances of this interface have always set the type Message or Alarm.

severity

Severity

The severity of the event

sourceDomain

string

The domain of the event. For compatibility with 1.10, it continues to be delivered in parallel with domain.

text

string

The localized text of the event

timeRaised

Date

The time at which the event was triggered

params

Dictionary

Parameters set by the trigger of the event

MessageOrAlarm 1:

Available from version 1.12