Class: NavFrequencyFormat
FmcFormat for displaying a nav frequency
Accepts an XXX.YY string
Implements
Validator
<number
>Formatter
<FreqMode
>
Constructors
constructor
• new NavFrequencyFormat(fms
, index
): NavFrequencyFormat
Constructs a FrequencyFormat
Parameters
Name | Type | Description |
---|---|---|
fms | WT21Fms | the FMS |
index | 1 | 2 | which nav radio is this for |
Returns
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:43
Properties
nullValueString
• nullValueString: string
= '---.--'
Implementation of
Formatter.nullValueString
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:45
Methods
format
▸ format(«destructured»
): string
Parameters
Name | Type |
---|---|
«destructured» | FreqMode |
Returns
string
Implementation of
Formatter.format
Defined in
workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:48
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:59