aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/traccar/protocol/DmtProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
index 1dfa6bcd7..63c120eed 100644
--- a/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/DmtProtocolDecoder.java
@@ -191,13 +191,13 @@ public class DmtProtocolDecoder extends BaseProtocolDecoder {
} else if (fieldId == 27) {
position.set(Position.KEY_ODOMETER, buf.readUnsignedIntLE());
- position.set("DeviceRunTime", buf.readUnsignedIntLE());
+ position.set(Position.KEY_HOURS, buf.readUnsignedIntLE() * 1000);
} else if (fieldId == 26) {
position.set(Position.KEY_ODOMETER_TRIP, buf.readUnsignedIntLE());
- position.set("TripRunTime", buf.readUnsignedIntLE());
+ position.set("TripHours", buf.readUnsignedIntLE() * 1000);
} else if (fieldId == 6) {