diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-09 14:08:24 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-06-09 14:08:24 +1200 |
commit | 5a2c64cd99134e98e311d694a76d3d22703496c2 (patch) | |
tree | 296272f5996a02e6e9210865123033c1c9fca01c /src | |
parent | 67a63c5ecf2b636db16c96efef078a0f210d7620 (diff) | |
download | traccar-server-5a2c64cd99134e98e311d694a76d3d22703496c2.tar.gz traccar-server-5a2c64cd99134e98e311d694a76d3d22703496c2.tar.bz2 traccar-server-5a2c64cd99134e98e311d694a76d3d22703496c2.zip |
Fix check style code issues
Diffstat (limited to 'src')
-rw-r--r-- | src/org/traccar/protocol/IdplProtocolDecoder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/IdplProtocolDecoder.java b/src/org/traccar/protocol/IdplProtocolDecoder.java index 1824111b4..322a1e9fb 100644 --- a/src/org/traccar/protocol/IdplProtocolDecoder.java +++ b/src/org/traccar/protocol/IdplProtocolDecoder.java @@ -89,7 +89,7 @@ public class IdplProtocolDecoder extends BaseProtocolDecoder { position.setLongitude(parser.nextCoordinate(CoordinateFormat.DEG_MIN_MIN_HEM)); position.setSpeed(parser.nextDouble()); position.setCourse(parser.nextDouble()); - + position.set(Position.KEY_SATELLITES, parser.nextInt()); position.set(Position.KEY_GSM, parser.nextInt()); parser.next(); // vehicle status @@ -97,14 +97,14 @@ public class IdplProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_BATTERY, parser.nextDouble()); position.set(Position.KEY_ALARM, parser.nextInt()); parser.nextInt(); // body tamper - parser.nextInt(); // acStatus + parser.nextInt(); // ac status position.set(Position.KEY_IGNITION, parser.nextInt()); position.set(Position.KEY_OUTPUT, parser.nextInt()); position.set(Position.PREFIX_ADC + 1, parser.nextInt()); position.set(Position.PREFIX_ADC + 2, parser.nextInt()); position.set(Position.KEY_VERSION, parser.next()); position.set(Position.KEY_ARCHIVE, parser.next().equals("R")); - + parser.next(); // checksum return position; |