Skip to main content

Class: AirspeedCasInputFormat

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:21

Format for a calibrated airspeed input.

Implements​

Constructors​

Constructor​

new AirspeedCasInputFormat(nullValueDisplay, min?, max?): AirspeedCasInputFormat

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:23

Parameters​

ParameterTypeDefault value
nullValueDisplaystring'□□□'
min?numberundefined
max?numberundefined

Returns​

AirspeedCasInputFormat

Inherit Doc​

Properties​

format​

format: FormatterFunction<number>

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:27

Inherit Doc​

Implementation of​

Formatter.format


nullValueString​

nullValueString: string

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:28

The string to show when a value is null

Implementation of​

Formatter.nullValueString


parse()​

parse: (input) => number | Promise<number | null> | null

Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:25

Parameters​

ParameterType
inputstring

Returns​

number | Promise<number | null> | null

Inherit Doc​

Implementation of​

parse.__type