Skip to main content

Class: InstrumentConfig

A configuration object which defines options for a G3X Touch instrument.

Constructors

constructor

new InstrumentConfig(instrument, avionicsConfig, configDocument, instrumentConfigElement): InstrumentConfig

Creates an InstrumentConfig from an XML configuration document.

Parameters

NameTypeDescription
instrumentBaseInstrumentThe instrument for which this config is being created.
avionicsConfigAvionicsConfigThe general avionics configuration object.
configDocumentDocumentAn XML configuration document.
instrumentConfigElementundefined | ElementThe root element of the configuration document's section pertaining to the config's instrument.

Returns

InstrumentConfig

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:66

Properties

airspeedIndicator

Readonly airspeedIndicator: AirspeedIndicatorConfig

A config which defines options for the airspeed indicator.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:38


backlight

Readonly backlight: BacklightConfig

A config which defines backlight options.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:29


bingMapOptimization

Readonly bingMapOptimization: BingMapOptimizationConfig

A config which defines options for bing map optimization.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:44


flapsGauge

Readonly flapsGauge: undefined | FlapsGaugeConfig

A config which defines options for the instrument's flaps gauge.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:47


gduFormat

Readonly gduFormat: GduFormat

The instrument's GDU format.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:20


horizon

Readonly horizon: HorizonConfig

A config which defines options for the horizon display.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:35


type

Readonly type: InstrumentType

The instrument's configured type.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:23


typeIndex

Readonly typeIndex: number

The instrument's configured type index.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:26


useAileronTrim

Readonly useAileronTrim: boolean = false

A flag indicating if aileron trim should be displayed on the instrument.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:56


useElevatorTrim

Readonly useElevatorTrim: boolean = false

A flag indicating if elevator trim should be displayed on the instrument.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:50


useRudderTrim

Readonly useRudderTrim: boolean = false

A flag indicating if rudder trim should be displayed on the instrument.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:53


vSpeeds

Readonly vSpeeds: readonly VSpeedDefinition[]

Reference V-speed definitions.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:32


vsi

Readonly vsi: G3XVsiConfig

A config which defines options for the vertical speed indicator.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/InstrumentConfig/InstrumentConfig.ts:41