Class: PfdMessageReceiver
WT21_PFD_MessageReceiver
Implements
Constructors
constructor
• new PfdMessageReceiver(bus
): PfdMessageReceiver
Parameters
Name | Type |
---|---|
bus | EventBus |
Returns
Defined in
workingtitle-instruments-wt21/shared/MessageSystem/PfdMessageReceiver.ts:22
Methods
clear
▸ clear(id
): void
Clears a message
Parameters
Name | Type | Description |
---|---|---|
id | FMS_MESSAGE_ID | The message identifier |
Returns
void
Implementation of
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
Name | 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
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