Skip to main content

Class: PfdMessageReceiver

WT21_PFD_MessageReceiver

Implements

Constructors

constructor

new PfdMessageReceiver(bus): PfdMessageReceiver

Parameters

NameType
busEventBus

Returns

PfdMessageReceiver

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/PfdMessageReceiver.ts:22

Methods

clear

clear(id): void

Clears a message

Parameters

NameTypeDescription
idFMS_MESSAGE_IDThe message identifier

Returns

void

Implementation of

IMessageReceiver.clear

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/PfdMessageReceiver.ts:49


process

process(id, text, level, weight, target, blinkHandler?): void

Processes the message and makes it available to the appropriate target display

Parameters

NameTypeDescription
idFMS_MESSAGE_IDThe message identifier
textstringThe message content
levelMESSAGE_LEVELThe message severity level
weightnumberThe message priority weight
targetMESSAGE_TARGETThe message target display
blinkHandler() => booleanA function returning a boolean indicating if the message should blink

Returns

void

Implementation of

IMessageReceiver.process

Defined in

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


update

update(): void

Update function called by the FMS to update and send messages to the pfd

Returns

void

Defined in

workingtitle-instruments-wt21/shared/MessageSystem/PfdMessageReceiver.ts:59