Class: DefaultHsiDataProvider
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:18
A default implementation of HsiDataProvider.
Implements
Constructors
Constructor
new DefaultHsiDataProvider(
bus,ahrsIndex,fmsPosIndex,activeNavIndicator,approachPreviewIndicator,bearing1Indicator,bearing2Indicator):DefaultHsiDataProvider
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:109
Constructor.
Parameters
| Parameter | 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
DefaultHsiDataProvider
Properties
activeNavIndicator
readonlyactiveNavIndicator:G3000NavIndicator
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:113
The nav indicator for the active nav source.
Implementation of
HsiDataProvider.activeNavIndicator
approachPreviewIndicator
readonlyapproachPreviewIndicator:G3000NavIndicator
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:114
The nav indicator for the approach course preview.
Implementation of
HsiDataProvider.approachPreviewIndicator
bearing1Indicator
readonlybearing1Indicator:G3000NavIndicator
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:115
The nav indicator for bearing pointer 1.
Implementation of
HsiDataProvider.bearing1Indicator
bearing2Indicator
readonlybearing2Indicator:G3000NavIndicator
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:116
The nav indicator for bearing pointer 2.
Implementation of
HsiDataProvider.bearing2Indicator
headingMag
readonlyheadingMag:Subscribable<number>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:21
The current magnetic heading, in degrees.
Implementation of
isGpsDataFailed
readonlyisGpsDataFailed:Subscribable<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:72
Whether GPS data is in a failure state.
Implementation of
HsiDataProvider.isGpsDataFailed
isHdgSyncModeActive
readonlyisHdgSyncModeActive:Subscribable<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:46
Whether HDG sync mode is active.
Implementation of
HsiDataProvider.isHdgSyncModeActive
isHeadingDataFailed
readonlyisHeadingDataFailed:Subscribable<boolean>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:68
Whether heading data is in a failure state.
Implementation of
HsiDataProvider.isHeadingDataFailed
lnavXtk
readonlylnavXtk:Subscribable<null|number>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:51
The current LNAV cross-track error, in nautical miles, or null if LNAV is not tracking a path.
Implementation of
magVar
readonlymagVar:Subscribable<number>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:38
The magnetic variation at the plane's current position, in degrees.
Implementation of
obsCourse
readonlyobsCourse:Subscribable<number>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:64
The current magnetic OBS course, in degrees.
Implementation of
obsSuspMode
readonlyobsSuspMode:Subscribable<ObsSuspModes>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:62
The current LNAV OBS/suspend mode.
Implementation of
position
readonlyposition:Subscribable<GeoPointInterface>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:34
The current position of the plane.
Implementation of
selectedHeadingMag
readonlyselectedHeadingMag:Subscribable<number>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:42
The current selected magnetic heading, in degrees.
Implementation of
HsiDataProvider.selectedHeadingMag
trackMag
readonlytrackMag:Subscribable<number>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:30
The current magnetic ground track, in degrees.
Implementation of
turnRate
readonlyturnRate:Subscribable<number>
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:25
The current turn rate, in degrees per second.
Implementation of
Methods
destroy()
destroy():
void
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:247
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
init()
init(
paused):void
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:129
Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.
Parameters
| Parameter | 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.
pause()
pause():
void
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:223
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.
resume()
resume():
void
Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/HSI/DefaultHsiDataProvider.ts:199
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.