aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-13 20:36:46 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-13 20:36:46 +0500
commit82c2d713d4da71f8eeef3e134b06dbb0abf37633 (patch)
treecd9ae5e6e49073ae756220a5159e7e2b9207428a /src/org/traccar/model
parentb47795087d138ccd6d9634aadcfd29cbca629218 (diff)
downloadtraccar-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.tar.gz
traccar-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.tar.bz2
traccar-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.zip
- Split distance to distance and total distance
- Switch summary report to total distance - Move DistanceHandler after filters in pipeline - Other accompanying changes
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/Position.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index d2409a75d..680a6ae8f 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/org/traccar/model/Position.java
@@ -49,6 +49,7 @@ public class Position extends Message {
public static final String KEY_IP = "ip";
public static final String KEY_ARCHIVE = "archive";
public static final String KEY_DISTANCE = "distance";
+ public static final String KEY_TOTAL_DISTANCE = "totalDistance";
public static final String KEY_RPM = "rpm";
public static final String KEY_VIN = "vin";
public static final String KEY_APPROXIMATE = "approximate";