Skip to main content

Class: WeightFuelComputer

A computer for weight and fuel calculations.

Constructors

constructor

new WeightFuelComputer(bus, fms, fmsPosIndex): WeightFuelComputer

Constructor.

Parameters

NameTypeDescription
busEventBusThe event bus.
fmsFms<"">The FMS.
fmsPosIndexnumber | Subscribable<number>The index of the FMS geo-positioning system that is the source of this computer's ground speed data.

Returns

WeightFuelComputer

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/Performance/WeightFuel/WeightFuelComputer.ts:111

Methods

destroy

destroy(): void

Destroys this computer. Once destroyed, this computer will no longer perform any calculations or updates, and cannot be paused or resumed.

Returns

void

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/Performance/WeightFuel/WeightFuelComputer.ts:296


init

init(paused?): void

Initializes this computer.

Parameters

NameTypeDefault valueDescription
pausedbooleanfalseWhether to initialize this computer as paused. Defaults to false.

Returns

void

Throws

Error if this computer has been destroyed.

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/Performance/WeightFuel/WeightFuelComputer.ts:124


pause

pause(): void

Pauses this computer. Once paused, this computer will not perform any calculations or updates until it is resumed.

Returns

void

Throws

Error if this computer has been destroyed.

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/Performance/WeightFuel/WeightFuelComputer.ts:209


reset

reset(): void

Resets the fuel on board setting value to uninitialized, the cargo weight setting value to zero, and the fuel totalizer's fuel remaining value to zero.

Returns

void

Throws

Error if this computer has been destroyed.

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/Performance/WeightFuel/WeightFuelComputer.ts:241


resume

resume(): void

Resumes this computer. Once resumed, this computer will perform calculations and updates as necessary until it is paused or destroyed.

Returns

void

Throws

Error if this computer has been destroyed.

Defined in

workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/MFD/Performance/WeightFuel/WeightFuelComputer.ts:178