Class: TemperatureFormat
Validator and Formatter for temperatures
Implements
Validator
<number
>Formatter
<number
>
Constructors
constructor
• new TemperatureFormat(): TemperatureFormat
Returns
Properties
nullValueString
• nullValueString: string
= '□□□°C'
Implementation of
Formatter.nullValueString
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:201
Methods
format
▸ format(value
): string
Parameters
Name | Type |
---|---|
value | number |
Returns
string
Inherit Doc
Implementation of
Formatter.format
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:204
parse
▸ parse(input
): null
| number
Parameters
Name | Type |
---|---|
input | string |
Returns
null
| number
Inherit Doc
Implementation of
Validator.parse
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:181