Class: PerfQnhFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:213
Format for XX.XX inHg QNH values
Implements
Constructors
Constructor
new PerfQnhFormat(
manualQnhSubject
):PerfQnhFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:219
Ctor
Parameters
Parameter | Type | Description |
---|---|---|
manualQnhSubject | Subscribable <any > | subject for manually entered QNH |
Returns
PerfQnhFormat
Properties
nullValueString
nullValueString:
string
='--.-- IN'
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:251
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:254
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:225
Parameters
Parameter | Type |
---|---|
input | string |
Returns
null
| number