Skip to main content

Abstract Class: SelectDepArrStore<T>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:10

A data store for departure and arrival selection components.

Extends

Extended by

Type Parameters

Type Parameter
T extends DepartureProcedure | ArrivalProcedure

Constructors

Constructor

new SelectDepArrStore<T>(): SelectDepArrStore<T>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/SelectProcedureStore.ts:19

Constructor.

Returns

SelectDepArrStore<T>

Inherited from

SelectProcedureStore.constructor

Properties

_procedures

protected readonly _procedures: ArraySubject<T>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/SelectProcedureStore.ts:9

Inherited from

SelectProcedureStore._procedures


previewPlan

readonly previewPlan: Subject<null | FlightPlan>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/SelectProcedureStore.ts:14

Inherited from

SelectProcedureStore.previewPlan


procedures

readonly procedures: SubscribableArray<T>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/SelectProcedureStore.ts:10

Inherited from

SelectProcedureStore.procedures


runways

readonly runways: ArraySubject<RunwayTransition>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:15


selectedFacility

readonly selectedFacility: Subject<undefined | AirportFacility>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/SelectProcedureStore.ts:7

Inherited from

SelectProcedureStore.selectedFacility


selectedProcedure

readonly selectedProcedure: Subject<undefined | T>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/SelectProcedureStore.ts:12

Inherited from

SelectProcedureStore.selectedProcedure


selectedProcIndex

readonly selectedProcIndex: Subject<number>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:11


selectedRwyTransIndex

readonly selectedRwyTransIndex: Subject<number>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:12


selectedTransIndex

readonly selectedTransIndex: Subject<number>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:13


sequence

readonly sequence: ArraySubject<Subject<LegDefinition>>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/SelectProcedureStore.ts:16

Inherited from

SelectProcedureStore.sequence


transitions

readonly transitions: ArraySubject<EnrouteTransition>

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:16

Methods

getOneWayRunway()

getOneWayRunway(airport, procedure, rwyTransIndex): undefined | OneWayRunway

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:44

Gets the one-way runway of a procedure runway transition.

Parameters

ParameterTypeDescription
airportAirportFacilityThe airport of the procedure for which to get the runway.
procedureTA procedure for which to get the runway.
rwyTransIndexnumberThe index of the runway transition for which to get the runway.

Returns

undefined | OneWayRunway

The one-way runway of the specified procedure runway transition, or undefined if there is no such runway.


getProcedures()

abstract protected getProcedures(airport): readonly T[]

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:29

Gets the procedures array from an airport.

Parameters

ParameterTypeDescription
airportundefined | AirportFacilityAn airport facility.

Returns

readonly T[]

The procedures array from the specified airport.


getRunways()

protected getRunways(procedure): readonly RunwayTransition[]

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:70

Gets the runway transitions of a procedure.

Parameters

ParameterTypeDescription
procedureTA procedure.

Returns

readonly RunwayTransition[]

The runway transitions of the procedure.


getRunwayString()

getRunwayString(runwayTransition): string

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:58

Gets a runway designation string from a runway transition.

Parameters

ParameterTypeDescription
runwayTransitionundefined | RunwayTransitionA runway transition.

Returns

string

The runway designation string of the runway transition.


getTransitionName()

abstract protected getTransitionName(procedure, transitionIndex, rwyTransitionIndex): string

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:101

Gets the transition name and creates a default transition when the procedure has no transitions.

Parameters

ParameterTypeDescription
procedureT-
transitionIndexnumberis the index of the transition in the procedure
rwyTransitionIndexnumber-

Returns

string

The transition name string.


getTransitions()

protected getTransitions(procedure): readonly EnrouteTransition[]

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:79

Gets the enroute transitions of a procedure.

Parameters

ParameterTypeDescription
procedureTA procedure.

Returns

readonly EnrouteTransition[]

The enroute transitions of the procedure.


onSelectedFacilityChanged()

protected onSelectedFacilityChanged(facility): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:19

Responds to changes in the selected airport facility.

Parameters

ParameterTypeDescription
facilityundefined | AirportFacilityThe selected airport facility.

Returns

void

Overrides

SelectProcedureStore.onSelectedFacilityChanged


onSelectedProcedureChanged()

protected onSelectedProcedureChanged(proc): void

Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:32

Responds to changes in the selected procedure.

Parameters

ParameterTypeDescription
procundefined | TThe selected procedure.

Returns

void

Overrides

SelectProcedureStore.onSelectedProcedureChanged