Skip to main content

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

ParameterTypeDefault valueDescription
baseInstrumentBaseInstrumentundefinedThe BaseInstrument element associated with the configuration.
elementundefined | ElementundefinedA configuration document element.
defaultIndexnumber1The GDU index to assign to the config if one cannot be parsed from the configuration document element. Defaults to 1.

Returns

GduConfig

Properties

altimeterIndex

readonly altimeterIndex: 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

readonly defaultAdcIndex: 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

readonly defaultAhrsIndex: 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

readonly fmsPosDefinition: 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

readonly index: number

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:93

The index of the GDU.


supportBaroPreselect

readonly supportBaroPreselect: boolean

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:111

Whether the GDU supports altimeter baro preselect.


type

readonly type: InstrumentType

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:96

The type of the GDU.


typeIndex

readonly typeIndex: number

Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/AvionicsConfig/GduDefsConfig.ts:99

The type index of the GDU.