diff options
author | Abyss777 <abyss@fox5.ru> | 2017-08-15 16:04:41 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-08-15 16:04:41 +0500 |
commit | 4d7805f783f00914a289b2447521a2f467de87bc (patch) | |
tree | 819d1a56dbbdd9c3badb379337da16d9dd487a54 /src/org/traccar/reports/model/TripsConfig.java | |
parent | 9b9c715cf0d9604be71a35e5e6e5428a3a891ba9 (diff) | |
parent | 5606c72b19568ddf50e2fa35f35e05358bb671e4 (diff) | |
download | trackermap-server-4d7805f783f00914a289b2447521a2f467de87bc.tar.gz trackermap-server-4d7805f783f00914a289b2447521a2f467de87bc.tar.bz2 trackermap-server-4d7805f783f00914a289b2447521a2f467de87bc.zip |
Merge remote-tracking branch 'upstream/master' into new_trips_detector
Diffstat (limited to 'src/org/traccar/reports/model/TripsConfig.java')
-rw-r--r-- | src/org/traccar/reports/model/TripsConfig.java | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/org/traccar/reports/model/TripsConfig.java b/src/org/traccar/reports/model/TripsConfig.java index 4898c1389..22fddd072 100644 --- a/src/org/traccar/reports/model/TripsConfig.java +++ b/src/org/traccar/reports/model/TripsConfig.java @@ -21,12 +21,13 @@ public class TripsConfig { public TripsConfig() { } - public TripsConfig(double minimalTripDistance, long minimalTripDuration, - long minimalParkingDuration, long minimalNoDataDuration) { + public TripsConfig(double minimalTripDistance, long minimalTripDuration, long minimalParkingDuration, + long minimalNoDataDuration, boolean useIgnition) { this.minimalTripDistance = minimalTripDistance; this.minimalTripDuration = minimalTripDuration; this.minimalParkingDuration = minimalParkingDuration; this.minimalNoDataDuration = minimalNoDataDuration; + this.useIgnition = useIgnition; } private double minimalTripDistance; @@ -69,4 +70,14 @@ public class TripsConfig { this.minimalNoDataDuration = minimalNoDataDuration; } + private boolean useIgnition; + + public boolean getUseIgnition() { + return useIgnition; + } + + public void setUseIgnition(boolean useIgnition) { + this.useIgnition = useIgnition; + } + } |