aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Server.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2011-11-15 08:48:41 +0000
committerAnton Tananaev <anton.tananaev@gmail.com>2011-11-15 08:48:41 +0000
commit77b9680d22af11684bc8e8d08c65407bd3ebc87e (patch)
tree5b5d841e9721ce982ac86ef92db3a59d26429176 /src/org/traccar/Server.java
parenta4c24b7883140ece7b534f94921408e39a0e8725 (diff)
downloadtrackermap-server-77b9680d22af11684bc8e8d08c65407bd3ebc87e.tar.gz
trackermap-server-77b9680d22af11684bc8e8d08c65407bd3ebc87e.tar.bz2
trackermap-server-77b9680d22af11684bc8e8d08c65407bd3ebc87e.zip
Diffstat (limited to 'src/org/traccar/Server.java')
-rw-r--r--src/org/traccar/Server.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/Server.java b/src/org/traccar/Server.java
index 7dd2a5990..b6ad73db1 100644
--- a/src/org/traccar/Server.java
+++ b/src/org/traccar/Server.java
@@ -186,6 +186,7 @@ public class Server implements DataManager {
insertPosition.setDouble("longitude", position.getLongitude());
insertPosition.setDouble("speed", position.getSpeed());
insertPosition.setDouble("course", position.getCourse());
+ insertPosition.setDouble("power", position.getPower());
insertPosition.executeUpdate();
}