Skip to main content

Class: MfdGpsInfoDataProvider

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:21

A provider of status information for a GDU's selected GPS system.

Constructors​

Constructor​

new MfdGpsInfoDataProvider(bus, gduIndex, gpsSatComputers): MfdGpsInfoDataProvider

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:117

Creates a new instance of MfdGpsInfoDataProvider.

Parameters​

ParameterTypeDescription
busEventBusThe event bus to use with this instance.
gduIndexnumberThe index of the GDU associated with this data provider.
gpsSatComputersreadonly (undefined | GPSSatComputer)[]An array of the GPS computers used by the GPS receiver systems connected to the G3X Touch, indexed by GPS receiver system index.

Returns​

MfdGpsInfoDataProvider

Properties​

accuracy​

readonly accuracy: NumberUnitSubject<Distance, SimpleUnit<Distance>>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:53


altitude​

readonly altitude: Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:75

The geometric altitude of the the GDU's selected GPS system's position solution, or NaN if a position solution is not available.


channelArray​

readonly channelArray: SubscribableArray<GpsInfoChannelData>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:47

An array of data items describing the satellites tracked by each of the selected GPS system's receiver channels. The items are presented in no particular order.


channelCount​

readonly channelCount: Subscribable<number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:32

The total number of channels supported by the GDU's selected GPS system.


gpsIndex​

readonly gpsIndex: Subscribable<number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:28

The index of the GDU's selected GPS system.


groundSpeed​

readonly groundSpeed: Subscribable<NumberUnitInterface<Speed, Unit<Speed>>>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:82

The ground speed of the the GDU's selected GPS system's position solution, or NaN if a position solution is not available.


groundTrack​

readonly groundTrack: Subscribable<NumberUnitInterface<"navangle", Unit<"navangle">>>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:89

The ground track of the the GDU's selected GPS system's position solution, or NaN if a position solution is not available.


hdop​

readonly hdop: Subscribable<number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:57

The HDOP value of the GDU's selected GPS system's position solution, or NaN if a position solution is not available.


pdop​

readonly pdop: Subscribable<number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:51

The PDOP value of the GDU's selected GPS system's position solution, or NaN if a position solution is not available.


position​

readonly position: Subscribable<GeoPointInterface>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:68

The latitude/longitude of the the GDU's selected GPS system's position solution. Latitude/longitude values will be equal to NaN if a position solution is not available.


sbasState​

readonly sbasState: Subscribable<GPSSystemSBASState>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:40

The SBAS state of the GDU's selected GPS system.


systemState​

readonly systemState: Subscribable<GPSSystemState>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:36

The state of the GDU's selected GPS system.


time​

readonly time: Subscribable<number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:93

The current time, as a Javascript timestamp.


vdop​

readonly vdop: Subscribable<number>

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:61

The VDOP value of the GDU's selected GPS system's position solution, or NaN if a position solution is not available.

Methods​

destroy()​

destroy(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:366

Destroys this data provider.

Returns​

void


init()​

init(paused): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:132

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 has been destroyed.


pause()​

pause(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:207

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 has been destroyed.


resume()​

resume(): void

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:188

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 has been destroyed.