Skip to main content

Class: SelectDepArrController<T, S>

Controller for departure/arrival selection components.

Type parameters

NameType
Textends DepartureProcedure | ArrivalProcedure
Sextends SelectDepArrStore<T> = SelectDepArrStore<T>

Hierarchy

Constructors

constructor

new SelectDepArrController<T, S>(store, selectNextCb, fms, calculator, procType): SelectDepArrController<T, S>

Constructor.

Type parameters

NameType
Textends Procedure
Sextends SelectDepArrStore<T> = SelectDepArrStore<T>

Parameters

NameTypeDescription
storeSA data store.
selectNextCb() => voidCallback when the next control should be focused.
fmsFms<any>The FMS instance.
calculatorFlightPathCalculatorThe flight path calculator used by this controller to build preview flight plans.
procTypeDEPARTURE | ARRIVALThe procedure type for this controller.

Returns

SelectDepArrController<T, S>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:36

Properties

buildSequenceOpId

Protected buildSequenceOpId: number = 0

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:240


calculator

Protected Readonly calculator: FlightPathCalculator

The flight path calculator used by this controller to build preview flight plans.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:40


canLoad

Readonly canLoad: Subject<boolean>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:26


facilityChangedHandler

Readonly facilityChangedHandler: (facility: undefined | Facility) => void

Type declaration

▸ (facility): void

Responds to when the waypoint input's selected facility changes.

Parameters
NameTypeDescription
facilityundefined | FacilityThe selected facility.
Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:14


fms

Protected Readonly fms: Fms<any>

The FMS instance.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:39


inputIcao

Readonly inputIcao: Subject<string>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:25


onLoadExecute

Abstract onLoadExecute: () => void

Called when the load procedure button is clicked.

Type declaration

▸ (): void

Called when the load procedure button is clicked.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:289


procFocusedHandler

Readonly procFocusedHandler: (proc: T) => Promise<void>

Type declaration

▸ (proc): Promise<void>

Responds to when a procedure item is focused.

Parameters
NameTypeDescription
procTThe focused procedure.
Returns

Promise<void>

Defined in

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


procSelectedHandler

Readonly procSelectedHandler: (index: number, item: T, isRefresh: boolean) => void

Type declaration

▸ (index, item, isRefresh): void

Callback handler for when a procedure is selected.

Parameters
NameTypeDescription
indexnumberThe index of the selected procedure.
itemTThe procedure selected.
isRefreshbooleanIf select event happened based on a data refresh.
Returns

void

Defined in

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


procSelectionClosedHandler

Readonly procSelectionClosedHandler: (source: SelectControl2<T>, selectionMade: boolean) => Promise<void>

Type declaration

▸ (source, selectionMade): Promise<void>

Handles when the procedure selection dialog is closed.

Parameters
NameTypeDescription
sourceSelectControl2<T>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.
Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:21


procType

Protected Readonly procType: DEPARTURE | ARRIVAL

The procedure type for this controller.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:41


runwayFocusedHandler

Readonly runwayFocusedHandler: (trans: RunwayTransition) => Promise<void>

Type declaration

▸ (trans): Promise<void>

Responds to when a runway transition item is focused.

Parameters
NameTypeDescription
transRunwayTransitionThe focused transition.
Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:18


runwaySelectedHandler

Readonly runwaySelectedHandler: (index: number, item: RunwayTransition, isRefresh: boolean) => Promise<void>

Type declaration

▸ (index, item, isRefresh): Promise<void>

Responds to when a runway transition is selected.

Parameters
NameTypeDescription
indexnumberThe index of the selected transition.
itemRunwayTransitionThe transition selected.
isRefreshbooleanIf select event happened based on a data refresh.
Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:17


rwyTransSelectionClosedHandler

Readonly rwyTransSelectionClosedHandler: (source: SelectControl2<RunwayTransition>, selectionMade: boolean) => Promise<void>

Type declaration

▸ (source, selectionMade): Promise<void>

Handles when the runway transition selection dialog is closed.

Parameters
NameTypeDescription
sourceSelectControl2<RunwayTransition>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.
Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:22


selectNextCb

Protected Readonly selectNextCb: () => void

Callback when the next control should be focused.

Type declaration

▸ (): void

Callback when the next control should be focused.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:38


store

Protected Readonly store: S

A data store.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:37


transFocusedHandler

Readonly transFocusedHandler: (trans: EnrouteTransition) => Promise<void>

Type declaration

