aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-05-15 02:27:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-05-15 02:27:57 +1200
commit2bf146c30d332aad1eaa856d5db026290e02e089 (patch)
tree6d5c825fcfb0e2068506eb682012d34f1f8f8d5a /src/org/traccar
parentbb0d6eef1870454673cffbcd9b27d0381aaf21ff (diff)
downloadtraccar-server-2bf146c30d332aad1eaa856d5db026290e02e089.tar.gz
traccar-server-2bf146c30d332aad1eaa856d5db026290e02e089.tar.bz2
traccar-server-2bf146c30d332aad1eaa856d5db026290e02e089.zip
Update alarm types
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/model/Position.java2
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolDecoder.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index b0e08244c..5e0d65894 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/org/traccar/model/Position.java
@@ -130,7 +130,7 @@ public class Position extends Message {
public static final String ALARM_SHOCK = "shock";
public static final String ALARM_BONNET = "bonnet";
public static final String ALARM_FOOT_BRAKE = "footBrake";
- public static final String ALARM_OIL_LEAK = "oilLeak";
+ public static final String ALARM_FUEL_LEAK = "fuelLeak";
public static final String ALARM_TAMPERING = "tampering";
public static final String ALARM_REMOVING = "removing";
diff --git a/src/org/traccar/protocol/Gps103ProtocolDecoder.java b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
index ceb0c5748..43481889a 100644
--- a/src/org/traccar/protocol/Gps103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Gps103ProtocolDecoder.java
@@ -101,7 +101,7 @@ public class Gps103ProtocolDecoder extends BaseProtocolDecoder {
if (value.startsWith("T:")) {
return Position.ALARM_TEMPERATURE;
} else if (value.startsWith("oil")) {
- return Position.ALARM_OIL_LEAK;
+ return Position.ALARM_FUEL_LEAK;
}
switch (value) {
case "tracker":