Skip to main content

Class: WindFormat

Format for entering wind values

Implements

  • Validator<WindEntry>
  • Formatter<WindEntry>

Constructors

constructor

new WindFormat(): WindFormat

Returns

WindFormat

Properties

nullValueString

nullValueString: string = '---°/---'

Implementation of

Formatter.nullValueString

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:764

Methods

format

format(value): string

Parameters

NameType
valueWindEntry

Returns

string

Inherit Doc

Implementation of

Formatter.format

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:767


parse

parse(input): null | WindEntry

Parameters

NameType
inputstring

Returns

null | WindEntry

Inherit Doc

Implementation of

Validator.parse

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Framework/FmcFormats.ts:739