aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Avl08ProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-09-28 13:40:00 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2013-09-28 13:40:00 +1200
commit53494de4e41e1c4d4440c9afc0c4a9dfa6480558 (patch)
tree9dc441029fbcb5ea71b83c49ef89599012bcccc8 /src/org/traccar/protocol/Avl08ProtocolDecoder.java
parentc1b6fb0e25020b845b059aef0adebeac7d90ed7c (diff)
downloadtrackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.tar.gz
trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.tar.bz2
trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.zip
Remove optional fields
Diffstat (limited to 'src/org/traccar/protocol/Avl08ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/Avl08ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Avl08ProtocolDecoder.java b/src/org/traccar/protocol/Avl08ProtocolDecoder.java
index 6ccb333d9..825e84cf6 100644
--- a/src/org/traccar/protocol/Avl08ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Avl08ProtocolDecoder.java
@@ -157,7 +157,7 @@ public class Avl08ProtocolDecoder extends BaseProtocolDecoder {
// Voltage
String voltage = parser.group(index++);
- position.setPower(Double.valueOf(voltage.substring(1, 4)) / 100);
+ extendedInfo.set("power", Double.valueOf(voltage.substring(1, 4)) / 100);
extendedInfo.set("voltage", voltage);
// ADC