aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/reports/model
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-21 18:01:10 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-21 18:01:10 +0500
commit36ad4ac525b8eb25ac1c2eed8c05d690754399c5 (patch)
treedc0cc6861588d0faa2950666728ec2b9ddcd9fab /src/org/traccar/reports/model
parent6aaa8dd3b3ffff7927325616efb9b9bdd8228a67 (diff)
downloadtrackermap-server-36ad4ac525b8eb25ac1c2eed8c05d690754399c5.tar.gz
trackermap-server-36ad4ac525b8eb25ac1c2eed8c05d690754399c5.tar.bz2
trackermap-server-36ad4ac525b8eb25ac1c2eed8c05d690754399c5.zip
Move speedThreshold to TripsConfig
Diffstat (limited to 'src/org/traccar/reports/model')
-rw-r--r--src/org/traccar/reports/model/TripsConfig.java13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/org/traccar/reports/model/TripsConfig.java b/src/org/traccar/reports/model/TripsConfig.java
index ca361a466..0f0c615d3 100644
--- a/src/org/traccar/reports/model/TripsConfig.java
+++ b/src/org/traccar/reports/model/TripsConfig.java
@@ -22,13 +22,14 @@ public class TripsConfig {
}
public TripsConfig(double minimalTripDistance, long minimalTripDuration, long minimalParkingDuration,
- long minimalNoDataDuration, boolean useIgnition, boolean processInvalidPositions) {
+ long minimalNoDataDuration, boolean useIgnition, boolean processInvalidPositions, double speedThreshold) {
this.minimalTripDistance = minimalTripDistance;
this.minimalTripDuration = minimalTripDuration;
this.minimalParkingDuration = minimalParkingDuration;
this.minimalNoDataDuration = minimalNoDataDuration;
this.useIgnition = useIgnition;
this.processInvalidPositions = processInvalidPositions;
+ this.speedThreshold = speedThreshold;
}
private double minimalTripDistance;
@@ -91,4 +92,14 @@ public class TripsConfig {
this.processInvalidPositions = processInvalidPositions;
}
+ private double speedThreshold;
+
+ public double getSpeedThreshold() {
+ return speedThreshold;
+ }
+
+ public void setSpeedThreshold(double speedThreshold) {
+ this.speedThreshold = speedThreshold;
+ }
+
}