Skip to main content

Class: WT21_MFD_Instrument

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:38

The WT21 MFD Instrument

Extends​

Constructors​

Constructor​

new WT21_MFD_Instrument(instrument, config, instrumentConfig): WT21_MFD_Instrument

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:84

Creates an instance of the WT21_MFD.

Parameters​

ParameterTypeDescription
instrumentBaseInstrumentThe base instrument.
configAvionicsConfigThe avionics configuration object for the WT21 instrument suite.
instrumentConfigInstrumentConfigThe configuration object for this specific instrument

Returns​

WT21_MFD_Instrument

Overrides​

WT21DisplayUnitFsInstrument.constructor

Properties​

adcPublisher​

protected readonly adcPublisher: AdcPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:69

Inherited from​

WT21DisplayUnitFsInstrument.adcPublisher


adcSystemSelector​

protected readonly adcSystemSelector: AdcSystemSelector

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:100

Inherited from​

WT21DisplayUnitFsInstrument.adcSystemSelector


ahrsPublisher​

protected readonly ahrsPublisher: AhrsPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:70

Inherited from​

WT21DisplayUnitFsInstrument.ahrsPublisher


ahrsSystemSelector​

protected readonly ahrsSystemSelector: AhrsSystemSelector

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:99

Inherited from​

WT21DisplayUnitFsInstrument.ahrsSystemSelector


apInstrument​

protected readonly apInstrument: AutopilotInstrument

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:96

Inherited from​

WT21DisplayUnitFsInstrument.apInstrument


avionicsSystems​

protected readonly avionicsSystems: BasicAvionicsSystem<any>[] = []

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:98

Inherited from​

WT21DisplayUnitFsInstrument.avionicsSystems


backplane​

protected readonly backplane: InstrumentBackplane

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:37

Inherited from​

WT21DisplayUnitFsInstrument.backplane


baseInstrumentPublisher​

protected readonly baseInstrumentPublisher: BaseInstrumentPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:67

Inherited from​

WT21DisplayUnitFsInstrument.baseInstrumentPublisher


bus​

protected readonly bus: EventBus

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:36

Inherited from​

WT21DisplayUnitFsInstrument.bus


calculator​

protected readonly calculator: FlightPathCalculator

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:43

Inherited from​

WT21DisplayUnitFsInstrument.calculator


clock​

protected readonly clock: Clock

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:64

Inherited from​

WT21DisplayUnitFsInstrument.clock


config​

protected readonly config: AvionicsConfig

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:86

The avionics configuration object for the WT21 instrument suite.

Inherited from​

WT21DisplayUnitFsInstrument.config


courseNeedleIndicator​

protected readonly courseNeedleIndicator: WT21CourseNeedleNavIndicator

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:86

Inherited from​

WT21DisplayUnitFsInstrument.courseNeedleIndicator


electricalPublisher​

protected readonly electricalPublisher: ElectricalPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:71

Inherited from​

WT21DisplayUnitFsInstrument.electricalPublisher


facLoader​

protected readonly facLoader: FacilityLoader

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:40

Inherited from​

WT21DisplayUnitFsInstrument.facLoader


facRepo​

protected readonly facRepo: FacilityRepository

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:39

Inherited from​

WT21DisplayUnitFsInstrument.facRepo


fixInfoManager​

protected readonly fixInfoManager: WT21FixInfoManager

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:61

Inherited from​

WT21DisplayUnitFsInstrument.fixInfoManager


fmcSimVarPublisher​

protected readonly fmcSimVarPublisher: FmcSimVarPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:73

Inherited from​

WT21DisplayUnitFsInstrument.fmcSimVarPublisher


gnssPublisher​

protected readonly gnssPublisher: GNSSPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:72

Inherited from​

WT21DisplayUnitFsInstrument.gnssPublisher


hEventPublisher​

protected readonly hEventPublisher: HEventPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:68

Inherited from​

WT21DisplayUnitFsInstrument.hEventPublisher


instrument​

readonly instrument: BaseInstrument

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:85

The base instrument.

Inherited from​

WT21DisplayUnitFsInstrument.instrument


