diff options
author | ninioe <ninioe@gmail.com> | 2016-08-07 09:56:04 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-08-07 09:56:04 +0300 |
commit | c1c5a5fd34402a4e9b0840a7b960c38371dd9748 (patch) | |
tree | 1c04413e2f2cc450c4be23ef459597b2b4e9f776 /src/org/traccar/model/Position.java | |
parent | e26d81c7430d8668b3af1bbf15672f06a855d6d0 (diff) | |
parent | dea7617218de2cbc7ebd930b4342aa35ffedcd8b (diff) | |
download | trackermap-server-c1c5a5fd34402a4e9b0840a7b960c38371dd9748.tar.gz trackermap-server-c1c5a5fd34402a4e9b0840a7b960c38371dd9748.tar.bz2 trackermap-server-c1c5a5fd34402a4e9b0840a7b960c38371dd9748.zip |
Merge remote-tracking branch 'refs/remotes/tananaev/master'
# Conflicts:
# web/app/view/LoginController.js
Diffstat (limited to 'src/org/traccar/model/Position.java')
-rw-r--r-- | src/org/traccar/model/Position.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java index e667f097d..d2409a75d 100644 --- a/src/org/traccar/model/Position.java +++ b/src/org/traccar/model/Position.java @@ -54,6 +54,7 @@ public class Position extends Message { public static final String KEY_APPROXIMATE = "approximate"; public static final String KEY_THROTTLE = "throttle"; public static final String KEY_MOTION = "motion"; + public static final String KEY_ARMED = "armed"; public static final String KEY_OBD_SPEED = "obd-speed"; public static final String KEY_OBD_ODOMETER = "obd-odometer"; @@ -65,15 +66,25 @@ public class Position extends Message { public static final String PREFIX_ADC = "adc"; public static final String PREFIX_IO = "io"; public static final String PREFIX_COUNT = "count"; + public static final String PREFIX_BUTTON = "button"; + public static final String ALARM_GENERAL = "general"; public static final String ALARM_SOS = "sos"; public static final String ALARM_VIBRATION = "vibration"; public static final String ALARM_MOVEMENT = "movement"; + public static final String ALARM_LOW_SPEED = "lowspeed"; public static final String ALARM_OVERSPEED = "overspeed"; public static final String ALARM_FALL_DOWN = "fallDown"; public static final String ALARM_LOW_BATTERY = "lowBattery"; public static final String ALARM_MOTION = "motion"; public static final String ALARM_FAULT = "fault"; + public static final String ALARM_POWER_OFF = "powerOff"; + public static final String ALARM_GEOFENCE = "geofence"; + public static final String ALARM_GEOFENCE_ENTER = "geofenceEnter"; + public static final String ALARM_GEOFENCE_EXIT = "geofenceExit"; + public static final String ALARM_GPS_ANTENNA_CUT = "gpsAntennaCut"; + public static final String ALARM_ACCIDENT = "accident"; + private String protocol; |