Class: MFDSelectDepartureController
Controller for MFDSelectDeparture component.
Hierarchy
MFDSelectDepArrController
<DepartureProcedure
,MFDSelectDepartureStore
>↳
MFDSelectDepartureController
Constructors
constructor
• new MFDSelectDepartureController(store
, selectNextCb
, fms
, calculator
, procedurePlan
, transitionPlan
, focus
): MFDSelectDepartureController
Constructor.
Parameters
Name | Type | Description |
---|---|---|
store | MFDSelectDepartureStore | A data store. |
selectNextCb | () => void | Callback when the next control should be focused. |
fms | Fms <any > | 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
Overrides
MFDSelectDepArrController.constructor
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepartureController.ts:23
Properties
buildSequenceOpId
• Protected
buildSequenceOpId: number
= 0
Inherited from
MFDSelectDepArrController.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
MFDSelectDepArrController.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
MFDSelectDepArrController.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
Name | Type | Description |
---|---|---|
facility | undefined | Facility | The selected facility. |
Returns
void
Inherited from
MFDSelectDepArrController.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
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.
Inherited from
MFDSelectDepArrController.focus
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
MFDSelectDepArrController.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
Name | Type | Description |
---|---|---|
proc | Procedure | The focused procedure. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController.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
Name | 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
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
Name | 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
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
MFDSelectDepArrController.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.
Inherited from
MFDSelectDepArrController.procedurePlan
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
Name | Type | Description |
---|---|---|
trans | RunwayTransition | The focused transition. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController.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
Name | 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
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
Name | 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
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
MFDSelectDepArrController.selectNextCb
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArrController.ts:38
store
• Protected
Readonly
store: MFDSelectDepartureStore
A data store.
Inherited from
MFDSelectDepArrController.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
Name | Type | Description |
---|---|---|
trans | EnrouteTransition | The focused transition. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController.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
Name | 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
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
Name | 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
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.
Inherited from
MFDSelectDepArrController.transitionPlan
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
Name | 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
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
MFDSelectDepArrController.getInitialICAO
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepartureController.ts:53
initializeIcaoInput
▸ initializeIcaoInput(): void
Initializes the airport ICAO input.
Returns
void
Inherited from
MFDSelectDepArrController.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
Name | Type | Description |
---|---|---|
facility | undefined | Facility | The selected facility. |
Returns
void
Inherited from
MFDSelectDepArrController.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
MFDSelectDepArrController.onLoadExecute
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepartureController.ts:36
onLoadSelected
▸ onLoadSelected(): void
Callback handler for when load is pressed.
Returns
void
Inherited from
MFDSelectDepArrController.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
Name | Type | Description |
---|---|---|
departure | Procedure | The focused procedure. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController.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
Name | 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
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
Name | 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
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
Name | Type | Description |
---|---|---|
trans | RunwayTransition | The focused transition. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController.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
Name | 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
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
Name | 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
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
Name | Type | Description |
---|---|---|
trans | EnrouteTransition | The focused transition. |
Returns
Promise
<void
>
Inherited from
MFDSelectDepArrController.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
Name | 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
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
Name | 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
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
Inherited from
MFDSelectDepArrController.refreshPreviewPlans
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/MFD/Components/UI/Procedure/DepArr/MFDSelectDepArrController.ts:55