Class: SelectDepartureStore
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepartureStore.ts:9
A data store for departure selection components.
Extends
Extended by
Constructors
Constructor
new SelectDepartureStore():
SelectDepartureStore
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/SelectProcedureStore.ts:19
Constructor.
Returns
SelectDepartureStore
Inherited from
Properties
_procedures
protectedreadonly_procedures:ArraySubject<Procedure>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/SelectProcedureStore.ts:9
Inherited from
previewPlan
readonlypreviewPlan:Subject<null|FlightPlan>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/SelectProcedureStore.ts:14
Inherited from
procedures
readonlyprocedures:SubscribableArray<Procedure>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/SelectProcedureStore.ts:10
Inherited from
runways
readonlyrunways:ArraySubject<RunwayTransition>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:15
Inherited from
selectedFacility
readonlyselectedFacility:Subject<undefined|AirportFacility>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/SelectProcedureStore.ts:7
Inherited from
SelectDepArrStore.selectedFacility
selectedProcedure
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/SelectProcedureStore.ts:12
Inherited from
SelectDepArrStore.selectedProcedure
selectedProcIndex
readonlyselectedProcIndex:Subject<number>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:11
Inherited from
SelectDepArrStore.selectedProcIndex
selectedRwyTransIndex
readonlyselectedRwyTransIndex:Subject<number>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:12
Inherited from
SelectDepArrStore.selectedRwyTransIndex
selectedTransIndex
readonlyselectedTransIndex:Subject<number>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:13
Inherited from
SelectDepArrStore.selectedTransIndex
sequence
readonlysequence:ArraySubject<Subject<LegDefinition>>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/SelectProcedureStore.ts:16
Inherited from
transitions
readonlytransitions:ArraySubject<EnrouteTransition>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:16
Inherited from
Methods
getOneWayRunway()
getOneWayRunway(
airport,procedure,rwyTransIndex):undefined|OneWayRunway
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:44
Gets the one-way runway of a procedure runway transition.
Parameters
| Parameter | Type | Description |
|---|---|---|
airport | AirportFacility | The airport of the procedure for which to get the runway. |
procedure | Procedure | A procedure for which to get the runway. |
rwyTransIndex | number | The 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.
Inherited from
SelectDepArrStore.getOneWayRunway
getProcedures()
protectedgetProcedures(airport): readonlyProcedure[]
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepartureStore.ts:11
Gets the procedures array from an airport.
Parameters
| Parameter | Type | Description |
|---|---|---|
airport | undefined | AirportFacility | An airport facility. |
Returns
readonly Procedure[]
The procedures array from the specified airport.
Overrides
SelectDepArrStore.getProcedures
getRunways()
protectedgetRunways(procedure): readonlyRunwayTransition[]
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:70
Gets the runway transitions of a procedure.
Parameters
| Parameter | Type | Description |
|---|---|---|
procedure | Procedure | A procedure. |
Returns
readonly RunwayTransition[]
The runway transitions of the procedure.
Inherited from
getRunwayString()
getRunwayString(
runwayTransition):string
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:58
Gets a runway designation string from a runway transition.
Parameters
| Parameter | Type | Description |
|---|---|---|
runwayTransition | undefined | RunwayTransition | A runway transition. |
Returns
string
The runway designation string of the runway transition.
Inherited from
SelectDepArrStore.getRunwayString
getTransitionName()
getTransitionName(
procedure,transitionIndex,rwyTransitionIndex):string
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepartureStore.ts:16
Gets the transition name and creates a default transition when the procedure has no transitions.
Parameters
| Parameter | Type | Description |
|---|---|---|
procedure | Procedure | - |
transitionIndex | number | is the index of the transition in the procedure |
rwyTransitionIndex | number | - |
Returns
string
The transition name string.
Overrides
SelectDepArrStore.getTransitionName
getTransitions()
protectedgetTransitions(procedure): readonlyEnrouteTransition[]
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:79
Gets the enroute transitions of a procedure.
Parameters
| Parameter | Type | Description |
|---|---|---|
procedure | Procedure | A procedure. |
Returns
readonly EnrouteTransition[]
The enroute transitions of the procedure.
Inherited from
SelectDepArrStore.getTransitions
onSelectedFacilityChanged()
protectedonSelectedFacilityChanged(facility):void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:19
Responds to changes in the selected airport facility.
Parameters
| Parameter | Type | Description |
|---|---|---|
facility | undefined | AirportFacility | The selected airport facility. |
Returns
void
Inherited from
SelectDepArrStore.onSelectedFacilityChanged
onSelectedProcedureChanged()
protectedonSelectedProcedureChanged(proc):void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrStore.ts:32
Responds to changes in the selected procedure.
Parameters
| Parameter | Type | Description |
|---|---|---|
proc | undefined | Procedure | The selected procedure. |
Returns
void