Fuel consumption: type of calculation

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 */