aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/AplicomProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-28 11:47:46 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-28 11:47:46 +1300
commit9b08cbbca6a35862fbc33e48f5d876899954a17d (patch)
treecc8c1e892172742e35482cbc6ae6ca232b43366d /src/org/traccar/protocol/AplicomProtocolDecoder.java
parent063e5399efac99e0e73983d0534f37f052b52e49 (diff)
downloadtrackermap-server-9b08cbbca6a35862fbc33e48f5d876899954a17d.tar.gz
trackermap-server-9b08cbbca6a35862fbc33e48f5d876899954a17d.tar.bz2
trackermap-server-9b08cbbca6a35862fbc33e48f5d876899954a17d.zip
Decode extra Tytan parameters
Diffstat (limited to 'src/org/traccar/protocol/AplicomProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/AplicomProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AplicomProtocolDecoder.java b/src/org/traccar/protocol/AplicomProtocolDecoder.java
index 490f70e1b..574ff09c3 100644
--- a/src/org/traccar/protocol/AplicomProtocolDecoder.java
+++ b/src/org/traccar/protocol/AplicomProtocolDecoder.java
@@ -273,7 +273,7 @@ public class AplicomProtocolDecoder extends BaseProtocolDecoder {
ChannelBuffer value = values.get(i);
switch (buf.readInt()) {
case 0x20D:
- position.set("diesel-rpm", ChannelBuffers.swapShort(value.readShort()));
+ position.set(Event.KEY_RPM, ChannelBuffers.swapShort(value.readShort()));
position.set("diesel-temperature", ChannelBuffers.swapShort(value.readShort()) * 0.1);
position.set("battery-voltage", ChannelBuffers.swapShort(value.readShort()) * 0.01);
position.set("supply-air-temp-dep1", ChannelBuffers.swapShort(value.readShort()) * 0.1);