Class: AltitudeAlertController
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/AltitudeAlertController.ts:33
Class to manage the altitude alerter on the PFD Altimeter
Constructors
Constructor
new AltitudeAlertController(
bus
):AltitudeAlertController
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/AltitudeAlertController.ts:45
Instantiates an instance of the AltitudeAlertController
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | is the event bus |
Returns
AltitudeAlertController
Properties
alerterState
alerterState:
Subject
<AltAlertState
>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/AltitudeAlertController.ts:35
altitude
altitude:
number
=0
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/AltitudeAlertController.ts:38
altitudeLocked
altitudeLocked:
boolean
=false
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/AltitudeAlertController.ts:37
approachActive
approachActive:
boolean
=false
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/AltitudeAlertController.ts:36
isOnGround
isOnGround:
boolean
=true
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/AltitudeAlertController.ts:34
targetAltitude
targetAltitude:
number
=NaN
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/AltitudeAlertController.ts:39
Methods
updateAltitudeAlerter()
updateAltitudeAlerter():
void
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Components/FlightInstruments/AltitudeAlertController.ts:127
A method called to update the altitude alerter
Returns
void