Skip to main content

Class: MFDSelectArrivalController

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectArrivalController.ts:12

Controller for MFDSelectArrival component.

Extends​

Constructors​

Constructor​

new MFDSelectArrivalController(store, selectNextCb, fms, calculator, procedurePlan, transitionPlan, focus): MFDSelectArrivalController

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectArrivalController.ts:23

Constructor.

Parameters​

ParameterTypeDescription
storeMFDSelectArrivalStoreA data store.
selectNextCb() => voidCallback when the next control should be focused.
fmsFmsThe FMS instance.
calculatorFlightPathCalculatorThe flight path calculator used by this controller to build preview flight plans.
procedurePlanSubject<FlightPlan | null>A subject to provide the procedure preview flight plan.
transitionPlanSubject<FlightPlan | null>A subject to provide the procedure transition preview flight plan.
focusSubject<FlightPlanFocus>A subject to provide the flight plan focus for the selected approach.

Returns​

MFDSelectArrivalController

Overrides​

MFDSelectDepArrController.constructor

Properties​

buildSequenceOpId​

protected buildSequenceOpId: number = 0

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:240

Inherited from​

MFDSelectDepArrController.buildSequenceOpId


calculator​

protected readonly calculator: FlightPathCalculator

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:40

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

Inherited from​

MFDSelectDepArrController.calculator


canLoad​

readonly canLoad: Subject<boolean>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:26

Inherited from​

MFDSelectDepArrController.canLoad


facilityChangedHandler()​

readonly facilityChangedHandler: (facility) => void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:14

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

Parameters​

ParameterTypeDescription
facilityFacility | undefinedThe selected facility.

Returns​

void

Inherited from​

MFDSelectDepArrController.facilityChangedHandler


fms​

protected readonly fms: Fms

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:39

The FMS instance.

Inherited from​

MFDSelectDepArrController.fms


focus​

protected readonly focus: Subject<FlightPlanFocus>

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:42

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

Inherited from​

MFDSelectDepArrController.focus


inputIcao​

readonly inputIcao: Subject<string>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:25

Inherited from​

MFDSelectDepArrController.inputIcao


procedurePlan​

protected readonly procedurePlan: Subject<FlightPlan | null>

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:40

A subject to provide the procedure preview flight plan.

Inherited from​

MFDSelectDepArrController.procedurePlan


procFocusedHandler()​

readonly procFocusedHandler: (proc) => Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:16

Responds to when a procedure item is focused.

Parameters​

ParameterTypeDescription
procProcedureThe focused procedure.

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.procFocusedHandler


procSelectedHandler()​

readonly procSelectedHandler: (index, item, isRefresh) => void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:15

Callback handler for when a procedure is selected.

Parameters​

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

Returns​

void

Inherited from​

MFDSelectDepArrController.procSelectedHandler


procSelectionClosedHandler()​

readonly procSelectionClosedHandler: (source, selectionMade) => Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:21

Handles when the procedure selection dialog is closed.

Parameters​

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

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.procSelectionClosedHandler


procType​

protected readonly procType: DEPARTURE | ARRIVAL

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:41

The procedure type for this controller.

Inherited from​

MFDSelectDepArrController.procType


runwayFocusedHandler()​

readonly runwayFocusedHandler: (trans) => Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:18

Responds to when a runway transition item is focused.

Parameters​

ParameterTypeDescription
transRunwayTransitionThe focused transition.

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.runwayFocusedHandler


runwaySelectedHandler()​

readonly runwaySelectedHandler: (index, item, isRefresh) => Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:17

Responds to when a runway transition is selected.

Parameters​

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

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.runwaySelectedHandler


rwyTransSelectionClosedHandler()​

readonly rwyTransSelectionClosedHandler: (source, selectionMade) => Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:22

Handles when the runway transition selection dialog is closed.

Parameters​

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

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.rwyTransSelectionClosedHandler


selectNextCb()​

protected readonly selectNextCb: () => void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:38

Callback when the next control should be focused.

Returns​

void

Inherited from​

MFDSelectDepArrController.selectNextCb


store​

protected readonly store: MFDSelectArrivalStore

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:37

A data store.

Inherited from​

MFDSelectDepArrController.store


transFocusedHandler()​

readonly transFocusedHandler: (trans) => Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:20

