diff options
author | Anton Tananaev <anton@traccar.org> | 2022-08-03 19:06:12 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-08-03 19:06:12 -0700 |
commit | 074cc52c3d645ac974a1489aa4e197d471093403 (patch) | |
tree | c26cf338a5b02805731c631fb101db1dffad7590 /src/main/java/org/traccar/config/Keys.java | |
parent | 6d1923bd6b4841eac9d1a383e1eafe6cab30ce8c (diff) | |
download | trackermap-server-074cc52c3d645ac974a1489aa4e197d471093403.tar.gz trackermap-server-074cc52c3d645ac974a1489aa4e197d471093403.tar.bz2 trackermap-server-074cc52c3d645ac974a1489aa4e197d471093403.zip |
Implement refuel events
Diffstat (limited to 'src/main/java/org/traccar/config/Keys.java')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index e97e104a1..a3b39581d 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -310,6 +310,15 @@ public final class Keys { 0.0); /** + * Fuel increase threshold value. When fuel level increases from one position to another for more the value, an + * event is generated. + */ + public static final ConfigKey<Double> EVENT_FUEL_INCREASE_THRESHOLD = new DoubleConfigKey( + "fuelIncreaseThreshold", + List.of(KeyType.SERVER, KeyType.DEVICE), + 0.0); + + /** * Speed limit value in knots. */ public static final ConfigKey<Double> EVENT_OVERSPEED_LIMIT = new DoubleConfigKey( |