Class: MFDSelectArrivalController
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectArrivalController.ts:12
Controller for MFDSelectArrival component.
Extends
MFDSelectDepArrController
<ArrivalProcedure
,MFDSelectArrivalStore
>
Constructors
Constructor
new MFDSelectArrivalController(
store
,selectNextCb
,fms
,calculator
,procedurePlan
,transitionPlan
,focus
):MFDSelectArrivalController
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectArrivalController.ts:23
Constructor.
Parameters
Parameter | Type | Description |
---|---|---|
store | MFDSelectArrivalStore | A data store. |
selectNextCb | () => void | Callback when the next control should be focused. |
fms | Fms | The FMS instance. |
calculator | FlightPathCalculator | The flight path calculator used by this controller to build preview flight plans. |
procedurePlan | Subject <null | FlightPlan > | A subject to provide the procedure preview flight plan. |
transitionPlan | Subject <null | FlightPlan > | A subject to provide the procedure transition preview flight plan. |
focus | Subject <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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:240
Inherited from
MFDSelectDepArrController
.buildSequenceOpId
calculator
protected
readonly
calculator:FlightPathCalculator
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:26
Inherited from
MFDSelectDepArrController
.canLoad
facilityChangedHandler()
readonly
facilityChangedHandler: (facility
) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:14
Responds to when the waypoint input's selected facility changes.
Parameters
Parameter | Type | Description |
---|---|---|
facility | undefined | Facility | The selected facility. |
Returns
void
Inherited from
MFDSelectDepArrController
.facilityChangedHandler
fms
protected
readonly
fms:Fms
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:39
The FMS instance.
Inherited from
focus
protected
readonly
focus:Subject
<FlightPlanFocus
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:25
Inherited from
MFDSelectDepArrController
.inputIcao
procedurePlan
protected
readonly
procedurePlan:Subject
<null
|FlightPlan
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:16
Responds to when a procedure item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
proc | Procedure | The focused procedure. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.procFocusedHandler
procSelectedHandler()
readonly
procSelectedHandler: (index
,item
,isRefresh
) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:15
Callback handler for when a procedure is selected.
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The index of the selected procedure. |
item | Procedure | The procedure selected. |
isRefresh | boolean | If 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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:21
Handles when the procedure selection dialog is closed.
Parameters
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <Procedure > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.procSelectionClosedHandler
procType
protected
readonly
procType:DEPARTURE
|ARRIVAL
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:18
Responds to when a runway transition item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
trans | RunwayTransition | The focused transition. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.runwayFocusedHandler
runwaySelectedHandler()
readonly
runwaySelectedHandler: (index
,item
,isRefresh
) =>Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:17
Responds to when a runway transition is selected.
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The index of the selected transition. |
item | RunwayTransition | The transition selected. |
isRefresh | boolean | If 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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:22
Handles when the runway transition selection dialog is closed.
Parameters
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <RunwayTransition > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.rwyTransSelectionClosedHandler
selectNextCb()
protected
readonly
selectNextCb: () =>void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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/Pages/VCockpit/Instruments/NavSystems/WTG1000/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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:20
Responds to when an enroute transition item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
trans | EnrouteTransition | The focused transition. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.transFocusedHandler
transitionPlan
protected
readonly
transitionPlan:Subject
<null
|FlightPlan
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:19
Responds to when an enroute transition is selected.
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The index of the selected transition. |
item | EnrouteTransition | The transition selected. |
isRefresh | boolean | If 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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:23
Handles when the enroute transition selection dialog is closed.
Parameters
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <EnrouteTransition > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether 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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:251
Builds the sequence list and flight plan for the procedure preview.
Parameters
Parameter | Type | Description |
---|---|---|
airport | undefined | AirportFacility | The airport of the procedure to preview. |
procedure | undefined | Procedure | The procedure to preview. |
procIndex | number | The index of the procedure to preview. |
transIndex | number | The enroute transition index of the procedure to preview. |
rwyTransIndex | number | The 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():undefined
|string
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectArrivalController.ts:53
Gets the initial ICAO on load.
Returns
undefined
| string
The initial ICAO string or undefined.
Overrides
MFDSelectDepArrController
.getInitialICAO
initializeIcaoInput()
initializeIcaoInput():
void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:70
Responds to when the waypoint input's selected facility changes.
Parameters
Parameter | Type | Description |
---|---|---|
facility | undefined | Facility | The selected facility. |
Returns
void
Inherited from
MFDSelectDepArrController
.onFacilityChanged
onLoadExecute()
onLoadExecute():
void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/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/Pages/VCockpit/Instruments/NavSystems/WTG1000/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/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:96
Responds to when a procedure item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
departure | Procedure | The focused procedure. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.onProcFocused
onProcSelected()
protected
onProcSelected(index
,item
,isRefresh
):void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:90
Callback handler for when a procedure is selected.
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The index of the selected procedure. |
item | Procedure | The procedure selected. |
isRefresh | boolean | If 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/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:62
Handles when the procedure selection dialog is closed.
Parameters
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <Procedure > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.onProcSelectionClosed
onRunwayFocused()
protected
onRunwayFocused(trans
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:110
Responds to when a runway transition item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
trans | RunwayTransition | The focused transition. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.onRunwayFocused
onRunwaySelected()
protected
onRunwaySelected(index
,item
,isRefresh
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:104
Responds to when a runway transition is selected.
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The index of the selected transition. |
item | RunwayTransition | The transition selected. |
isRefresh | boolean | If 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/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:76
Handles when the runway transition selection dialog is closed.
Parameters
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <RunwayTransition > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.onRwyTransSelectionClosed
onTransFocused()
protected
onTransFocused(trans
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:129
Responds to when an enroute transition item is focused.
Parameters
Parameter | Type | Description |
---|---|---|
trans | EnrouteTransition | The focused transition. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.onTransFocused
onTransSelected()
protected
onTransSelected(index
,item
,isRefresh
):Promise
<void
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:123
Responds to when an enroute transition is selected.
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The index of the selected transition. |
item | EnrouteTransition | The transition selected. |
isRefresh | boolean | If 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/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:123
Handles when the enroute transition selection dialog is closed.
Parameters
Parameter | Type | Description |
---|---|---|
source | SelectControl2 <EnrouteTransition > | The SelectControl controlling the dialog that was closed. |
selectionMade | boolean | Whether a selection was made. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController
.onTransSelectionClosed
refreshPreviewPlans()
refreshPreviewPlans():
void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:55
Refreshes the procedure and transition preview plan subjects.
Returns
void