Skip to main content

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​

readonly procedures: ArraySubject<Procedure>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:11


runways​

readonly runways: ArraySubject<RunwayTransition>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:12


selectedFacility​

selectedFacility: AirportFacility | undefined

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:5


selectedProcIndex​

readonly selectedProcIndex: Subject<number>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:7


selectedRwyIndex​

readonly selectedRwyIndex: Subject<number>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:8


selectedTransIndex​

readonly selectedTransIndex: Subject<number>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:9


sequence​

readonly sequence: ArraySubject<Subject<LegDefinition>>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:15


transitions​

readonly transitions: 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(): OneWayRunway | undefined

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Controllers/SelectProcedureStore.ts:50

Gets the one-way runway from the selected procedure runway

Returns​

OneWayRunway | undefined

the OneWayRunway object or undefined


getProcedures()​

abstract getProcedures(): readonly Procedure[]

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​

ParameterTypeDescription
runwayTransitionRunwayTransition | undefinedis the runway transition object

Returns​

string

The runway designation string.


getTransitionName()​

abstract getTransitionName(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​

ParameterTypeDescription
transitionIndexnumberis 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​

ParameterTypeDescription
facilityAirportFacilityThe airport facility to be shown.

Returns​

void