aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Position.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/model/Position.java')
-rw-r--r--src/org/traccar/model/Position.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index e667f097d..3b6b9c8b1 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_GUARD = "guard";
public static final String KEY_OBD_SPEED = "obd-speed";
public static final String KEY_OBD_ODOMETER = "obd-odometer";
@@ -65,15 +66,45 @@ 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 ENDING_PRESSED = "Pressed";
+ public static final String ENDING_RELEASED = "Released";
+ public static final String ENDING_OPEN = "Open";
+ public static final String ENDING_CLOSE = "Close";
+ public static final String ENDING_ACTIVE = "Active";
+ public static final String ENDING_INACTIVE = "Inactive";
+
+
+ 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_OVERSPEED = "overspeed";
+ public static final String ALARM_OVERSPEED_END = "overspeedEnd";
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_JAMMING = "jamming";
+ 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_ODB = "odb";
+ public static final String ALARM_POWER_LOW = "powerLow";
+ public static final String ALARM_PARKING = "parking";
+ public static final String ALARM_CHARGE_BEGIN = "chargeBegin";
+ public static final String ALARM_CHARGE_END = "chargeEnd";
+ public static final String ALARM_RFID_NEW = "rfidNew";
+ public static final String ALARM_SLEEP_INTO = "intoSleep";
+ public static final String ALARM_SLEEP_FROM = "fromSleep";
+ public static final String ALARM_TRACKER_ON = "trackerOn";
+ public static final String ALARM_SHUTDOWN = "shutdown";
+ public static final String ALARM_GPS_BLIND_ENTER = "gpsBlindEnter";
+ public static final String ALARM_GPS_BLIND_EXIT = "gpsBlindExit";
+ public static final String ALARM_GPS_ANTENNA_CUT = "gpsAntennaCut";
+
private String protocol;