diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-04 22:42:20 -0500 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2017-03-04 22:42:20 -0500 |
commit | f7da653ee14f471cf3d482690e7c659297514ab9 (patch) | |
tree | 886e617550b494d32444ac8c2eec155a5b56dbc1 /src/org/traccar/protocol/CarcellProtocolDecoder.java | |
parent | 525db3566a9e17f626d34e498c85e02d382d6655 (diff) | |
download | trackermap-server-f7da653ee14f471cf3d482690e7c659297514ab9.tar.gz trackermap-server-f7da653ee14f471cf3d482690e7c659297514ab9.tar.bz2 trackermap-server-f7da653ee14f471cf3d482690e7c659297514ab9.zip |
Removed old comments that have been made redundant, as requested;
Diffstat (limited to 'src/org/traccar/protocol/CarcellProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/CarcellProtocolDecoder.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/CarcellProtocolDecoder.java b/src/org/traccar/protocol/CarcellProtocolDecoder.java index feec7a83c..70e99558e 100644 --- a/src/org/traccar/protocol/CarcellProtocolDecoder.java +++ b/src/org/traccar/protocol/CarcellProtocolDecoder.java @@ -127,7 +127,7 @@ public class CarcellProtocolDecoder extends BaseProtocolDecoder { position.set("jamming", parser.next().equals("1")); position.set(Position.KEY_GPS, parser.nextInt()); - position.set("clockType", parser.next()); // clock type + position.set("clockType", parser.next()); DateBuilder dateBuilder = new DateBuilder(). setDateReverse(parser.nextInt(), parser.nextInt(), parser.nextInt()) @@ -140,7 +140,7 @@ public class CarcellProtocolDecoder extends BaseProtocolDecoder { if (parser.hasNext(4)) { position.set("cloned", parser.next().equals("1")); - position.set(Position.KEY_ALARM, parser.next()); // panic button status + position.set(Position.KEY_ALARM, parser.next()); String painelStatus = parser.next(); if (painelStatus.equals("1")) { @@ -154,7 +154,7 @@ public class CarcellProtocolDecoder extends BaseProtocolDecoder { if (parser.hasNext(5)) { position.set("timeUntilDelivery", parser.nextInt()); - position.set(Position.KEY_ALARM, parser.next()); // panic button status + position.set(Position.KEY_ALARM, parser.next()); position.set(Position.KEY_INPUT, parser.next()); // aux Double mainVoltage = parser.nextDouble() / 100d; |