aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TrakMateProtocolDecoder.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-05-22 10:42:10 +0500
committerAbyss777 <abyss@fox5.ru>2017-05-22 10:42:10 +0500
commit152e8f2e494275b1259601560abc22bcb39502c3 (patch)
treed828de08c9c2f7cabf671f6d75ddda459af77507 /src/org/traccar/protocol/TrakMateProtocolDecoder.java
parent0bafa34ebceba731aae2b45ae9e05c8f55b66b0e (diff)
downloadtrackermap-server-152e8f2e494275b1259601560abc22bcb39502c3.tar.gz
trackermap-server-152e8f2e494275b1259601560abc22bcb39502c3.tar.bz2
trackermap-server-152e8f2e494275b1259601560abc22bcb39502c3.zip
Organize KEY_POWER and KEY_CHARGE using
Diffstat (limited to 'src/org/traccar/protocol/TrakMateProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TrakMateProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TrakMateProtocolDecoder.java b/src/org/traccar/protocol/TrakMateProtocolDecoder.java
index 18718cda0..8965a18b4 100644
--- a/src/org/traccar/protocol/TrakMateProtocolDecoder.java
+++ b/src/org/traccar/protocol/TrakMateProtocolDecoder.java
@@ -189,7 +189,7 @@ public class TrakMateProtocolDecoder extends BaseProtocolDecoder {
position.set("dop2", parser.next());
position.set(Position.KEY_INPUT, parser.next());
position.set(Position.KEY_BATTERY, parser.nextDouble(0));
- position.set(Position.KEY_POWER, parser.next());
+ position.set(Position.KEY_POWER, parser.nextDouble());
position.set(Position.KEY_ODOMETER, parser.nextDouble(0));
position.set("pulseOdometer", parser.next());
position.set(Position.KEY_STATUS, parser.nextInt(0));