aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/MegastekProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-09 09:57:06 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-09 09:57:06 +1200
commit1a91db44d43fe0aac0dbd56818f0b779900fa70a (patch)
tree425d61250120855c23262f2f0d18bbea20bf550f /src/org/traccar/protocol/MegastekProtocolDecoder.java
parent38ea2292b1650c6cdfdce5096ab7258dcd8cb29b (diff)
downloadtrackermap-server-1a91db44d43fe0aac0dbd56818f0b779900fa70a.tar.gz
trackermap-server-1a91db44d43fe0aac0dbd56818f0b779900fa70a.tar.bz2
trackermap-server-1a91db44d43fe0aac0dbd56818f0b779900fa70a.zip
Add new STL060 format
Diffstat (limited to 'src/org/traccar/protocol/MegastekProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/MegastekProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MegastekProtocolDecoder.java b/src/org/traccar/protocol/MegastekProtocolDecoder.java
index 74ff67be7..3f29d8470 100644
--- a/src/org/traccar/protocol/MegastekProtocolDecoder.java
+++ b/src/org/traccar/protocol/MegastekProtocolDecoder.java
@@ -214,7 +214,7 @@ public class MegastekProtocolDecoder extends BaseProtocolDecoder {
// Charger
String charger = parser.group(index++);
if (charger != null) {
- position.set("charger", Integer.valueOf(charger) == 1);
+ position.set(Event.KEY_CHARGE, Integer.valueOf(charger) == 1);
}
position.set(Event.KEY_MCC, parser.group(index++));