Skip to main content

Class: PfdMessage

Defined in: workingtitle-instruments-wt21/shared/MessageSystem/PfdMessage.ts:5

WT21_PFD_Message

Extends​

Constructors​

Constructor​

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

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

Constructs a new instance of Message

Parameters​

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

Returns​

PfdMessage

Inherited from​

Message.constructor

Properties​

blinkCheckHandler()​

blinkCheckHandler: () => boolean

Defined in: workingtitle-instruments-wt21/shared/MessageSystem/PfdMessage.ts:6

Returns​

boolean


content​

readonly content: string

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

The text content of this message.

Inherited from​

Message.content


id​

readonly id: WTLineLegacyMessageIDs

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

Returns​

Gets the ID of the message definition

Inherited from​

Message.id


isNew​

isNew: boolean = true

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

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

Inherited from​

Message.isNew


level​

readonly level: MESSAGE_LEVEL

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

The MESSAGE_LEVEL of severity of the message.

Inherited from​

Message.level


presentationInfo​

presentationInfo: PfdMessagePresentationInfo

Defined in: workingtitle-instruments-wt21/shared/MessageSystem/PfdMessage.ts:7


target​

readonly target: MESSAGE_TARGET

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

The message target display.

Inherited from​

Message.target


timestamp​

readonly timestamp: number

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

Returns​

Gets the unix timestamp for when the message was created

Inherited from​

Message.timestamp


weight​

readonly weight: number

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

The message weight (priority).

Inherited from​

Message.weight