Skip to main content

Class: NearestAirportsPageStore

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/NearestAirportsPageStore.ts:29

A data store for the nearest airports page.

Constructors

Constructor

new NearestAirportsPageStore(eventBus): NearestAirportsPageStore

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

Constructor.

Parameters

ParameterTypeDescription
eventBusEventBusThe event bus.

Returns

NearestAirportsPageStore

Properties

course

readonly course: ConsumerSubject<number>

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

The current true ground track of the aircraft.


displayedAirports

readonly displayedAirports: ArraySubject<NearestAirportData>

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

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


fob

readonly fob: ConsumerSubject<number>

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

The current fuel on board the aircraft, in gallons.


fuelFlow

readonly fuelFlow: ConsumerSubject<number>

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

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


groundSpeed

readonly groundSpeed: ConsumerSubject<number>

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

The current ground speed of the aircraft, in knots.


ppos

readonly ppos: ConsumerSubject<LatLongAlt>

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

The present position of the aircraft.

Methods

destroy()

destroy(): void

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

Destroys this store.

Returns

void