Fuel consumption: type of calculation

This method is deprecated. To set up Fuel sensor consumption (see. Fuel Sensor Configuration).

To change the type of fuel consumption calculation, use the command unit/update_fuel_calc_types:

svc=unit/update_fuel_calc_types&params={"itemId":<long>,
					"calcTypes":<ubyte>}

Parameters

Name Description
itemId unit ID
calcTypes types of fuel consumption calculation (see Fuel consumption)

Response

{}	/* empty object if execution successful, if not - error code */
Follow us on Facebook Gurtam Wialon Twitter Gurtam Wialon info@gurtam.com   |   Copyright © 2002-2021 Gurtam