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
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus to use with this instance. |
gduIndex | number | The index of the GDU associated with this data provider. |
gpsSatComputers | readonly (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
readonlyaccuracy:NumberUnitSubject<Distance,SimpleUnit<Distance>>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/MFD/MainView/Pages/MfdInfoPage/MfdGpsInfoDataProvider.ts:53
altitude
readonlyaltitude: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
readonlychannelArray: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
readonlychannelCount: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
readonlygpsIndex: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
readonlygroundSpeed: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
readonlygroundTrack: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
readonlyhdop: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
readonlypdop: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
readonlyposition: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
readonlysbasState: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
readonlysystemState: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
readonlytime: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
readonlyvdop: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
| 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 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.