Skip to main content

Class: MFDSelectDepArrController<T, S>

A controller for MFD departure/arrival selection components.

Type parameters

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

Hierarchy

Constructors

constructor

new MFDSelectDepArrController<T, S>(store, selectNextCb, fms, calculator, procedurePlan, transitionPlan, focus, procType): MFDSelectDepArrController<T, S>

Constructor.

Type parameters

NameType
Textends Procedure
Sextends MFDSelectDepArrStore<T> = MFDSelectDepArrStore<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.
procedurePlanSubject<null | FlightPlan>A subject to provide the procedure preview flight plan.
transitionPlanSubject<null | FlightPlan>A subject to provide the procedure transition preview flight plan.
focusSubject<FlightPlanFocus>A subject to provide the flight plan focus for the selected approach.
procTypeDEPARTURE | ARRIVALThe procedure type for this controller.

Returns

MFDSelectDepArrController<T, S>

Overrides

SelectDepArrController.constructor

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:35

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/SelectDepArrController.ts:40


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/SelectDepArrController.ts:39


focus

Protected Readonly focus: Subject<FlightPlanFocus>

A subject to provide the flight plan focus for the selected approach.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:42


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


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

Inherited from

SelectDepArrController.onLoadExecute

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>

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: 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

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

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


procedurePlan

Protected Readonly procedurePlan: Subject<null | FlightPlan>

A subject to provide the procedure preview flight plan.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:40


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/SelectDepArrController.ts:38


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/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>

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


transitionPlan

Protected Readonly transitionPlan: Subject<null | FlightPlan>

A subject to provide the procedure transition preview flight plan.

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:41

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.

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.

Inherited from

SelectDepArrController.getInitialICAO

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

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


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(departure): Promise<void>

Responds to when a procedure item is focused.

Parameters

NameTypeDescription
departureTThe focused procedure.

Returns

Promise<void>

Overrides

SelectDepArrController.onProcFocused

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:96


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

Overrides

SelectDepArrController.onProcSelected

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:90


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>

Overrides

SelectDepArrController.onProcSelectionClosed

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:62


onRunwayFocused

onRunwayFocused(trans): Promise<void>

Responds to when a runway transition item is focused.

Parameters

NameTypeDescription
transRunwayTransitionThe focused transition.

Returns

Promise<void>

Overrides

SelectDepArrController.onRunwayFocused

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:110


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>

Overrides

SelectDepArrController.onRunwaySelected

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:104


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>

Overrides

SelectDepArrController.onRwyTransSelectionClosed

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:76


onTransFocused

onTransFocused(trans): Promise<void>

Responds to when an enroute transition item is focused.

Parameters

NameTypeDescription
transEnrouteTransitionThe focused transition.

Returns

Promise<void>

Overrides

SelectDepArrController.onTransFocused

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:129


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>

Overrides

SelectDepArrController.onTransSelected

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:123


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


refreshPreviewPlans

refreshPreviewPlans(): void

Refreshes the procedure and transition preview plan subjects.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:55