Skip to main content

Class: FuelComputer

An instrument that tracks fuel state for use by the G1000 systems page.

Constructors

constructor

new FuelComputer(bus): FuelComputer

Create a fuel computer.

Parameters

NameTypeDescription
busEventBusAn event bus

Returns

FuelComputer

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FuelComputer.ts:206

Methods

init

init(): void

Intialize the instrument.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FuelComputer.ts:215


onUpdate

onUpdate(): void

Perform events for the update loop.

Returns

void

Defined in

workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FuelComputer.ts:231