diff options
author | Abyss777 <abyss@fox5.ru> | 2017-08-16 11:04:41 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-08-16 11:06:21 +0500 |
commit | 668d0c65609cc510ad9da3be4fc7aafaa3ca427d (patch) | |
tree | e3c3359bab09fdd42bb441ec5ffbedf0e0964329 /src/org/traccar/reports/Stops.java | |
parent | 4d7805f783f00914a289b2447521a2f467de87bc (diff) | |
download | trackermap-server-668d0c65609cc510ad9da3be4fc7aafaa3ca427d.tar.gz trackermap-server-668d0c65609cc510ad9da3be4fc7aafaa3ca427d.tar.bz2 trackermap-server-668d0c65609cc510ad9da3be4fc7aafaa3ca427d.zip |
Combine trips and stops detectors and some optimization
Diffstat (limited to 'src/org/traccar/reports/Stops.java')
-rw-r--r-- | src/org/traccar/reports/Stops.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/reports/Stops.java b/src/org/traccar/reports/Stops.java index 68fdef334..1e72cc927 100644 --- a/src/org/traccar/reports/Stops.java +++ b/src/org/traccar/reports/Stops.java @@ -44,9 +44,9 @@ public final class Stops { boolean ignoreOdometer = Context.getDeviceManager() .lookupAttributeBoolean(deviceId, "report.ignoreOdometer", false, true); - Collection<StopReport> result = ReportUtils.detectStops( + Collection<StopReport> result = ReportUtils.detectTripsAndStops( Context.getDataManager().getPositions(deviceId, from, to), - Context.getTripsConfig(), ignoreOdometer, speedThreshold); + Context.getTripsConfig(), ignoreOdometer, speedThreshold, StopReport.class); return result; } |