Skip to main content

Class: PerfQnhFormat

Format for XX.XX inHg QNH values

Implements

  • Validator<number>
  • Formatter<number>

Constructors

constructor

new PerfQnhFormat(manualQnhSubject): PerfQnhFormat

Ctor

Parameters

NameTypeDescription
manualQnhSubjectSubscribable<any>subject for manually entered QNH

Returns

PerfQnhFormat

Defined in

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

Properties

nullValueString

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

Implementation of

Formatter.nullValueString

Defined in

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

Methods

format

format(value): string

Parameters

NameType
valuenumber

Returns

string

Inherit Doc

Implementation of

Formatter.format

Defined in

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


parse

parse(input): null | number

Parameters

NameType
inputstring

Returns

null | number

Inherit Doc

Implementation of

Validator.parse

Defined in

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