diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-09-28 13:40:00 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-09-28 13:40:00 +1200 |
commit | 53494de4e41e1c4d4440c9afc0c4a9dfa6480558 (patch) | |
tree | 9dc441029fbcb5ea71b83c49ef89599012bcccc8 /src/org/traccar/protocol/EasyTrackProtocolDecoder.java | |
parent | c1b6fb0e25020b845b059aef0adebeac7d90ed7c (diff) | |
download | trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.tar.gz trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.tar.bz2 trackermap-server-53494de4e41e1c4d4440c9afc0c4a9dfa6480558.zip |
Remove optional fields
Diffstat (limited to 'src/org/traccar/protocol/EasyTrackProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/EasyTrackProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/EasyTrackProtocolDecoder.java b/src/org/traccar/protocol/EasyTrackProtocolDecoder.java index d6a14fd08..7152955f5 100644 --- a/src/org/traccar/protocol/EasyTrackProtocolDecoder.java +++ b/src/org/traccar/protocol/EasyTrackProtocolDecoder.java @@ -123,7 +123,7 @@ public class EasyTrackProtocolDecoder extends BaseProtocolDecoder { extendedInfo.set("signal", parser.group(index++)); // Power - position.setPower(Double.valueOf(parser.group(index++))); + extendedInfo.set("power", Double.valueOf(parser.group(index++))); // Oil extendedInfo.set("oil", Integer.parseInt(parser.group(index++), 16)); |