diff options
author | Vitaly Litvak <vitavaque@gmail.com> | 2016-10-02 08:20:42 +0300 |
---|---|---|
committer | Vitaly Litvak <vitavaque@gmail.com> | 2016-10-02 08:20:42 +0300 |
commit | 2d145a029bf45d309366b5b6367befd00efb5efc (patch) | |
tree | 45d3ef7e8ea969967b94cd33c971023687accb89 /src/org/traccar | |
parent | 9cc1cbd2b21afcd40091069d2f0a58565db18c15 (diff) | |
download | traccar-server-2d145a029bf45d309366b5b6367befd00efb5efc.tar.gz traccar-server-2d145a029bf45d309366b5b6367befd00efb5efc.tar.bz2 traccar-server-2d145a029bf45d309366b5b6367befd00efb5efc.zip |
Reverted back odometer to count as thousands of meters.
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/protocol/Jt600ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Jt600ProtocolDecoder.java b/src/org/traccar/protocol/Jt600ProtocolDecoder.java index de4510d17..287235fb1 100644 --- a/src/org/traccar/protocol/Jt600ProtocolDecoder.java +++ b/src/org/traccar/protocol/Jt600ProtocolDecoder.java @@ -260,7 +260,7 @@ public class Jt600ProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_CID, parser.nextInt()); position.set(Position.KEY_LAC, parser.nextInt()); position.set(Position.KEY_GSM, parser.nextInt()); - position.set(Position.KEY_ODOMETER, parser.nextLong() * 100); + position.set(Position.KEY_ODOMETER, parser.nextLong() * 1000); position.set(Position.KEY_INDEX, parser.nextInt()); switch (messageType) { |