aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/V680ProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/V680ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/V680ProtocolDecoder.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/V680ProtocolDecoder.java b/src/org/traccar/protocol/V680ProtocolDecoder.java
index aa1ae83fb..35bd3780b 100644
--- a/src/org/traccar/protocol/V680ProtocolDecoder.java
+++ b/src/org/traccar/protocol/V680ProtocolDecoder.java
@@ -20,7 +20,6 @@ import org.traccar.BaseProtocolDecoder;
import org.traccar.helper.DateBuilder;
import org.traccar.helper.Parser;
import org.traccar.helper.PatternBuilder;
-import org.traccar.model.Event;
import org.traccar.model.Position;
import java.net.SocketAddress;
@@ -86,9 +85,9 @@ public class V680ProtocolDecoder extends BaseProtocolDecoder {
position.set("user", parser.next());
position.setValid(parser.nextInt() > 0);
position.set("password", parser.next());
- position.set(Event.KEY_EVENT, parser.next());
+ position.set(Position.KEY_EVENT, parser.next());
position.set("packet", parser.next());
- position.set(Event.KEY_GSM, parser.next());
+ position.set(Position.KEY_GSM, parser.next());
position.setLongitude(parser.nextCoordinate());
position.setLatitude(parser.nextCoordinate());