Responds to when an enroute transition item is focused.

Parameters​

ParameterTypeDescription
transEnrouteTransitionThe focused transition.

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.transFocusedHandler


transitionPlan​

protected readonly transitionPlan: Subject<FlightPlan | null>

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:41

A subject to provide the procedure transition preview flight plan.

Inherited from​

MFDSelectDepArrController.transitionPlan


transSelectedHandler()​

readonly transSelectedHandler: (index, item, isRefresh) => Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:19

Responds to when an enroute transition is selected.

Parameters​

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

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.transSelectedHandler


transSelectionClosedHandler()​

readonly transSelectionClosedHandler: (source, selectionMade) => Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:23

Handles when the enroute transition selection dialog is closed.

Parameters​

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

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.transSelectionClosedHandler

Methods​

buildSequence()​

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

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:251

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

Parameters​

ParameterTypeDescription
airportAirportFacility | undefinedThe airport of the procedure to preview.
procedureProcedure | undefinedThe 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​

MFDSelectDepArrController.buildSequence


getInitialICAO()​

protected getInitialICAO(): string | undefined

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectArrivalController.ts:53

Gets the initial ICAO on load.

Returns​

string | undefined

The initial ICAO string or undefined.

Overrides​

MFDSelectDepArrController.getInitialICAO


initializeIcaoInput()​

initializeIcaoInput(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:48

Initializes the airport ICAO input.

Returns​

void

Inherited from​

MFDSelectDepArrController.initializeIcaoInput


onFacilityChanged()​

protected onFacilityChanged(facility): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:70

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

Parameters​

ParameterTypeDescription
facilityFacility | undefinedThe selected facility.

Returns​

void

Inherited from​

MFDSelectDepArrController.onFacilityChanged


onLoadExecute()​

onLoadExecute(): void

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectArrivalController.ts:36

Returns​

void

Inherit Doc​

Overrides​

MFDSelectDepArrController.onLoadExecute


onLoadSelected()​

onLoadSelected(): void

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:284

Callback handler for when load is pressed.

Returns​

void

Inherited from​

MFDSelectDepArrController.onLoadSelected


onProcFocused()​

protected onProcFocused(departure): Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:96

Responds to when a procedure item is focused.

Parameters​

ParameterTypeDescription
departureProcedureThe focused procedure.

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.onProcFocused


onProcSelected()​

protected onProcSelected(index, item, isRefresh): void

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:90

Callback handler for when a procedure is selected.

Parameters​

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

Returns​

void

Inherited from​

MFDSelectDepArrController.onProcSelected


onProcSelectionClosed()​

protected onProcSelectionClosed(source, selectionMade): Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:62

Handles when the procedure selection dialog is closed.

Parameters​

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

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.onProcSelectionClosed


onRunwayFocused()​

protected onRunwayFocused(trans): Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:110

Responds to when a runway transition item is focused.

Parameters​

ParameterTypeDescription
transRunwayTransitionThe focused transition.

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.onRunwayFocused


onRunwaySelected()​

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

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:104

Responds to when a runway transition is selected.

Parameters​

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

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.onRunwaySelected


onRwyTransSelectionClosed()​

protected onRwyTransSelectionClosed(source, selectionMade): Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:76

Handles when the runway transition selection dialog is closed.

Parameters​

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

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.onRwyTransSelectionClosed


onTransFocused()​

protected onTransFocused(trans): Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:129

Responds to when an enroute transition item is focused.

Parameters​

ParameterTypeDescription
transEnrouteTransitionThe focused transition.

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.onTransFocused


onTransSelected()​

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

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:123

Responds to when an enroute transition is selected.

Parameters​

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

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.onTransSelected


onTransSelectionClosed()​

protected onTransSelectionClosed(source, selectionMade): Promise<void>

Defined in: workingtitle-instruments-g1000/html_ui/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:123

Handles when the enroute transition selection dialog is closed.

Parameters​

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

Returns​

Promise<void>

Inherited from​

MFDSelectDepArrController.onTransSelectionClosed


refreshPreviewPlans()​

refreshPreviewPlans(): void

Defined in: workingtitle-instruments-g1000/html_ui/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:55

Refreshes the procedure and transition preview plan subjects.

Returns​

void

Inherited from​

MFDSelectDepArrController.refreshPreviewPlans