aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-18 12:56:51 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-18 12:56:51 +1200
commita90ce59795690267a0924c2b911f14fe0340a6b4 (patch)
tree5de6442a5a6cc4ed44d7b62cc75f1300a988eb84 /src/org/traccar/model
parentafaede42a0cc8170128219bd1dfa6277e4e1809a (diff)
parent21ed9dbbd8c7be191894b11e895c1c0094b4aac6 (diff)
downloadtrackermap-server-a90ce59795690267a0924c2b911f14fe0340a6b4.tar.gz
trackermap-server-a90ce59795690267a0924c2b911f14fe0340a6b4.tar.bz2
trackermap-server-a90ce59795690267a0924c2b911f14fe0340a6b4.zip
Merge from mungingLabs into odometer
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/Position.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index 62c999d94..0c928439c 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/org/traccar/model/Position.java
@@ -56,6 +56,10 @@ 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; }