Skip to main content

Class: VnavProfileStore

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:12

A store for vnav profile data.

Constructors​

Constructor​

new VnavProfileStore(bus, store, isAdvancedVnav, vnavDataProvider): VnavProfileStore

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:124

Creates a new vnav profile store.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
storeFlightPlanStoreThe flight plan store to use.
isAdvancedVnavbooleanWhether this is advanced vnav or not.
vnavDataProviderVNavDataProviderThe vnav data provider.

Returns​

VnavProfileStore

Properties​

activeVnavWaypoint​

readonly activeVnavWaypoint: Subscribable<LegDefinition | undefined>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:59

The active VNAV waypoint.


altDesc​

readonly altDesc: Subscribable<AltitudeRestrictionType>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:97


altitude1​

readonly altitude1: Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:98


altitude2​

readonly altitude2: Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:99


cruiseAltitude​

readonly cruiseAltitude: Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:65

The current VNAV cruise altitude.


displayAltitude1AsFlightLevel​

readonly displayAltitude1AsFlightLevel: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:100


displayAltitude2AsFlightLevel​

readonly displayAltitude2AsFlightLevel: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:101


fpa​

readonly fpa: Subscribable<number>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:74

The flight path angle for the active descent path, or NaN if there is no active descent path. Positive values indicate a descending path.


fpaShowClimb​

readonly fpaShowClimb: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:77

Whether the active VNAV waypoint defines a CLIMB constraint.


isAltitudeEdited​

readonly isAltitudeEdited: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:102


isPathEditButtonEnabled​

readonly isPathEditButtonEnabled: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:56

Whether the button(s) to edit the active descent path should be enabled.


isVnavDirectToButtonEnabled​

readonly isVnavDirectToButtonEnabled: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:103


showCruiseAltitude​

readonly showCruiseAltitude: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:62

Whether to show the VNAV cruise altitude in place of the active VNAV waypoint.


timeToLabel​

readonly timeToLabel: Subscribable<string>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:92

The label for the time remaining field.


timeToLabelExtended​

readonly timeToLabelExtended: Subscribable<string>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:95

The label for the time remaining field prefixed by 'Time to '.


timeToValue​

readonly timeToValue: Subscribable<NumberUnitInterface<Duration, Unit<Duration>>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:89

The time remaining to TOD/BOD/TOC/BOC, or NaN if no such value exists.


verticalDeviation​

readonly verticalDeviation: Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:86

The vertical deviation from the active descent path, or NaN if there is no active descent path. Positive values indicate deviation above the path.


verticalSpeedRequired​

readonly verticalSpeedRequired: Subscribable<NumberUnitInterface<Speed, Unit<Speed>>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:80

The vertical speed required to meet the active VNAV restriction, or NaN if there is no such speed.


verticalSpeedTarget​

readonly verticalSpeedTarget: Subscribable<NumberUnitInterface<Speed, Unit<Speed>>>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:68

The vertical speed target for the active descent path, or NaN if there is no active descent path.


vnavEnabled​

readonly vnavEnabled: Subscribable<boolean>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:53

Whether VNAV is enabled.

Methods​

destroy()​

destroy(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:403

Cleans up.

Returns​

void


getVnavDirectToLegs()​

getVnavDirectToLegs(): readonly FlightPlanLegData[]

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:374

Gets the vnav direct to legs.

Returns​

readonly FlightPlanLegData[]

the vnav direct to legs.


pause()​

pause(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:159

Pauses the store's subscriptions.

Returns​

void


resume()​

resume(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:141

Resumes the store's subscriptions.

Returns​

void


update()​

update(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Vnav/VnavProfileStore.ts:177

Updates the store's values.

Returns​

void