Class: AirspeedCasInputFormat
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:21
Format for a calibrated airspeed input.
Implements
FormatterValidator<number>
Constructors
Constructor
new AirspeedCasInputFormat(
nullValueDisplay,min?,max?):AirspeedCasInputFormat
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:23
Parameters
| Parameter | Type | Default value |
|---|---|---|
nullValueDisplay | string | '□□□' |
min? | number | undefined |
max? | number | undefined |
Returns
AirspeedCasInputFormat
Inherit Doc
Properties
format
format:
FormatterFunction<number>
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:27
Inherit Doc
Implementation of
FormatterValidator.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
FormatterValidator.nullValueString
parse()
parse: (
input) =>null|number|Promise<null|number>
Defined in: workingtitle-instruments-epic2/shared/Formatters/Epic2InputFormats.ts:25
Parameters
| Parameter | Type |
|---|---|
input | string |
Returns
null | number | Promise<null | number>
Inherit Doc
Implementation of
FormatterValidator.parse