aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/reports/model
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-06-15 10:32:06 +0500
committerAbyss777 <abyss@fox5.ru>2017-06-15 10:32:06 +0500
commit9b95e663b75ed9a8518996419268b0f810b8ac5d (patch)
tree21b4c2cb7928b27c2a2ee7e9ca6d2851ef6a6009 /src/org/traccar/reports/model
parentf06a4a99f0457cb385dd3465b5be592551a3530b (diff)
downloadtraccar-server-9b95e663b75ed9a8518996419268b0f810b8ac5d.tar.gz
traccar-server-9b95e663b75ed9a8518996419268b0f810b8ac5d.tar.bz2
traccar-server-9b95e663b75ed9a8518996419268b0f810b8ac5d.zip
Detect Trips and Stops by gaps in data
Diffstat (limited to 'src/org/traccar/reports/model')
-rw-r--r--src/org/traccar/reports/model/TripsConfig.java14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/org/traccar/reports/model/TripsConfig.java b/src/org/traccar/reports/model/TripsConfig.java
index 55258a6cf..7067781d7 100644
--- a/src/org/traccar/reports/model/TripsConfig.java
+++ b/src/org/traccar/reports/model/TripsConfig.java
@@ -22,11 +22,12 @@ public class TripsConfig {
}
public TripsConfig(double minimalTripDistance, long minimalTripDuration,
- long minimalParkingDuration, boolean greedyParking) {
+ long minimalParkingDuration, boolean greedyParking, long minimalNoDataDuration) {
this.minimalTripDistance = minimalTripDistance;
this.minimalTripDuration = minimalTripDuration;
this.minimalParkingDuration = minimalParkingDuration;
this.greedyParking = greedyParking;
+ this.minimalNoDataDuration = minimalNoDataDuration;
}
private double minimalTripDistance;
@@ -68,4 +69,15 @@ public class TripsConfig {
public void setGreedyParking(boolean greedyParking) {
this.greedyParking = greedyParking;
}
+
+ private long minimalNoDataDuration;
+
+ public long getMinimalNoDataDuration() {
+ return minimalNoDataDuration;
+ }
+
+ public void setMinimalNoDataDuration(long minimalNoDataDuration) {
+ this.minimalNoDataDuration = minimalNoDataDuration;
+ }
+
}