To update parameters of fuel consumption math, use the command unit/update_fuel_math_params:
svc=unit/update_fuel_math_params¶ms={"itemId":<long>, "idling":<double>, "urban":<double>, "suburban":<double>, "loadCoef":<double>}
Name | Description |
---|---|
itemId | unit ID |
idling | idling, litres per hour |
urban | urban cycle, litres per 100 km |
suburban | suburban cycle, litres per 100 km |
loadCoef | coefficient when moving under load |
{} /* empty object if execution successful, if not - error code */