diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-06-15 22:06:20 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 22:06:20 +1200 |
commit | 6c3d168ed9240ed4b5485b537294db6ec9d94379 (patch) | |
tree | 6904733446c33f39e26ea34a0f6072b7c3969c80 /src/org/traccar/reports/model/TripsConfig.java | |
parent | f4b7d595334a12bd612575e36c8e2ebf7253c8a4 (diff) | |
parent | 2aa95dfab102e6e0f40a425bb4fdcecf55940ec8 (diff) | |
download | trackermap-server-6c3d168ed9240ed4b5485b537294db6ec9d94379.tar.gz trackermap-server-6c3d168ed9240ed4b5485b537294db6ec9d94379.tar.bz2 trackermap-server-6c3d168ed9240ed4b5485b537294db6ec9d94379.zip |
Merge pull request #3252 from Abyss777/trips_by_gaps
Detect Trips and Stops by gaps in data
Diffstat (limited to 'src/org/traccar/reports/model/TripsConfig.java')
-rw-r--r-- | src/org/traccar/reports/model/TripsConfig.java | 14 |
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; + } + } |