aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model
diff options
context:
space:
mode:
authorEnrique Villafane <villafaneenrique@gmail.com>2016-11-09 18:22:33 -0400
committerEnrique Villafane <villafaneenrique@gmail.com>2016-11-09 18:22:33 -0400
commit096259c2fe6311bde08b993b18631053b7652c99 (patch)
treef6105cbff0463c4a36787e32f241672eb2ab8603 /src/org/traccar/model
parent9d9dbcdd3229c6f852031d2e458aca194bcee8b9 (diff)
downloadtrackermap-server-096259c2fe6311bde08b993b18631053b7652c99.tar.gz
trackermap-server-096259c2fe6311bde08b993b18631053b7652c99.tar.bz2
trackermap-server-096259c2fe6311bde08b993b18631053b7652c99.zip
Add acc on, acc off and door alarm to events from coban gps (gps103 protocol)
Diffstat (limited to 'src/org/traccar/model')
-rw-r--r--src/org/traccar/model/Position.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index 183fab72f..b2965c89c 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/org/traccar/model/Position.java
@@ -83,6 +83,8 @@ public class Position extends Message {
public static final String ALARM_LOW_BATTERY = "lowBattery";
public static final String ALARM_FAULT = "fault";
public static final String ALARM_POWER_OFF = "powerOff";
+ public static final String ALARM_POWER_ON = "powerOn";
+ public static final String ALARM_DOOR = "door";
public static final String ALARM_GEOFENCE = "geofence";
public static final String ALARM_GEOFENCE_ENTER = "geofenceEnter";
public static final String ALARM_GEOFENCE_EXIT = "geofenceExit";