diff options
author | Abyss777 <abyss@fox5.ru> | 2017-09-21 10:53:55 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-09-21 10:53:55 +0500 |
commit | 6aaa8dd3b3ffff7927325616efb9b9bdd8228a67 (patch) | |
tree | caf0bc9b04df133a9751df5bc3996acb2f400db2 /src/org/traccar/reports/model | |
parent | 06bdcf65a08b233f6c56ddf4774287c0c0232597 (diff) | |
download | trackermap-server-6aaa8dd3b3ffff7927325616efb9b9bdd8228a67.tar.gz trackermap-server-6aaa8dd3b3ffff7927325616efb9b9bdd8228a67.tar.bz2 trackermap-server-6aaa8dd3b3ffff7927325616efb9b9bdd8228a67.zip |
Make check for valid in MotionEventHandler optional
Diffstat (limited to 'src/org/traccar/reports/model')
-rw-r--r-- | src/org/traccar/reports/model/TripsConfig.java | 13 |
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 22fddd072..ca361a466 100644 --- a/src/org/traccar/reports/model/TripsConfig.java +++ b/src/org/traccar/reports/model/TripsConfig.java @@ -22,12 +22,13 @@ public class TripsConfig { } public TripsConfig(double minimalTripDistance, long minimalTripDuration, long minimalParkingDuration, - long minimalNoDataDuration, boolean useIgnition) { + long minimalNoDataDuration, boolean useIgnition, boolean processInvalidPositions) { this.minimalTripDistance = minimalTripDistance; this.minimalTripDuration = minimalTripDuration; this.minimalParkingDuration = minimalParkingDuration; this.minimalNoDataDuration = minimalNoDataDuration; this.useIgnition = useIgnition; + this.processInvalidPositions = processInvalidPositions; } private double minimalTripDistance; @@ -80,4 +81,14 @@ public class TripsConfig { this.useIgnition = useIgnition; } + private boolean processInvalidPositions; + + public boolean getProcessInvalidPositions() { + return processInvalidPositions; + } + + public void setProcessInvalidPositions(boolean processInvalidPositions) { + this.processInvalidPositions = processInvalidPositions; + } + } |