aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Position.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-30 07:55:13 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-30 07:55:13 +1200
commit4b1b94d63ee106ef8c61d9f8d976b601483ad14e (patch)
treeebcce00cb0648de2698ce33b667358741c55e689 /src/org/traccar/model/Position.java
parentcbd55752405d65132a47205748435d937610ee7a (diff)
downloadtrackermap-server-4b1b94d63ee106ef8c61d9f8d976b601483ad14e.tar.gz
trackermap-server-4b1b94d63ee106ef8c61d9f8d976b601483ad14e.tar.bz2
trackermap-server-4b1b94d63ee106ef8c61d9f8d976b601483ad14e.zip
Implement alarms for PT502 protocol
Diffstat (limited to 'src/org/traccar/model/Position.java')
-rw-r--r--src/org/traccar/model/Position.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index f592ee4b9..95a5011ec 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/org/traccar/model/Position.java
@@ -85,7 +85,10 @@ public class Position extends Message {
public static final String ALARM_GEOFENCE_EXIT = "geofenceExit";
public static final String ALARM_GPS_ANTENNA_CUT = "gpsAntennaCut";
public static final String ALARM_ACCIDENT = "accident";
-
+ public static final String ALARM_TOW = "tow";
+ public static final String ALARM_ACCELETATION = "hardAcceleration";
+ public static final String ALARM_BREAKING = "hardBreaking";
+ public static final String ALARM_FATIGUE_DRIVING = "fatigueDriving";
private String protocol;