Class: DefaultAirspeedIndicatorGsDataProvider
A default implementation of AirspeedIndicatorGsDataProvider.
Implements
Constructors
constructor
• new DefaultAirspeedIndicatorGsDataProvider(bus
, fmsPosIndex
): DefaultAirspeedIndicatorGsDataProvider
Creates a new instance of DefaultAirspeedIndicatorGsDataProvider.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
fmsPosIndex | number | Subscribable <number > | The index of the FMS geo-positioning system that is the source of this provider's data. |
Returns
DefaultAirspeedIndicatorGsDataProvider
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/AirspeedIndicator/AirspeedIndicatorGsDataProvider.ts:41
Properties
gsKnots
• Readonly
gsKnots: Subscribable
<number
>
The current ground speed, in knots.
Implementation of
AirspeedIndicatorGsDataProvider.gsKnots
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/AirspeedIndicator/AirspeedIndicatorGsDataProvider.ts:25
isDataFailed
• Readonly
isDataFailed: Subscribable
<boolean
>
Whether ground speed data is in a failure state.
Implementation of
AirspeedIndicatorGsDataProvider.isDataFailed
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/AirspeedIndicator/AirspeedIndicatorGsDataProvider.ts:28
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/AirspeedIndicator/AirspeedIndicatorGsDataProvider.ts:120
init
▸ init(paused?
): void
Initializes this data provider. Once initialized
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/AirspeedIndicator/AirspeedIndicatorGsDataProvider.ts:54
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/AirspeedIndicator/AirspeedIndicatorGsDataProvider.ts:101
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/AirspeedIndicator/AirspeedIndicatorGsDataProvider.ts:82