Class: DefaultHsiDataProvider
A default implementation of HsiDataProvider.
Implements
Constructors
constructor
• new DefaultHsiDataProvider(bus
, ahrsIndex
, fmsPosIndex
, activeNavIndicator
, approachPreviewIndicator
, bearing1Indicator
, bearing2Indicator
): DefaultHsiDataProvider
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
ahrsIndex | number | Subscribable <number > | The index of the ADC that is the source of this provider's data. |
fmsPosIndex | number | Subscribable <number > | The index of the FMS geo-positioning system that is the source of this provider's data. |
activeNavIndicator | G3000NavIndicator | The nav indicator for the active nav source. |
approachPreviewIndicator | G3000NavIndicator | The nav indicator for the approach course preview. |
bearing1Indicator | G3000NavIndicator | The nav indicator for bearing pointer 1. |
bearing2Indicator | G3000NavIndicator | The nav indicator for bearing pointer 2. |
Returns
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:146
Properties
activeNavIndicator
• Readonly
activeNavIndicator: G3000NavIndicator
The nav indicator for the active nav source.
Implementation of
HsiDataProvider.activeNavIndicator
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:150
approachPreviewIndicator
• Readonly
approachPreviewIndicator: G3000NavIndicator
The nav indicator for the approach course preview.
Implementation of
HsiDataProvider.approachPreviewIndicator
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:151
bearing1Indicator
• Readonly
bearing1Indicator: G3000NavIndicator
The nav indicator for bearing pointer 1.
Implementation of
HsiDataProvider.bearing1Indicator
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:152
bearing2Indicator
• Readonly
bearing2Indicator: G3000NavIndicator
The nav indicator for bearing pointer 2.
Implementation of
HsiDataProvider.bearing2Indicator
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:153
headingMag
• Readonly
headingMag: Subscribable
<number
>
The current magnetic heading, in degrees.
Implementation of
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:72
isGpsDataFailed
• Readonly
isGpsDataFailed: Subscribable
<boolean
>
Whether GPS data is in a failure state.
Implementation of
HsiDataProvider.isGpsDataFailed
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:123
isHdgSyncModeActive
• Readonly
isHdgSyncModeActive: Subscribable
<boolean
>
Whether HDG sync mode is active.
Implementation of
HsiDataProvider.isHdgSyncModeActive
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:97
isHeadingDataFailed
• Readonly
isHeadingDataFailed: Subscribable
<boolean
>
Whether heading data is in a failure state.
Implementation of
HsiDataProvider.isHeadingDataFailed
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:119
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-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:102
magVar
• Readonly
magVar: Subscribable
<number
>
The magnetic variation at the plane's current position, in degrees.
Implementation of
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:89
obsCourse
• Readonly
obsCourse: Subscribable
<number
>
The current magnetic OBS course, in degrees.
Implementation of
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:115
obsSuspMode
• Readonly
obsSuspMode: Subscribable
<ObsSuspModes
>
The current LNAV OBS/suspend mode.
Implementation of
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:113
position
• Readonly
position: Subscribable
<GeoPointInterface
>
The current position of the plane.
Implementation of
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:85
selectedHeadingMag
• Readonly
selectedHeadingMag: Subscribable
<number
>
The current selected magnetic heading, in degrees.
Implementation of
HsiDataProvider.selectedHeadingMag
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:93
trackMag
• Readonly
trackMag: Subscribable
<number
>
The current magnetic ground track, in degrees.
Implementation of
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:81
turnRate
• Readonly
turnRate: Subscribable
<number
>
The current turn rate, in degrees per second.
Implementation of
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:76
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-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:308
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-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:166
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-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:272
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-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/HSI/HsiDataProvider.ts:236