From 17ff0791718807be18e9f63aa095ed86d4b82b1c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 18 Aug 2015 13:22:16 +1200 Subject: Re-factor server side classes --- src/org/traccar/model/Event.java | 1 + src/org/traccar/model/Position.java | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src/org/traccar/model') 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; } -- cgit v1.2.3