Skip to main content

Class: Message

Message for the message system.

Hierarchy

Constructors

constructor

new Message(content, level, weight, target, id): Message

Constructs a new instance of Message

Parameters

NameTypeDescription
contentstringThe message text
levelMESSAGE_LEVELThe MessageLevel of this message
weightnumberThe message weight (priority)
targetMESSAGE_TARGETThe message target display
idFMS_MESSAGE_IDThe message ID

Returns

Message

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/Message.ts:19

Properties

content

Readonly content: string

The text content of this message.

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/Message.ts:21


id

Readonly id: FMS_MESSAGE_ID

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/Message.ts:29


isNew

isNew: boolean = true

Default to true, becomes false once viewed on the messages FMC page.

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/Message.ts:7


level

Readonly level: MESSAGE_LEVEL

The MESSAGE_LEVEL of severity of the message.

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/Message.ts:23


target

Readonly target: MESSAGE_TARGET

The message target display.

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/Message.ts:27


timestamp

Readonly timestamp: number

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/Message.ts:9


weight

Readonly weight: number

The message weight (priority).

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/Message.ts:25