Class: DefaultSpeedInfoDataProvider
A default implementation of SpeedInfoDataProvider.
Implements
Constructors
constructor
• new DefaultSpeedInfoDataProvider(bus
, adcIndex
, fmsPosIndex
): DefaultSpeedInfoDataProvider
Constructor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
adcIndex | number | Subscribable <number > | The index of the ADC that is the source of this provider's airspeed data. |
fmsPosIndex | number | Subscribable <number > | The index of the FMS geo-positioning system that is the source of this provider's ground speed data. |
Returns
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:72
Properties
gsKnots
• Readonly
gsKnots: Subscribable
<number
>
The current ground speed, in knots.
Implementation of
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:37
isAirDataFailed
• Readonly
isAirDataFailed: Subscribable
<boolean
>
Whether air data is in a failed state.
Implementation of
SpeedInfoDataProvider.isAirDataFailed
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:41
isGpsDataFailed
• Readonly
isGpsDataFailed: Subscribable
<boolean
>
Whether GPS data is in a failed state.
Implementation of
SpeedInfoDataProvider.isGpsDataFailed
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:51
isGpsDeadReckoning
• Readonly
isGpsDeadReckoning: Subscribable
<boolean
>
Whether GPS position is in dead reckoning mode.
Implementation of
SpeedInfoDataProvider.isGpsDeadReckoning
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:46
tasKnots
• Readonly
tasKnots: Subscribable
<number
>
The current true airspeed, in knots.
Implementation of
SpeedInfoDataProvider.tasKnots
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:33
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/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:172
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/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:88
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/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:152
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/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:130