Skip to main content

Class: FlightPlanStore

Listens for flight plan events, and stores data as subjects to be used by the gtc flight plan page.

Constructors

constructor

new FlightPlanStore(bus, fms, planIndex, isAdvancedVnav): FlightPlanStore

Creates a new FlightPlanStore.

Parameters

NameTypeDescription
busEventBusThe EventBus.
fmsFms<"">The Fms.
planIndexnumberWhich flight plan index to listen to.
isAdvancedVnavbooleanWhether to use advanced VNAV or not.

Returns

FlightPlanStore

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:306

Properties

activeLeg

Readonly activeLeg: Subscribable<undefined | LegDefinition>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:207


activeLegDistance

Readonly activeLegDistance: Subscribable<NumberUnitInterface<Distance, SimpleUnit<Distance>>>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:205


activeLegDtkMag

Readonly activeLegDtkMag: Subscribable<NumberUnitInterface<"navangle", NavAngleUnit>>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:201


activeLegDtkTrue

Readonly activeLegDtkTrue: Subscribable<NumberUnitInterface<"navangle", NavAngleUnit>>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:203


activeLegGlobalIndex

Readonly activeLegGlobalIndex: Subscribable<undefined | number>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:199


activeLegListData

Readonly activeLegListData: Subscribable<undefined | FlightPlanLegData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:209


activeLegSegmentIndex

Readonly activeLegSegmentIndex: Subscribable<undefined | number>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:211


activePlanIndex

Readonly activePlanIndex: Subscribable<undefined | number>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:42


addEnrouteWaypointButtonIsVisible

Readonly addEnrouteWaypointButtonIsVisible: Subject<boolean>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:195


approachForDisplay

Readonly approachForDisplay: Subscribable<undefined | ApproachProcedure>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:175


approachIndex

Readonly approachIndex: Subscribable<number>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:177


approachName

Readonly approachName: MappedSubscribable<undefined | string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:178


approachProcedure

Readonly approachProcedure: Subscribable<undefined | ApproachProcedure>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:162


approachSegmentData

Readonly approachSegmentData: Subscribable<undefined | FlightPlanSegmentData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:189


approachStringPrefix

Readonly approachStringPrefix: MappedSubscribable<"VTF Apr – " | "Approach – ">

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:183


approachTransition

Readonly approachTransition: Subscribable<undefined | ApproachTransition>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:180


approachTransitionIndex

Readonly approachTransitionIndex: Subscribable<number>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:182


arrivalFacility

Readonly arrivalFacility: Subscribable<undefined | AirportFacility>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:140


arrivalFacilityIcao

Readonly arrivalFacilityIcao: Subscribable<undefined | string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:138


arrivalIndex

Readonly arrivalIndex: Subscribable<number>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:126


arrivalProcedure

Readonly arrivalProcedure: Subscribable<undefined | Procedure>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:128


arrivalRunway

Readonly arrivalRunway: Subscribable<undefined | OneWayRunway>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:136


arrivalRunwayTransition

Readonly arrivalRunwayTransition: Subscribable<undefined | RunwayTransition>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:134


arrivalRunwayTransitionIndex

Readonly arrivalRunwayTransitionIndex: Subscribable<number>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:142


arrivalSegmentData

Readonly arrivalSegmentData: Subscribable<undefined | FlightPlanSegmentData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:152


arrivalString

Readonly arrivalString: MappedSubject<[undefined | AirportFacility, undefined | Procedure, number, undefined | OneWayRunway], string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:143


arrivalStringFull

Readonly arrivalStringFull: MappedSubscribable<string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:150


arrivalTransition

Readonly arrivalTransition: Subscribable<undefined | EnrouteTransition>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:130


arrivalTransitionIndex

Readonly arrivalTransitionIndex: Subscribable<number>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:132


beforeFlightPlanLoaded

Readonly beforeFlightPlanLoaded: SubEvent<void, FlightPlan>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:284


bus

Readonly bus: EventBus

The EventBus.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:307


departureProcedure

Readonly departureProcedure: Subscribable<undefined | Procedure>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:63


departureRunwayTransitionIndex

Readonly departureRunwayTransitionIndex: Subscribable<number>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:70


departureSegmentData

Readonly departureSegmentData: Subscribable<undefined | FlightPlanSegmentData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:104


departureString

Readonly departureString: MappedSubject<[undefined | AirportFacility, undefined | Procedure, number, undefined | OneWayRunway], string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:71


departureText1

Readonly departureText1: MappedSubject<[undefined | string, undefined | Procedure, undefined | string], string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:78


departureText2

Readonly departureText2: MappedSubject<[undefined | string, undefined | Procedure, undefined | string, string], string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:89


departureTextOneLine

Readonly departureTextOneLine: MappedSubject<[string, string], string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:100


departureTransition

Readonly departureTransition: Subscribable<undefined | EnrouteTransition>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:65


departureTransitionIndex

Readonly departureTransitionIndex: Subscribable<number>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:68


departureTransitionName

Readonly departureTransitionName: MappedSubscribable<undefined | string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:66


destinationFacility

Readonly destinationFacility: Subscribable<undefined | AirportFacility>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:110


destinationIdent

Readonly destinationIdent: Subscribable<undefined | string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:108


destinationRunway

Readonly destinationRunway: Subscribable<undefined | OneWayRunway>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:112


