aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-07-25 08:59:36 +0500
committerAbyss777 <abyss@fox5.ru>2016-07-25 08:59:36 +0500
commitf6333c73fe8bdd0027bb16a715193e1587b934a2 (patch)
tree340e9f66b9c3891665a0284e4a3ca8c813d87827 /src/org/traccar/model
parent866c3073ef48a24d86834a391a4d3d91209a6eed (diff)
downloadtraccar-server-f6333c73fe8bdd0027bb16a715193e1587b934a2.tar.gz
traccar-server-f6333c73fe8bdd0027bb16a715193e1587b934a2.tar.bz2
traccar-server-f6333c73fe8bdd0027bb16a715193e1587b934a2.zip
- Move lastPosition update to the end of pipeline
- Optimize MotionEventHandler to do not use Device.motion - Remove Device.motion from model and database - some optimizations
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/Device.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/org/traccar/model/Device.java b/src/org/traccar/model/Device.java
index 1669aee31..e90742836 100644
--- a/src/org/traccar/model/Device.java
+++ b/src/org/traccar/model/Device.java
@@ -92,19 +92,6 @@ public class Device extends Extensible {
this.groupId = groupId;
}
- public static final String STATUS_MOVING = "moving";
- public static final String STATUS_STOPPED = "stopped";
-
- private String motion;
-
- public String getMotion() {
- return motion;
- }
-
- public void setMotion(String motion) {
- this.motion = motion;
- }
-
private List<Long> geofenceIds;
public List<Long> getGeofenceIds() {