Skip to main content

Class: AdfFrequencyFormat

FmcFormat for parsing and displaying a adf frequency Accepts an XXX.Y string

Implements

  • Validator<number>
  • Formatter<number>

Constructors

constructor

new AdfFrequencyFormat(): AdfFrequencyFormat

Returns

AdfFrequencyFormat

Properties

nullValueString

nullValueString: string = '---.-'

Implementation of

Formatter.nullValueString

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/TunePage.ts:19

Methods

format

format(freq): string

Parameters

NameType
freqnumber

Returns

string

Inherit Doc

Implementation of

Formatter.format

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/TunePage.ts:22


parse

parse(freq): null | number

Parameters

NameType
freqstring

Returns

null | number

Inherit Doc

Implementation of

Validator.parse

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/TunePage.ts:27