Class: FmcMessageReceiver
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Data/FmcMessageReceiver.ts:16
The receiver for messages shown in the FMC
Implements
Constructors
Constructor
new FmcMessageReceiver(
bus
):FmcMessageReceiver
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Data/FmcMessageReceiver.ts:22
Parameters
Parameter | Type |
---|---|
bus | EventBus |
Returns
FmcMessageReceiver
Properties
instance
static
instance:FmcMessageReceiver
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Data/FmcMessageReceiver.ts:17
Methods
clear()
clear(
id
):void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Data/FmcMessageReceiver.ts:37
Clears a message
Parameters
Parameter | Type | Description |
---|---|---|
id | WTLineLegacyMessageIDs | The message identifier |
Returns
void
Implementation of
process()
process(
id
,text
,level
,weight
,target
):void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Data/FmcMessageReceiver.ts:28
Processes the message and makes it available to the appropriate target display
Parameters
Parameter | Type | Description |
---|---|---|
id | WTLineLegacyMessageIDs | 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 |
Returns
void