instrumentConfig​

protected readonly instrumentConfig: InstrumentConfig

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:87

The configuration object for this specific instrument

Inherited from​

WT21DisplayUnitFsInstrument.instrumentConfig


minimumsPublisher​

protected readonly minimumsPublisher: MinimumsSimVarPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:74

Inherited from​

WT21DisplayUnitFsInstrument.minimumsPublisher


protected readonly navComSimVarPublisher: NavComSimVarPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:93

Inherited from​

WT21DisplayUnitFsInstrument.navComSimVarPublisher


protected readonly navIndicators: WT21NavIndicators

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:87

Inherited from​

WT21DisplayUnitFsInstrument.navIndicators


protected readonly navSources: NavSources<readonly ["NAV1", "NAV2", "ADF", "FMS1", "FMS2"]>

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:79

Inherited from​

WT21DisplayUnitFsInstrument.navSources


perfPlanRepository​

protected readonly perfPlanRepository: PerformancePlanRepository

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:60

Inherited from​

WT21DisplayUnitFsInstrument.perfPlanRepository


planner​

protected readonly planner: FlightPlanner<"">

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

Inherited from​

WT21DisplayUnitFsInstrument.planner


tcas​

protected readonly tcas: WT21TCAS

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:65

Inherited from​

WT21DisplayUnitFsInstrument.tcas


trafficInstrument​

protected readonly trafficInstrument: TrafficInstrument

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:63

Inherited from​

WT21DisplayUnitFsInstrument.trafficInstrument


vnavSimVarPublisher​

protected readonly vnavSimVarPublisher: VNavSimVarPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:94

Inherited from​

WT21DisplayUnitFsInstrument.vnavSimVarPublisher


wt21ControlPublisher​

protected readonly wt21ControlPublisher: WT21ControlPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:76

Inherited from​

WT21DisplayUnitFsInstrument.wt21ControlPublisher


wt21ControlVarPublisher​

protected readonly wt21ControlVarPublisher: WT21ControlSimVarPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:77

Inherited from​

WT21DisplayUnitFsInstrument.wt21ControlVarPublisher


xpdrSimVarPublisher​

protected readonly xpdrSimVarPublisher: XPDRSimVarPublisher

Defined in: workingtitle-instruments-wt21/shared/WT21DisplayUnitFsInstrument.ts:75

Inherited from​

WT21DisplayUnitFsInstrument.xpdrSimVarPublisher

Methods​

doInit()​

protected doInit(): Promise<void>

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:119

Initialises the instrument

Returns​

Promise<void>

Overrides​

WT21DisplayUnitFsInstrument.doInit


onFlightStart()​

onFlightStart(): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:282

Returns​

void

Inherit Doc​

Overrides​

WT21DisplayUnitFsInstrument.onFlightStart


onGameStateChanged()​

onGameStateChanged(oldState, newState): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:288

Parameters​

ParameterType
oldStateGameState
newStateGameState

Returns​

void

Inherit Doc​

Overrides​

WT21DisplayUnitFsInstrument.onGameStateChanged


onInGame()​

protected onInGame(): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:317

Callback for when the game state transitions to either briefing or in-game. This can be used as a "last chance" hook to initialize things that need to wait until a plane has loaded and everything is in a stable state.

Returns​

void


onInteractionEvent()​

onInteractionEvent(args): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:335

A callback called when the instrument received a H event.

Parameters​

ParameterTypeDescription
argsstring[]The H event and associated arguments, if any.

Returns​

void

Overrides​

WT21DisplayUnitFsInstrument.onInteractionEvent


onSoundEnd()​

onSoundEnd(soundEventId): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:356

A callback for when sounds are done playing. This is needed to support the sound server.

Parameters​

ParameterTypeDescription
soundEventIdName_ZThe sound that got played.

Returns​

void

Overrides​

WT21DisplayUnitFsInstrument.onSoundEnd


Update()​

Update(): void

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/MFD/WT21_MFD_Instrument.tsx:324

A callback called when the instrument gets a frame update.

Returns​

void

Overrides​

WT21DisplayUnitFsInstrument.Update