aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-18 13:29:13 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-18 13:29:13 +0500
commit02a8e81aba5c01da45d10264a48e9b99bb3a2186 (patch)
treea0d3da4ade303fd992d7d30c19405354c9369077
parent311a106c0339199b3398b5f53c72286db92d5fcf (diff)
downloadtraccar-server-02a8e81aba5c01da45d10264a48e9b99bb3a2186.tar.gz
traccar-server-02a8e81aba5c01da45d10264a48e9b99bb3a2186.tar.bz2
traccar-server-02a8e81aba5c01da45d10264a48e9b99bb3a2186.zip
Removed instant fuel consumption
-rw-r--r--src/org/traccar/model/Position.java1
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index e0fda40f0..aacf57c33 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/org/traccar/model/Position.java
@@ -40,7 +40,6 @@ public class Position extends Message {
public static final String KEY_CID = "cid";
public static final String KEY_FUEL = "fuel";
public static final String KEY_FUEL_CONSUMPTION = "fuelConsumption";
- public static final String KEY_FUEL_INSTANT_CONSUMPTION = "fuelInstantConsumption";
public static final String KEY_RFID = "rfid";
public static final String KEY_VERSION = "version";
public static final String KEY_TYPE = "type";
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
index db28bae51..d09aad756 100644
--- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -189,7 +189,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
getLastLocation(position, dateBuilder.getDate());
position.set(Position.KEY_ODOMETER, parser.nextInt());
- position.set(Position.KEY_FUEL_INSTANT_CONSUMPTION, parser.next());
+ parser.next(); // instant fuel consumption
position.set(Position.KEY_FUEL_CONSUMPTION, parser.next());
position.set(Position.KEY_HOURS, parser.next());
position.set(Position.KEY_OBD_SPEED, parser.next());