Skip to main content

Class: GduDefsConfig

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

A configuration object which defines options related to GDUs.

Implements

Constructors

Constructor

new GduDefsConfig(baseInstrument, element): GduDefsConfig

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

Creates a new GduDefsConfig from a configuration document element.

Parameters

ParameterTypeDescription
baseInstrumentBaseInstrumentThe BaseInstrument element associated with the configuration.
elementundefined | ElementA configuration document element.

Returns

GduDefsConfig

Properties

count

readonly count: number

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

The number of GDUs installed in the plane.


definitions

readonly definitions: readonly GduConfig[]

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

GDU definitions. The index of each definition's position in the array corresponds to the index of its GDU.