Skip to main content

Class: PfdMessageReceiver

Defined in: workingtitle-instruments-wt21/shared/MessageSystem/PfdMessageReceiver.ts:17

WT21_PFD_MessageReceiver

Implements​

Constructors​

Constructor​

new PfdMessageReceiver(bus): PfdMessageReceiver

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

Parameters​

ParameterType
busEventBus

Returns​

PfdMessageReceiver

Methods​

clear()​

clear(id): void

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

Clears a message

Parameters​

ParameterTypeDescription
idFMS_MESSAGE_IDThe message identifier

Returns​

void

Implementation of​

IMessageReceiver.clear


process()​

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

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

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

Parameters​

ParameterTypeDescription
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


update()​

update(): void

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

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

Returns​

void