Skip to main content

Class: SelectDepartureController<S>

Controller for SelectDeparture.

Type parameters

NameType
Sextends SelectDepArrStore<DepartureProcedure> = SelectDepArrStore<DepartureProcedure>

Hierarchy

Constructors

constructor

new SelectDepartureController<S>(store, selectNextCb, fms, calculator): SelectDepartureController<S>

Constructor.

Type parameters

NameType
Sextends SelectDepArrStore<Procedure> = SelectDepArrStore<Procedure>

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.

Returns

SelectDepartureController<S>

Overrides

SelectDepArrController.constructor

Defined in

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

Properties

buildSequenceOpId

Protected buildSequenceOpId: number = 0

Inherited from

SelectDepArrController.buildSequenceOpId

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.

Inherited from

SelectDepArrController.calculator

Defined in

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


canLoad

Readonly canLoad: Subject<boolean>

Inherited from

SelectDepArrController.canLoad

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

Inherited from

SelectDepArrController.facilityChangedHandler

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.

Inherited from

SelectDepArrController.fms

Defined in

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


inputIcao

Readonly inputIcao: Subject<string>

Inherited from

SelectDepArrController.inputIcao

Defined in

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


procFocusedHandler

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

Type declaration

▸ (proc): Promise<void>

Responds to when a procedure item is focused.

Parameters
NameTypeDescription
procProcedureThe focused procedure.
Returns

Promise<void>

Inherited from

SelectDepArrController.procFocusedHandler

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: Procedure, 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.
itemProcedureThe procedure selected.
isRefreshbooleanIf select event happened based on a data refresh.
Returns

void

Inherited from

SelectDepArrController.procSelectedHandler

Defined in

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


procSelectionClosedHandler

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

Type declaration

▸ (source, selectionMade): Promise<void>

Handles when the procedure selection dialog is closed.

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

Promise<void>

Inherited from

SelectDepArrController.procSelectionClosedHandler

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.

Inherited from

SelectDepArrController.procType

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>

Inherited from

SelectDepArrController.runwayFocusedHandler

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>

Inherited from

SelectDepArrController.runwaySelectedHandler

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>

Inherited from

SelectDepArrController.rwyTransSelectionClosedHandler

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

Inherited from

SelectDepArrController.selectNextCb

Defined in

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


store

Protected Readonly store: S

A data store.

Inherited from

SelectDepArrController.store

Defined in

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


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>

Inherited from

SelectDepArrController.transFocusedHandler

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>

Inherited from

SelectDepArrController.transSelectedHandler

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>

Inherited from

SelectDepArrController.transSelectionClosedHandler

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 | ProcedureThe 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.

Inherited from

SelectDepArrController.buildSequence

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.

Overrides

SelectDepArrController.getInitialICAO

Defined in

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


initializeIcaoInput

initializeIcaoInput(): void

Initializes the airport ICAO input.

Returns

void

Inherited from

SelectDepArrController.initializeIcaoInput

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

Inherited from

SelectDepArrController.onFacilityChanged

Defined in

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


onLoadExecute

onLoadExecute(): void

Called when the load procedure button is clicked.

Returns

void

Overrides

SelectDepArrController.onLoadExecute

Defined in

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


onLoadSelected

onLoadSelected(): void

Callback handler for when load is pressed.

Returns

void

Inherited from

SelectDepArrController.onLoadSelected

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
procProcedureThe focused procedure.

Returns

Promise<void>

Inherited from

SelectDepArrController.onProcFocused

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.
itemProcedureThe procedure selected.
isRefreshbooleanIf select event happened based on a data refresh.

Returns

void

Inherited from

SelectDepArrController.onProcSelected

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<Procedure>The SelectControl controlling the dialog that was closed.
selectionMadebooleanWhether a selection was made.

Returns

Promise<void>

Inherited from

SelectDepArrController.onProcSelectionClosed

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>

Inherited from

SelectDepArrController.onRunwayFocused

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>

Inherited from

SelectDepArrController.onRunwaySelected

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>

Inherited from

SelectDepArrController.onRwyTransSelectionClosed

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>

Inherited from

SelectDepArrController.onTransFocused

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>

Inherited from

SelectDepArrController.onTransSelected

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>

Inherited from

SelectDepArrController.onTransSelectionClosed

Defined in

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