diff options
author | Abyss777 <abyss@fox5.ru> | 2017-08-14 16:40:45 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-08-14 16:40:45 +0500 |
commit | fdc14dd2a286b7d9470ff97703d120c217a39dcb (patch) | |
tree | 70118d6bb9c4894d043d46c32cc4558f6a00bbd3 /src/org/traccar/reports/model | |
parent | 8313471a752dc08e5e7a270349e9f03417672b08 (diff) | |
download | trackermap-server-fdc14dd2a286b7d9470ff97703d120c217a39dcb.tar.gz trackermap-server-fdc14dd2a286b7d9470ff97703d120c217a39dcb.tar.bz2 trackermap-server-fdc14dd2a286b7d9470ff97703d120c217a39dcb.zip |
Rename parameter and field to "useIgnition"
Diffstat (limited to 'src/org/traccar/reports/model')
-rw-r--r-- | src/org/traccar/reports/model/TripsConfig.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/org/traccar/reports/model/TripsConfig.java b/src/org/traccar/reports/model/TripsConfig.java index 039094b89..2e2403619 100644 --- a/src/org/traccar/reports/model/TripsConfig.java +++ b/src/org/traccar/reports/model/TripsConfig.java @@ -22,13 +22,13 @@ public class TripsConfig { } public TripsConfig(double minimalTripDistance, long minimalTripDuration, long minimalParkingDuration, - boolean greedyParking, long minimalNoDataDuration, boolean stopOnIgnitionOff) { + boolean greedyParking, long minimalNoDataDuration, boolean useIgnition) { this.minimalTripDistance = minimalTripDistance; this.minimalTripDuration = minimalTripDuration; this.minimalParkingDuration = minimalParkingDuration; this.greedyParking = greedyParking; this.minimalNoDataDuration = minimalNoDataDuration; - this.stopOnIgnitionOff = stopOnIgnitionOff; + this.useIgnition = useIgnition; } private double minimalTripDistance; @@ -81,14 +81,14 @@ public class TripsConfig { this.minimalNoDataDuration = minimalNoDataDuration; } - private boolean stopOnIgnitionOff; + private boolean useIgnition; - public boolean getStopOnIgnitionOff() { - return stopOnIgnitionOff; + public boolean getUseIgnition() { + return useIgnition; } - public void setStopOnIgnitionOff(boolean stopOnIgnitionOff) { - this.stopOnIgnitionOff = stopOnIgnitionOff; + public void setUseIgnition(boolean useIgnition) { + this.useIgnition = useIgnition; } } |