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
Name | Type | Description |
---|---|---|
bus | EventBus | An event bus |
Returns
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