Abstract Class: SelectProcedureControllerStore
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:4
The data store for SelectProcedure pages
Constructors
Constructor
new SelectProcedureControllerStore():
SelectProcedureControllerStore
Returns
SelectProcedureControllerStore
Properties
procedures
readonlyprocedures:ArraySubject<Procedure>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:11
runways
readonlyrunways:ArraySubject<RunwayTransition>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:12
selectedFacility
selectedFacility:
undefined|AirportFacility
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:5
selectedProcIndex
readonlyselectedProcIndex:Subject<number>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:7
selectedRwyIndex
readonlyselectedRwyIndex:Subject<number>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:8
selectedTransIndex
readonlyselectedTransIndex:Subject<number>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:9
sequence
readonlysequence:ArraySubject<Subject<LegDefinition>>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:15
transitions
readonlytransitions:ArraySubject<EnrouteTransition>
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:13
Methods
clearFacility()
clearFacility():
void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:39
Empties the display content when no facility is selected
Returns
void
getOneWayRunway()
getOneWayRunway():
undefined|OneWayRunway
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:50
Gets the one-way runway from the selected procedure runway
Returns
undefined | OneWayRunway
the OneWayRunway object or undefined
getProcedures()
abstractgetProcedures(): readonlyProcedure[]
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:22
Gets the procedures array.
Returns
readonly Procedure[]
The procedures array.
getRunways()
getRunways(): readonly
RunwayTransition[]
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:84
Gets the runways of the selected procedure.
Returns
readonly RunwayTransition[]
The runways.
getRunwayString()
getRunwayString(
runwayTransition):string
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:66
Gets a runway designation string from the runway transition.
Parameters
| Parameter | Type | Description |
|---|---|---|
runwayTransition | undefined | RunwayTransition | is the runway transition object |
Returns
string
The runway designation string.
getTransitionName()
abstractgetTransitionName(transitionIndex):string
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:78
Gets the transition name and creates a default transition when the procedure has no transitions.
Parameters
| Parameter | Type | Description |
|---|---|---|
transitionIndex | number | is the index of the transition in the procedure |
Returns
string
The transition name string.
getTransitions()
getTransitions(): readonly
EnrouteTransition[]
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:93
Gets the enroute transitions of the selected procedure.
Returns
readonly EnrouteTransition[]
The enroute transitions.
loadFacility()
loadFacility(
facility):void
Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:28
Sets the data to display the facility.
Parameters
| Parameter | Type | Description |
|---|---|---|
facility | AirportFacility | The airport facility to be shown. |
Returns
void