diff options
Diffstat (limited to 'src/org/traccar/protocol/GotopProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/GotopProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GotopProtocolDecoder.java b/src/org/traccar/protocol/GotopProtocolDecoder.java index 932a84f1b..baa54b09e 100644 --- a/src/org/traccar/protocol/GotopProtocolDecoder.java +++ b/src/org/traccar/protocol/GotopProtocolDecoder.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 GotopProtocolDecoder extends BaseProtocolDecoder { @@ -96,7 +97,7 @@ public class GotopProtocolDecoder extends BaseProtocolDecoder { position.setSpeed(Double.valueOf(parser.group(index++)) * 0.539957); // Status - position.set("status", parser.group(index++)); + position.set(Event.KEY_STATUS, parser.group(index++)); // Course String course = parser.group(index++); |