aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gl200ProtocolDecoder.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-02-25 21:04:33 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-03-04 16:04:01 -0500
commit9d6871fecda9458a8fbf4b9f2a8b2859ae0f2ecf (patch)
treee8c059e5cb07749ee7693a9d303139c2069adbe7 /src/org/traccar/protocol/Gl200ProtocolDecoder.java
parente849902d7a5aa564bd930465f04f6d4b8498ddf2 (diff)
downloadtrackermap-server-9d6871fecda9458a8fbf4b9f2a8b2859ae0f2ecf.tar.gz
trackermap-server-9d6871fecda9458a8fbf4b9f2a8b2859ae0f2ecf.tar.bz2
trackermap-server-9d6871fecda9458a8fbf4b9f2a8b2859ae0f2ecf.zip
Renamed Position.KEY_FUEL to Position.KEY_FUEL_LEVEL;
Diffstat (limited to 'src/org/traccar/protocol/Gl200ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gl200ProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/Gl200ProtocolDecoder.java b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
index 4103ebba6..74a734143 100644
--- a/src/org/traccar/protocol/Gl200ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gl200ProtocolDecoder.java
@@ -455,7 +455,7 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder {
position.set("dtcsNumber", parser.next());
position.set("dtcsCodes", parser.next());
position.set(Position.KEY_THROTTLE, parser.next());
- position.set(Position.KEY_FUEL, parser.next());
+ position.set(Position.KEY_FUEL_LEVEL, parser.next());
position.set(Position.KEY_OBD_ODOMETER, parser.nextInt() * 1000);
decodeLocation(position, parser);
@@ -533,7 +533,7 @@ public class Gl200ProtocolDecoder extends BaseProtocolDecoder {
}
position.set(Position.KEY_RPM, parser.next());
- position.set(Position.KEY_FUEL, parser.next());
+ position.set(Position.KEY_FUEL_LEVEL, parser.next());
// workaround for wrong location time
if (parser.hasNext(6)) {