Skip to main content

Class: SpeedConfig

A configuration object which defines a factory for an airspeed value presented as knots indicated airspeed.

The airspeed value can be defined from a specific indicated airspeed, mach number, true airspeed, or angle-of-attack value, from a one-dimensional lookup table of any of the previous value types keyed on pressure altitude, or from an aircraft reference speed.

Implements

Constructors

constructor

new SpeedConfig(element): SpeedConfig

Creates a new SpeedConfig from a configuration document element.

Parameters

NameTypeDescription
elementElementA configuration document element.

Returns

SpeedConfig

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Config/SpeedConfig.ts:41

Properties

isNumericConfig

Readonly isNumericConfig: true

Flags this object as a NumericConfig.

Implementation of

NumericConfig.isNumericConfig

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Config/SpeedConfig.ts:29


isResolvableConfig

Readonly isResolvableConfig: true

Flags this object as a ResolvableConfig.

Implementation of

NumericConfig.isResolvableConfig

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Config/SpeedConfig.ts:28


type

Readonly type: SpeedConfigType

The type of this config.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Config/SpeedConfig.ts:32


value

Readonly value: number | LookupTableConfig | VSpeedValueKey

The value of this config.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Config/SpeedConfig.ts:35

Methods

resolve

resolve(): (context: AirspeedDefinitionContext) => number | MappedSubscribable<number>

Resolves this config to a value.

Returns

fn

This config's resolved value.

▸ (context): number | MappedSubscribable<number>

Parameters
NameType
contextAirspeedDefinitionContext
Returns

number | MappedSubscribable<number>

Implementation of

NumericConfig.resolve

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Config/SpeedConfig.ts:92