Class: NavFrequencyFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:26
FmcFormat for displaying a nav frequency
Accepts an XXX.YY string
Implements
Constructors
Constructor
new NavFrequencyFormat(
fms,index):NavFrequencyFormat
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:42
Constructs a FrequencyFormat
Parameters
| Parameter | Type | Description |
|---|---|---|
fms | WT21Fms | the FMS |
index | 1 | 2 | which nav radio is this for |
Returns
NavFrequencyFormat
Properties
nullValueString
nullValueString:
string='---.--'
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:44
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:47
Formats a value of a type into a string
Parameters
| Parameter | Type | Description |
|---|---|---|
value | FreqMode | the value to format |
Returns
string
Implementation of
parse()
parse(
input):Promise<null|number>
Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21v2/FMC/Framework/FmcFormats.ts:58
Parameters
| Parameter | Type |
|---|---|
input | string |
Returns
Promise<null | number>