Class: FuelComputer
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FuelComputer.ts:193
An instrument that tracks fuel state for use by the G1000 systems page.
Constructors
Constructor
new FuelComputer(
bus
):FuelComputer
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FuelComputer.ts:206
Create a fuel computer.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | An event bus |
Returns
FuelComputer
Methods
init()
init():
void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FuelComputer.ts:215
Intialize the instrument.
Returns
void
onUpdate()
onUpdate():
void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/FuelComputer.ts:231
Perform events for the update loop.
Returns
void