Skip to main content

Class: GduConfig

A configuration object which defines options related to a GDU.

Implements

Constructors

constructor

new GduConfig(baseInstrument, element, defaultIndex?): GduConfig

Creates a new GduConfig from a configuration document element.

Parameters

NameTypeDefault 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

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/GduDefsConfig.ts:125

Properties

altimeterIndex

Readonly altimeterIndex: number

The index of the sim altimeter used by the GDU.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/GduDefsConfig.ts:108


defaultAdcIndex

Readonly defaultAdcIndex: number

The index of the default ADC used by the GDU.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/GduDefsConfig.ts:102


defaultAhrsIndex

Readonly defaultAhrsIndex: number

The index of the default AHRS used by the GDU.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/GduDefsConfig.ts:105


fmsPosDefinition

Readonly fmsPosDefinition: Readonly<FmsPositionDefinition>

A definition describing the GDU's FMS geo-positioning system.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/GduDefsConfig.ts:116


index

Readonly index: number

The index of the GDU.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/GduDefsConfig.ts:93


supportBaroPreselect

Readonly supportBaroPreselect: boolean

Whether the GDU supports altimeter baro preselect.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/GduDefsConfig.ts:111


type

Readonly type: InstrumentType

The type of the GDU.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/GduDefsConfig.ts:96


typeIndex

Readonly typeIndex: number

The type index of the GDU.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/AvionicsConfig/GduDefsConfig.ts:99