Skip to main content

Class: PerfQnhFormat

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

Format for XX.XX inHg QNH values

Implements​

  • Validator<number>
  • Formatter<number>

Constructors​

Constructor​

new PerfQnhFormat(manualQnhSubject): PerfQnhFormat

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

Ctor

Parameters​

ParameterTypeDescription
manualQnhSubjectSubscribable<any>subject for manually entered QNH

Returns​

PerfQnhFormat

Properties​

nullValueString​

nullValueString: string = '--.-- IN'

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

The string to show when a value is null

Implementation of​

Formatter.nullValueString

Methods​

format()​

format(value): string

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

Parameters​

ParameterType
valuenumber

Returns​

string

Inherit Doc​

Implementation of​

Formatter.format


parse()​

parse(input): null | number

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

Parameters​

ParameterType
inputstring

Returns​

null | number

Inherit Doc​

Implementation of​

Validator.parse