aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gl200TextProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-05-17 16:55:46 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-05-17 16:55:46 +1200
commit4b42dab928b652d95ffa65b251ded885f0904e52 (patch)
tree9037b10de0b587eac925f5bccfd3e5cb4739ce0d /src/org/traccar/protocol/Gl200TextProtocolDecoder.java
parentc83ef50af070f44e3380e960e5fdd0604c9849d3 (diff)
downloadtrackermap-server-4b42dab928b652d95ffa65b251ded885f0904e52.tar.gz
trackermap-server-4b42dab928b652d95ffa65b251ded885f0904e52.tar.bz2
trackermap-server-4b42dab928b652d95ffa65b251ded885f0904e52.zip
Additional Aplicom F parameters
Diffstat (limited to 'src/org/traccar/protocol/Gl200TextProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gl200TextProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Gl200TextProtocolDecoder.java b/src/org/traccar/protocol/Gl200TextProtocolDecoder.java
index 598cee814..232f4cdfb 100644
--- a/src/org/traccar/protocol/Gl200TextProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200TextProtocolDecoder.java
@@ -557,10 +557,10 @@ public class Gl200TextProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_IGNITION, Integer.parseInt(values[index++]) > 0);
}
if (BitUtil.check(reportMask, 2)) {
- position.set("totalVehicleDistance", values[index++]);
+ position.set(Position.KEY_OBD_ODOMETER, values[index++]);
}
if (BitUtil.check(reportMask, 3)) {
- position.set("totalFuelConsumption", Double.parseDouble(values[index++]));
+ position.set(Position.KEY_FUEL_USED, Double.parseDouble(values[index++]));
}
if (BitUtil.check(reportMask, 5) && !values[index++].isEmpty()) {
position.set(Position.KEY_RPM, Integer.parseInt(values[index - 1]));