Class: TemperatureFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:177
Validator and Formatter for temperatures
Implements
Constructors
Constructor
new TemperatureFormat():
TemperatureFormat
Returns
TemperatureFormat
Properties
nullValueString
nullValueString:
string
='□□□°C'
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:200
The string to show when a value is null
Implementation of
Methods
format()
format(
value
):string
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:203
Parameters
Parameter | Type |
---|---|
value | number |
Returns
string
Inherit Doc
Implementation of
parse()
parse(
input
):null
|number
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:180
Parameters
Parameter | Type |
---|---|
input | string |
Returns
null
| number