Class: SelectProcedureController
The controller for SelectProcedure views.
Constructors
constructor
• new SelectProcedureController(store
, selectNextCb
, fms
, calculator
, procType
): SelectProcedureController
Ctor
Parameters
Name | Type | Description |
---|---|---|
store | SelectProcedureControllerStore | The 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. |
procType | ProcedureType | is the procedure type for this controller. |
Returns
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:27
Properties
buildSequenceOpId
• Protected
buildSequenceOpId: number
= 0
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:138
calculator
• Protected
Readonly
calculator: FlightPathCalculator
The flight path calculator used by this controller to build preview flight plans.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:31
canLoad
• Readonly
canLoad: Subject
<boolean
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:17
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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:11
fms
• Protected
Readonly
fms: Fms
<any
>
The FMS instance.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:30
inputIcao
• Readonly
inputIcao: Subject
<string
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:16
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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:179
procSelectedHandler
• Readonly
procSelectedHandler: (index
: number
, item
: Procedure
, isRefresh
: boolean
) => Promise
<void
>
Type declaration
▸ (index
, item
, isRefresh
): Promise
<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
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:12
procType
• Protected
Readonly
procType: ProcedureType
is the procedure type for this controller.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:32
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
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:13
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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:29
store
• Protected
Readonly
store: SelectProcedureControllerStore
The store.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:28
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
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:14
Methods
buildSequence
▸ buildSequence(): Promise
<boolean
>
Builds the sequence list for the approach preview
Returns
Promise
<boolean
>
A Promise which is fulfilled with whether a preview sequence was successfully built.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:144
getInitialICAO
▸ getInitialICAO(): undefined
| string
Gets the initial ICAO on load.
Returns
undefined
| string
The initial ICAO string or undefined.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:70
initialize
▸ initialize(): void
Initialize the controller.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:54
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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:76
onLoadSelected
▸ onLoadSelected(): void
Callback handler for when load is pressed.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:174
onProcSelected
▸ onProcSelected(index
, item
, isRefresh
): Promise
<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
Promise
<void
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:99
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
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:116
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
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/SelectProcedureController.ts:130