destinationRunwayName

Readonly destinationRunwayName: MappedSubscribable<undefined | string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:113


destinationString

Readonly destinationString: MappedSubject<[undefined | string, undefined | string], string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:114


directToData

Readonly directToData: Subscribable<DirectToData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:215


directToExistingLeg

Readonly directToExistingLeg: MappedSubject<[DirectToData, DirectToState], undefined | null | LegDefinition>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:230


directToRandomHoldLegData

Readonly directToRandomHoldLegData: Subscribable<undefined | FlightPlanLegData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:226


directToRandomHoldLegListData

Readonly directToRandomHoldLegListData: MappedSubscribable<undefined | FlightPlanLegListData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:227


directToRandomLegData

Readonly directToRandomLegData: Subscribable<undefined | FlightPlanLegData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:221


directToRandomLegListData

Readonly directToRandomLegListData: MappedSubscribable<undefined | FlightPlanLegListData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:222


directToState

Readonly directToState: MappedSubject<[undefined | number, DirectToData, undefined | LegDefinition], DirectToState>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:216


flightPlanLegsChanged

Readonly flightPlanLegsChanged: ReadonlySubEvent<void, FlightPlan>

An event which fires when legs are added to or removed from this store's flight plan.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:50


flightPlanName

Readonly flightPlanName: Subscribable<undefined | string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:45


fms

Readonly fms: Fms<"">

The Fms.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:308


fromLeg

Readonly fromLeg: Subscribable<undefined | LegDefinition>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:250


fromLegSegment

Readonly fromLegSegment: MappedSubscribable<undefined | null | FlightPlanSegment>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:251


isAdvancedVnav

Readonly isAdvancedVnav: boolean

Whether to use advanced VNAV or not.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:310


isApproachLoaded

Readonly isApproachLoaded: Subscribable<boolean>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:160


isDirectToExistingActive

Readonly isDirectToExistingActive: MappedSubscribable<boolean>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:218


isDirectToRandomActive

Readonly isDirectToRandomActive: MappedSubscribable<boolean>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:217


isDirectToRandomActiveWithHold

Readonly isDirectToRandomActiveWithHold: MappedSubject<[boolean, undefined | FlightPlanLegListData, undefined | FlightPlanLegListData], false | "with-hold" | "no-hold">

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:235


isDirectToRandomHoldLegActive

Readonly isDirectToRandomHoldLegActive: Subscribable<boolean>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:246


isThereAtLeastOneLeg

Readonly isThereAtLeastOneLeg: Subscribable<boolean>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:193


legAdded

Readonly legAdded: SubEvent<void, [FlightPlanLegData, number, number]>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:289


legMap

Readonly legMap: ReadonlyMap<LegDefinition, FlightPlanLegData>

Unordered map of leg definitions to leg list data items. Legs are added/removed to/from this map to match the flight plan.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:37


legRemoved

Readonly legRemoved: SubEvent<void, FlightPlanLegData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:290


originFacility

Readonly originFacility: Subscribable<undefined | AirportFacility>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:56


originIdent

Readonly originIdent: Subscribable<undefined | string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:54


originRunway

Readonly originRunway: Subscribable<undefined | OneWayRunway>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:58


originRunwayName

Readonly originRunwayName: MappedSubscribable<undefined | string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:59


planIndex

Readonly planIndex: number

Which flight plan index to listen to.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:309


segmentAdded

Readonly segmentAdded: SubEvent<void, FlightPlanSegmentData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:285


segmentChanged

Readonly segmentChanged: SubEvent<void, [FlightPlanSegmentData, number]>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:288


segmentInserted

Readonly segmentInserted: SubEvent<void, FlightPlanSegmentData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:286


segmentMap

Readonly segmentMap: ReadonlyMap<FlightPlanSegment, FlightPlanSegmentData>

Unordered map of FlightPlanSegments to segment list data items. Segments are added/removed to/from this map to match the flight plan.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:32


segmentRemoved

Readonly segmentRemoved: SubEvent<void, [FlightPlanSegmentData, number]>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:287


skipCourseReversal

Readonly skipCourseReversal: Subscribable<undefined | boolean>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:158


toLeg

Readonly toLeg: MappedSubject<[undefined | LegDefinition, undefined | null | LegDefinition, boolean], undefined | FlightPlanLegData>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:259


toLegSegment

Readonly toLegSegment: MappedSubscribable<undefined | FlightPlanSegment>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:275


visualApproachOneWayRunwayDesignation

Readonly visualApproachOneWayRunwayDesignation: Subscribable<undefined | string>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:156

Methods

getCurrentAltitude

getCurrentAltitude(): number

Gets the current altitude.

Returns

number

The current altitude.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:377


getSelectedAltitude

getSelectedAltitude(): number

Gets the selected altitude.

Returns

number

The selected altitude.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:385


init

init(): void

Tells the store to subscribe to the event bus.

Returns

void

Throws

Error if already initialized.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:317


legItems

legItems(startIndex?): Generator<FlightPlanLegData, void, unknown>

Gets the leg list data items in forward order.

Parameters

NameTypeDescription
startIndex?numberThe global leg index of the leg with which to start. Defaults to 0.

Returns

Generator<FlightPlanLegData, void, unknown>

Yields

The leg list data items in forward order.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanStore.ts:394