diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-18 13:22:16 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-18 13:22:16 +1200 |
commit | 17ff0791718807be18e9f63aa095ed86d4b82b1c (patch) | |
tree | 1e891f96c1b62e58f4de89def099def177af1b21 /src/org/traccar/model | |
parent | a90ce59795690267a0924c2b911f14fe0340a6b4 (diff) | |
download | trackermap-server-17ff0791718807be18e9f63aa095ed86d4b82b1c.tar.gz trackermap-server-17ff0791718807be18e9f63aa095ed86d4b82b1c.tar.bz2 trackermap-server-17ff0791718807be18e9f63aa095ed86d4b82b1c.zip |
Re-factor server side classes
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r-- | src/org/traccar/model/Event.java | 1 | ||||
-rw-r--r-- | src/org/traccar/model/Position.java | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/model/Event.java b/src/org/traccar/model/Event.java index df9a9a8e5..831ae31b3 100644 --- a/src/org/traccar/model/Event.java +++ b/src/org/traccar/model/Event.java @@ -78,6 +78,7 @@ public abstract class Event { public static final String KEY_CHARGE = "charge"; public static final String KEY_IP = "ip"; public static final String KEY_ARCHIVE = "archive"; + public static final String KEY_DISTANCE = "distance"; // Starts with 1 not 0 public static final String PREFIX_TEMP = "temp"; diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java index 0c928439c..62c999d94 100644 --- a/src/org/traccar/model/Position.java +++ b/src/org/traccar/model/Position.java @@ -56,10 +56,6 @@ public class Position extends Event implements Factory { private double course; public double getCourse() { return course; } public void setCourse(double course) { this.course = course; } - - private double odometer; // value in meters - public double getOdometer() { return odometer; } - public void setOdometer(double odometer) { this.odometer = odometer; } private String address; public String getAddress() { return address; } |