aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/config/Keys.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-25 22:00:30 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-25 22:00:30 -0800
commit2b9469e85bf7da0905ac3a679554178532f51009 (patch)
tree21ac831f314f2dcb302a7e5e25456523074c205b /src/org/traccar/config/Keys.java
parentb8318c0a9a09dd0811eee189237e80b7da478e5a (diff)
downloadtrackermap-server-2b9469e85bf7da0905ac3a679554178532f51009.tar.gz
trackermap-server-2b9469e85bf7da0905ac3a679554178532f51009.tar.bz2
trackermap-server-2b9469e85bf7da0905ac3a679554178532f51009.zip
Refactor engine hours handler
Diffstat (limited to 'src/org/traccar/config/Keys.java')
-rw-r--r--src/org/traccar/config/Keys.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/org/traccar/config/Keys.java b/src/org/traccar/config/Keys.java
index 7449bfdf5..6c1225a9b 100644
--- a/src/org/traccar/config/Keys.java
+++ b/src/org/traccar/config/Keys.java
@@ -180,6 +180,12 @@ public final class Keys {
"processing.remoteAddress.enable", Boolean.class);
/**
+ * Enable engine hours calculation on the server side. It uses ignition value to determine engine state.
+ */
+ public static final ConfigKey PROCESSING_ENGINE_HOURS_ENABLE = new ConfigKey(
+ "processing.engineHours.enable", Boolean.class);
+
+ /**
* Boolean flag to enable or disable reverse geocoder.
*/
public static final ConfigKey GEOCODER_ENABLE = new ConfigKey(