Skip to main content

Class: FmcMsgInfo

The receiver for messages shown in the FMC

Constructors

constructor

new FmcMsgInfo(bus, fmcMsgLine): FmcMsgInfo

Parameters

NameType
busEventBus
fmcMsgLineFmcMsgLine

Returns

FmcMsgInfo

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Data/FmcMsgInfo.ts:16

Properties

isOnMessagesPage

isOnMessagesPage: boolean = false

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Data/FmcMsgInfo.ts:13


onActiveMsgsUpdated

onActiveMsgsUpdated: Set<() => void>

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Data/FmcMsgInfo.ts:11


instance

Static instance: FmcMsgInfo

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Data/FmcMsgInfo.ts:10

Methods

getActiveMsgs

getActiveMsgs(): readonly Message[]

Gets the active messages.

Returns

readonly Message[]

Returns a readonly array of active messages

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Data/FmcMsgInfo.ts:40


updateMsgLine

updateMsgLine(): void

Updates what message is displayed on the bottom left of the FMC.

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Data/FmcMsgInfo.ts:32