aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/WondexProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-05-04 11:10:55 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-05-04 11:10:55 +1200
commit93feb8a5484fd6c4c3da2032d4c843b3194b5ff7 (patch)
tree65902d2f1e71a776814d66b68d79c3a307febc2b /src/org/traccar/protocol/WondexProtocolDecoder.java
parent88e777a2ceb50e34dbe9577237483d8d3cebf346 (diff)
downloadtrackermap-server-93feb8a5484fd6c4c3da2032d4c843b3194b5ff7.tar.gz
trackermap-server-93feb8a5484fd6c4c3da2032d4c843b3194b5ff7.tar.bz2
trackermap-server-93feb8a5484fd6c4c3da2032d4c843b3194b5ff7.zip
Create prefixes for other data
Diffstat (limited to 'src/org/traccar/protocol/WondexProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/WondexProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/WondexProtocolDecoder.java b/src/org/traccar/protocol/WondexProtocolDecoder.java
index 1eb727fc6..556e1b2ad 100644
--- a/src/org/traccar/protocol/WondexProtocolDecoder.java
+++ b/src/org/traccar/protocol/WondexProtocolDecoder.java
@@ -110,8 +110,8 @@ public class WondexProtocolDecoder extends BaseProtocolDecoder {
position.set(Event.KEY_INPUT, parser.group(index++));
// ADC
- position.set("adc1", parser.group(index++));
- position.set("adc2", parser.group(index++));
+ position.set(Event.PREFIX_ADC + 1, parser.group(index++));
+ position.set(Event.PREFIX_ADC + 2, parser.group(index++));
// Output
position.set(Event.KEY_OUTPUT, parser.group(index++));