Skip to main content

Class: NearestAirportsPageStore

A data store for the nearest airports page.

Constructors

constructor

new NearestAirportsPageStore(eventBus): NearestAirportsPageStore

Constructor.

Parameters

NameTypeDescription
eventBusEventBusThe event bus.

Returns

NearestAirportsPageStore

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageStore.ts:52

Properties

course

Readonly course: ConsumerSubject<number>

The current true ground track of the aircraft.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageStore.ts:37


displayedAirports

Readonly displayedAirports: ArraySubject<NearestAirportData>

An array subject containing data on the airports to be displayed.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageStore.ts:31


fob

Readonly fob: ConsumerSubject<number>

The current fuel on board the aircraft, in gallons.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageStore.ts:46


fuelFlow

Readonly fuelFlow: ConsumerSubject<number>

The current total fuel flow of the aircraft, in gallons per hour.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageStore.ts:43


groundSpeed

Readonly groundSpeed: ConsumerSubject<number>

The current ground speed of the aircraft, in knots.

Defined in

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


ppos

Readonly ppos: ConsumerSubject<LatLongAlt>

The present position of the aircraft.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageStore.ts:34

Methods

destroy

destroy(): void

Destroys this store.

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageStore.ts:60