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
Parameter | Type |
---|---|
bus | EventBus |
Returns
PfdMessageReceiver
Methods
clear()
clear(
id
):void
Defined in: workingtitle-instruments-wt21/shared/MessageSystem/PfdMessageReceiver.ts:49
Clears a message
Parameters
Parameter | Type | Description |
---|---|---|
id | FMS_MESSAGE_ID | The message identifier |
Returns
void
Implementation of
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
Parameter | Type | Description |
---|---|---|
id | FMS_MESSAGE_ID | The message identifier |
text | string | The message content |
level | MESSAGE_LEVEL | The message severity level |
weight | number | The message priority weight |
target | MESSAGE_TARGET | The message target display |
blinkHandler | () => boolean | A function returning a boolean indicating if the message should blink |
Returns
void
Implementation of
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