Class: DefaultHsiDataProvider
A default implementation of HsiDataProvider.
Implements
Constructors
constructor
• new DefaultHsiDataProvider(bus
, ahrsIndex
, fmsPosIndex
, activeNavIndicator
, bearing1Indicator
, bearing2Indicator
, fplSourceDataProvider
, settingManager
, supportAutopilot
): DefaultHsiDataProvider
Creates a new instance of DefaultHsiDataProvider.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
ahrsIndex | number | Subscribable <number > | The index of the AHRS from which to source data. |
fmsPosIndex | number | Subscribable <number > | The index of the FMS geo-positioning system from which to source data. |
activeNavIndicator | G3XTouchNavIndicator | The nav indicator for the active nav source. |
bearing1Indicator | G3XTouchNavIndicator | The nav indicator for bearing pointer 1. |
bearing2Indicator | G3XTouchNavIndicator | The nav indicator for bearing pointer 2. |
fplSourceDataProvider | G3XFplSourceDataProvider | A provider of flight plan source data. |
settingManager | UserSettingManager <PfdHsiUserSettingTypes > | A manager for HSI user settings. |
supportAutopilot | boolean | Whether autopilot mode sensing is supported. |
Returns
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:188
Properties
activeNavIndicator
• Readonly
activeNavIndicator: G3XTouchNavIndicator
The nav indicator for the active nav source.
Implementation of
HsiDataProvider.activeNavIndicator
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:192
bearing1Indicator
• Readonly
bearing1Indicator: G3XTouchNavIndicator
The nav indicator for bearing pointer 1.
Implementation of
HsiDataProvider.bearing1Indicator
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:193
bearing2Indicator
• Readonly
bearing2Indicator: G3XTouchNavIndicator
The nav indicator for bearing pointer 2.
Implementation of
HsiDataProvider.bearing2Indicator
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:194
externalFplSourceCount
• Readonly
externalFplSourceCount: 0
| 2
| 1
The number of supported external flight plan sources.
Implementation of
HsiDataProvider.externalFplSourceCount
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:137
fplSource
• Readonly
fplSource: Subscribable
<G3XFplSource
>
The current flight plan source.
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:139
headingMag
• Readonly
headingMag: Subscribable
<number
>
The current magnetic heading, in degrees.
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:95
isAhrsAligning
• Readonly
isAhrsAligning: Subscribable
<boolean
>
Whether the AHRS that is this provider's source of heading data is aligning.
Implementation of
HsiDataProvider.isAhrsAligning
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:147
isGpsDataFailed
• Readonly
isGpsDataFailed: Subscribable
<boolean
>
Whether GPS data is in a failure state.
Implementation of
HsiDataProvider.isGpsDataFailed
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:151
isHeadingDataFailed
• Readonly
isHeadingDataFailed: Subscribable
<boolean
>
Whether heading data is in a failure state.
Implementation of
HsiDataProvider.isHeadingDataFailed
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:143
lnavXtk
• Readonly
lnavXtk: Subscribable
<null
| number
>
The current LNAV cross-track error, in nautical miles, or null
if LNAV is not tracking a path.
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:127
magVar
• Readonly
magVar: Subscribable
<number
>
The magnetic variation at the plane's current position, in degrees.
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:109
obsCourse
• Readonly
obsCourse: Subscribable
<number
>
The current magnetic OBS course, in degrees.
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:134
obsSuspMode
• Readonly
obsSuspMode: Subscribable
<ObsSuspModes
>
The current LNAV OBS/suspend mode.
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:132
orientationMode
• Readonly
orientationMode: Subscribable
<HsiOrientationMode
>
The current active orientation mode.
Implementation of
HsiDataProvider.orientationMode
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:91
selectedHeadingMag
• Readonly
selectedHeadingMag: Subscribable
<number
>
The current selected magnetic heading, in degrees.
Implementation of
HsiDataProvider.selectedHeadingMag
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:113
trackMag
• Readonly
trackMag: Subscribable
<null
| number
>
The current magnetic ground track, in degrees, or null
if ground track is not available.
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:105
turnRate
• Readonly
turnRate: Subscribable
<number
>
The current turn rate, in degrees per second.
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:99
Methods
destroy
▸ destroy(): void
Destroys this data provider. Once destroyed, this data provider will no longer update its provided data, and can no longer be paused or resumed.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:370
init
▸ init(paused?
): void
Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
paused | boolean | false | Whether to initialize this data provider as paused. If true , this data provider will provide an initial set of data but will not update the provided data until it is resumed. Defaults to false . |
Returns
void
Throws
Error if this data provider is dead.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:210
pause
▸ pause(): void
Pauses this data provider. Once paused, this data provider will not update its data until it is resumed.
Returns
void
Throws
Error if this data provider is dead.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:331
resume
▸ resume(): void
Resumes this data provider. Once resumed, this data provider will continuously update its data until paused or destroyed.
Returns
void
Throws
Error if this data provider is dead.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HSI/HsiDataProvider.ts:292