aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Context.java
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/Context.java
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/Context.java')
-rw-r--r--src/org/traccar/Context.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/Context.java b/src/org/traccar/Context.java
index cf857178f..3b24c6460 100644
--- a/src/org/traccar/Context.java
+++ b/src/org/traccar/Context.java
@@ -259,7 +259,8 @@ public final class Context {
config.getLong("report.trip.minimalParkingDuration", 300) * 1000,
config.getLong("report.trip.minimalNoDataDuration", 3600) * 1000,
config.getBoolean("report.trip.useIgnition"),
- config.getBoolean("event.motion.processInvalidPositions"));
+ config.getBoolean("event.motion.processInvalidPositions"),
+ config.getDouble("event.motion.speedThreshold", 0.01));
}
public static void init(String[] arguments) throws Exception {