▸ (trans): Promise<void>

Responds to when an enroute transition item is focused.

Parameters
NameTypeDescription
transEnrouteTransitionThe focused transition.
Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:20


transSelectedHandler

Readonly transSelectedHandler: (index: number, item: EnrouteTransition, isRefresh: boolean) => Promise<void>

Type declaration

▸ (index, item, isRefresh): Promise<void>

Responds to when an enroute transition is selected.

Parameters
NameTypeDescription
indexnumberThe index of the selected transition.
itemEnrouteTransitionThe transition selected.
isRefreshbooleanIf select event happened based on a data refresh.
Returns

Promise<void>

Defined in

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


transSelectionClosedHandler

Readonly transSelectionClosedHandler: (source: SelectControl2<EnrouteTransition>, selectionMade: boolean) => Promise<void>

Type declaration

▸ (source, selectionMade): Promise<void>

Handles when the enroute transition selection dialog is closed.

Parameters
NameTypeDescription
sourceSelectControl2<EnrouteTransition>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.
Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:23

Methods

buildSequence

buildSequence(airport, procedure, procIndex, transIndex, rwyTransIndex): Promise<boolean>

Builds the sequence list and flight plan for the procedure preview.

Parameters

NameTypeDescription
airportundefined | AirportFacilityThe airport of the procedure to preview.
procedureundefined | TThe procedure to preview.
procIndexnumberThe index of the procedure to preview.
transIndexnumberThe enroute transition index of the procedure to preview.
rwyTransIndexnumberThe runway transition index of the procedure to preview.

Returns

Promise<boolean>

A Promise which is fulfilled with whether a preview sequence was successfully built.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:251


getInitialICAO

getInitialICAO(): undefined | string

Gets the initial ICAO on load.

Returns

undefined | string

The initial ICAO string or undefined.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:64


initializeIcaoInput

initializeIcaoInput(): void

Initializes the airport ICAO input.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:48


onFacilityChanged

onFacilityChanged(facility): void

Responds to when the waypoint input's selected facility changes.

Parameters

NameTypeDescription
facilityundefined | FacilityThe selected facility.

Returns

void

Defined in

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


onLoadSelected

onLoadSelected(): void

Callback handler for when load is pressed.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:284


onProcFocused

onProcFocused(proc): Promise<void>

Responds to when a procedure item is focused.

Parameters

NameTypeDescription
procTThe focused procedure.

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:155


onProcSelected

onProcSelected(index, item, isRefresh): void

Callback handler for when a procedure is selected.

Parameters

NameTypeDescription
indexnumberThe index of the selected procedure.
itemTThe procedure selected.
isRefreshbooleanIf select event happened based on a data refresh.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:141


onProcSelectionClosed

onProcSelectionClosed(source, selectionMade): Promise<void>

Handles when the procedure selection dialog is closed.

Parameters

NameTypeDescription
sourceSelectControl2<T>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:89


onRunwayFocused

onRunwayFocused(trans): Promise<void>

Responds to when a runway transition item is focused.

Parameters

NameTypeDescription
transRunwayTransitionThe focused transition.

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:192


onRunwaySelected

onRunwaySelected(index, item, isRefresh): Promise<void>

Responds to when a runway transition is selected.

Parameters

NameTypeDescription
indexnumberThe index of the selected transition.
itemRunwayTransitionThe transition selected.
isRefreshbooleanIf select event happened based on a data refresh.

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:174


onRwyTransSelectionClosed

onRwyTransSelectionClosed(source, selectionMade): Promise<void>

Handles when the runway transition selection dialog is closed.

Parameters

NameTypeDescription
sourceSelectControl2<RunwayTransition>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:106


onTransFocused

onTransFocused(trans): Promise<void>

Responds to when an enroute transition item is focused.

Parameters

NameTypeDescription
transEnrouteTransitionThe focused transition.

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:228


onTransSelected

onTransSelected(index, item, isRefresh): Promise<void>

Responds to when an enroute transition is selected.

Parameters

NameTypeDescription
indexnumberThe index of the selected transition.
itemEnrouteTransitionThe transition selected.
isRefreshbooleanIf select event happened based on a data refresh.

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:210


onTransSelectionClosed

onTransSelectionClosed(source, selectionMade): Promise<void>

Handles when the enroute transition selection dialog is closed.

Parameters

NameTypeDescription
sourceSelectControl2<EnrouteTransition>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.

Returns

Promise<void>

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:123