Class: ComFrequencyFormat
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
Validator
<number
>Formatter
<number
>
Constructors
constructor
• new ComFrequencyFormat(): ComFrequencyFormat
Returns
Properties
nullValueString
• nullValueString: string
= '---.---'
Implementation of
Formatter.nullValueString
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:113
Methods
format
▸ format(freq
): string
Parameters
Name | Type |
---|---|
freq | 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:116
parse
▸ parse(input
): Promise
<null
| number
>
Parameters
Name | Type |
---|---|
input | string |
Returns
Promise
<null
| number
>
Inherit Doc
Implementation of
Validator.parse
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:121