Skip to main content

Class: DefaultSpeedInfoDataProvider

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:30

A default implementation of SpeedInfoDataProvider.

Implements

Constructors

Constructor

new DefaultSpeedInfoDataProvider(bus, adcIndex, fmsPosIndex): DefaultSpeedInfoDataProvider

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:72

Constructor.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
adcIndexnumber | Subscribable<number>The index of the ADC that is the source of this provider's airspeed data.
fmsPosIndexnumber | Subscribable<number>The index of the FMS geo-positioning system that is the source of this provider's ground speed data.

Returns

DefaultSpeedInfoDataProvider

Properties

gsKnots

readonly gsKnots: Subscribable<number>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:37

The current ground speed, in knots.

Implementation of

SpeedInfoDataProvider.gsKnots


isAirDataFailed

readonly isAirDataFailed: Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:41

Whether air data is in a failed state.

Implementation of

SpeedInfoDataProvider.isAirDataFailed


isGpsDataFailed

readonly isGpsDataFailed: Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:51

Whether GPS data is in a failed state.

Implementation of

SpeedInfoDataProvider.isGpsDataFailed


isGpsDeadReckoning

readonly isGpsDeadReckoning: Subscribable<boolean>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:46

Whether GPS position is in dead reckoning mode.

Implementation of

SpeedInfoDataProvider.isGpsDeadReckoning


tasKnots

readonly tasKnots: Subscribable<number>

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:33

The current true airspeed, in knots.

Implementation of

SpeedInfoDataProvider.tasKnots

Methods

destroy()

destroy(): void

Defined in: workingtitle-instruments-g3000/html_ui/PFD/Components/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:172

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/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:88

Initializes this data provider. Once initialized, this data provider will continuously update its data until paused or destroyed.

Parameters

ParameterTypeDefault valueDescription
pausedbooleanfalseWhether 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/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:152

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/BottomInfoPanel/SpeedInfo/SpeedInfoDataProvider.ts:130

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.