aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Position.java
diff options
context:
space:
mode:
authorjose <joseantonio@grdar.es>2016-12-13 09:03:08 +0100
committerjose <joseantonio@grdar.es>2016-12-14 17:44:39 +0100
commit69595987b3da18b518ac0dcb7082324d096cdb35 (patch)
tree7eebf1d6a7c484fad2294128b3c583a095dbb07a /src/org/traccar/model/Position.java
parent4557cf912fada1dc249333aa05215b0116b8ebab (diff)
downloadtrackermap-server-69595987b3da18b518ac0dcb7082324d096cdb35.tar.gz
trackermap-server-69595987b3da18b518ac0dcb7082324d096cdb35.tar.bz2
trackermap-server-69595987b3da18b518ac0dcb7082324d096cdb35.zip
Fix Meiligao Protocol to work with tk228
Diffstat (limited to 'src/org/traccar/model/Position.java')
-rw-r--r--src/org/traccar/model/Position.java19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index 8ca2588e2..3e8cb27bc 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/org/traccar/model/Position.java
@@ -60,11 +60,26 @@ public class Position extends Message {
public static final String KEY_ARMED = "armed";
public static final String KEY_ACCURACY = "accuracy";
public static final String KEY_GEOFENCE = "geofence";
-
public static final String KEY_DTCS = "dtcs";
public static final String KEY_OBD_SPEED = "obdSpeed";
public static final String KEY_OBD_ODOMETER = "obdOdometer";
-
+ public static final String KEY_OBD_ENGINE_LOAD = "engineLoad";
+ public static final String KEY_OBD_AVERAGE_FUEL = "averageFuelConsumition";
+ public static final String KEY_OBD_DRIVING_RANGE = "drivingRange";
+ public static final String KEY_OBD_SINGLE_FUEL_CONSUMPTION = "singleFuelConsumption";
+ public static final String KEY_OBD_TOTAL_FUEL_CONSUMPTION = "totalFuelConsumption";
+ public static final String KEY_OBD_CURRENT_ERROR = "currentError";
+ public static final String KEY_OBD_HARSH_ACCELERATION = "harshAcelerationNo";
+ public static final String KEY_OBD_HARSH_BREAK = "harshBreakerNo";
+ public static final String KEY_OBD_TOTAL_IGNITION = "totalIgnitionNo";
+ public static final String KEY_OBD_TOTAL_DRIVING_TIME = "totalDrivingTime";
+ public static final String KEY_OBD_TOTAL_IDLING_TIME = "totalIdlingTime";
+ public static final String KEY_OBD_AVERAGE_HOT_START = "averageHotStartTime";
+ public static final String KEY_OBD_AVERAGE_SPEED = "averageSpeed";
+ public static final String KEY_OBD_HISTORY_HIGHT_SPEED = "historyHightestSpeed";
+ public static final String KEY_OBD_HISTORY_HIGHT_RPM = "historyHightestRPM";
+ public static final String KEY_OBD_TOTAL_HARSH_ACCELERATION = "totalHarshAccerleration";
+ public static final String KEY_OBD_TOTAL_HARSH_BRAKE = "totalHarshBrake";
public static final String KEY_RESULT = "result";
// Starts with 1 not 0