Class: GduConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:91
A configuration object which defines options related to a GDU.
Implements
Constructors
Constructor
new GduConfig(
baseInstrument,element,defaultIndex):GduConfig
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:125
Creates a new GduConfig from a configuration document element.
Parameters
| Parameter | Type | Default value | Description |
|---|---|---|---|
baseInstrument | BaseInstrument | undefined | The BaseInstrument element associated with the configuration. |
element | undefined | Element | undefined | A configuration document element. |
defaultIndex | number | 1 | The GDU index to assign to the config if one cannot be parsed from the configuration document element. Defaults to 1. |
Returns
GduConfig
Properties
altimeterIndex
readonlyaltimeterIndex:number
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:108
The index of the sim altimeter used by the GDU.
defaultAdcIndex
readonlydefaultAdcIndex:number
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:102
The index of the default ADC used by the GDU.
defaultAhrsIndex
readonlydefaultAhrsIndex:number
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:105
The index of the default AHRS used by the GDU.
fmsPosDefinition
readonlyfmsPosDefinition:Readonly<FmsPositionDefinition>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:116
A definition describing the GDU's FMS geo-positioning system.
index
readonlyindex:number
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:93
The index of the GDU.
supportBaroPreselect
readonlysupportBaroPreselect:boolean
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:111
Whether the GDU supports altimeter baro preselect.
type
readonlytype:InstrumentType
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:96
The type of the GDU.
typeIndex
readonlytypeIndex:number
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:99
The type index of the GDU.