Class: ComFrequencyFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:110
FmcFormat for parsing and displaying a com frequency Also accepts various shorthand formats. ex. 'xxx', 'xxxx', 'xxxxx', 'xxxxxx,'xxx.xxx', 'xxx.xx', 'xxx.x'
Implements
Constructors
Constructor
new ComFrequencyFormat():
ComFrequencyFormat
Returns
ComFrequencyFormat
Properties
nullValueString
nullValueString:
string
='---.---'
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:112
The string to show when a value is null
Implementation of
Methods
format()
format(
freq
):string
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:115
Parameters
Parameter | Type |
---|---|
freq | number |
Returns
string
Inherit Doc
Implementation of
parse()
parse(
input
):Promise
<null
|number
>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:120
Parameters
Parameter | Type |
---|---|
input | string |
Returns
Promise
<null
| number
>