diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-17 16:38:02 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-04-17 16:38:02 +1200 |
commit | d643e9a75f1c6580d098b68cffc2c709db611d8e (patch) | |
tree | b0d146aaa67352c46d4c5cfbd19aaa2cf6d2973e /src/org/traccar/protocol/AquilaProtocolDecoder.java | |
parent | 1c756c57653b72a656407da9c53ac292c5551cdb (diff) | |
download | trackermap-server-d643e9a75f1c6580d098b68cffc2c709db611d8e.tar.gz trackermap-server-d643e9a75f1c6580d098b68cffc2c709db611d8e.tar.bz2 trackermap-server-d643e9a75f1c6580d098b68cffc2c709db611d8e.zip |
Normalize fuel level value
Diffstat (limited to 'src/org/traccar/protocol/AquilaProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/AquilaProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AquilaProtocolDecoder.java b/src/org/traccar/protocol/AquilaProtocolDecoder.java index 9c7b1bb12..30f5667af 100644 --- a/src/org/traccar/protocol/AquilaProtocolDecoder.java +++ b/src/org/traccar/protocol/AquilaProtocolDecoder.java @@ -159,7 +159,7 @@ public class AquilaProtocolDecoder extends BaseProtocolDecoder { if (parser.hasNext(9)) { - position.set(Position.KEY_FUEL_LEVEL, parser.next()); + position.set(Position.KEY_FUEL_LEVEL, parser.nextInt()); position.set(Position.PREFIX_IN + 1, parser.next()); position.set(Position.KEY_CHARGE, parser.next()); position.set(Position.PREFIX_IN + 2, parser.next()); |