Class: NearestController
A nearest controleer
Constructors
constructor
• new NearestController(store
, publisher
, viewService
): NearestController
Creates one.
Parameters
Name | Type | Description |
---|---|---|
store | NearestStore | the store |
publisher | ControlPublisher | A ControlPublisher for freq set events. |
viewService | ViewService | The View Service. |
Returns
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/NearestController.ts:20
Properties
onDirectIdentHandler
• Readonly
onDirectIdentHandler: (airport
: null
| AirportFacility
) => boolean
Type declaration
▸ (airport
): boolean
A callback which is called when a DRCT input is made on a nearest airport.
Parameters
Name | Type | Description |
---|---|---|
airport | null | AirportFacility | The airport. |
Returns
boolean
Whether the event was handled.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/NearestController.ts:11
onEnterFreqHandler
• Readonly
onEnterFreqHandler: (value
: string
) => boolean
Type declaration
▸ (value
): boolean
A callback which is called when an ENTER input is made on a nearest airport frequency.
Parameters
Name | Type | Description |
---|---|---|
value | string | The frequency. |
Returns
boolean
Whether the event was handled.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Controllers/NearestController.ts:12