aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/model/Position.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-03-05 00:56:12 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-03-05 00:56:12 -0500
commit24d3a3e1d2abf5870ea34769a687cd49075d2ccc (patch)
treea8f939e14aa57ab7f05357fbb273c37bb67fee1f /src/org/traccar/model/Position.java
parent0ba3f3ba0fc3ab04cfbbc860afcb736d838a7057 (diff)
downloadtrackermap-server-24d3a3e1d2abf5870ea34769a687cd49075d2ccc.tar.gz
trackermap-server-24d3a3e1d2abf5870ea34769a687cd49075d2ccc.tar.bz2
trackermap-server-24d3a3e1d2abf5870ea34769a687cd49075d2ccc.zip
Updated units of measure comments in Position.java;
Diffstat (limited to 'src/org/traccar/model/Position.java')
-rw-r--r--src/org/traccar/model/Position.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index 1d6439c8f..8600b5dd0 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/org/traccar/model/Position.java
@@ -34,7 +34,7 @@ public class Position extends Message {
public static final String KEY_ODOMETER = "odometer"; // kilometers
public static final String KEY_ODOMETER_SERVICE = "serviceOdometer"; // kilometers
public static final String KEY_ODOMETER_TRIP = "tripOdometer"; // kilometers
- public static final String KEY_HOURS = "hours"; // decimal hours
+ public static final String KEY_HOURS = "hours"; // hours
public static final String KEY_INPUT = "input";
public static final String KEY_OUTPUT = "output";
public static final String KEY_POWER = "power"; // volts
@@ -65,7 +65,7 @@ public class Position extends Message {
public static final String KEY_COMMAND = "command";
public static final String KEY_DTCS = "dtcs";
- public static final String KEY_OBD_SPEED = "obdSpeed"; // meters/second
+ public static final String KEY_OBD_SPEED = "obdSpeed"; // knots
public static final String KEY_OBD_ODOMETER = "obdOdometer"; // kilometers
public static final String KEY_RESULT = "result";
@@ -217,7 +217,7 @@ public class Position extends Message {
this.longitude = longitude;
}
- private double altitude;
+ private double altitude; // value in meters
public double getAltitude() {
return altitude;