Skip to main content

Class: PassengerDataFormat

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/PerfInitPage.ts:28

Implements​

Constructors​

Constructor​

new PassengerDataFormat(): PassengerDataFormat

Returns​

PassengerDataFormat

Properties​

nullValueString​

nullValueString: string = ' -/---[d-text]LB[s-text]'

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/PerfInitPage.ts:29

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/Pages/PerfInitPage.ts:60

Parameters​

ParameterType
valuePassengerDataEntry

Returns​

string

Inherit Doc​

Implementation of​

Formatter.format


parse()​

parse(input): null | PassengerDataEntry

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/FMC/Pages/PerfInitPage.ts:32

Parameters​

ParameterType
inputstring

Returns​

null | PassengerDataEntry

Inherit Doc​

Implementation of​

Validator.parse