aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/SuntechProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/SuntechProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/SuntechProtocolDecoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/SuntechProtocolDecoder.java b/src/org/traccar/protocol/SuntechProtocolDecoder.java
index 5ebf175d8..debdb4209 100644
--- a/src/org/traccar/protocol/SuntechProtocolDecoder.java
+++ b/src/org/traccar/protocol/SuntechProtocolDecoder.java
@@ -24,6 +24,7 @@ import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.ChannelHandlerContext;
import org.traccar.BaseProtocolDecoder;
+import org.traccar.model.Event;
import org.traccar.model.Position;
public class SuntechProtocolDecoder extends BaseProtocolDecoder {
@@ -86,7 +87,7 @@ public class SuntechProtocolDecoder extends BaseProtocolDecoder {
position.setTime(time.getTime());
// Cell
- position.set("cell", parser.group(index++));
+ position.set(Event.KEY_CELL, parser.group(index++));
// Coordinates
position.setLatitude(Double.valueOf(parser.group(index++)));