Skip to main content

Class: IauConfig

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/AvionicsConfig/IauDefsConfig.ts:83

A configuration object which defines options related to an IAU.

Implements

Constructors

Constructor

new IauConfig(baseInstrument, element, defaultIndex): IauConfig

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/AvionicsConfig/IauDefsConfig.ts:99

Creates a new IauConfig from a configuration document element.

Parameters

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

Returns

IauConfig

Properties

gpsDefinition

readonly gpsDefinition: Readonly<GpsReceiverDefinition>

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/AvionicsConfig/IauDefsConfig.ts:90

A definition describing the IAU's GPS receiver.


index

readonly index: number

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/AvionicsConfig/IauDefsConfig.ts:85

The index of the IAU.