aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/WialonProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/WialonProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/WialonProtocolDecoder.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/WialonProtocolDecoder.java b/src/org/traccar/protocol/WialonProtocolDecoder.java
index 3dc282846..0bd793365 100644
--- a/src/org/traccar/protocol/WialonProtocolDecoder.java
+++ b/src/org/traccar/protocol/WialonProtocolDecoder.java
@@ -133,15 +133,15 @@ public class WialonProtocolDecoder extends BaseProtocolDecoder {
// Other
position.set(Event.KEY_HDOP, parser.group(index++));
- position.set("inputs", parser.group(index++));
- position.set("outputs", parser.group(index++));
+ position.set(Event.KEY_INPUT, parser.group(index++));
+ position.set(Event.KEY_OUTPUT, parser.group(index++));
// ADC
String adc = parser.group(index++);
if (adc != null) {
String[] values = adc.split(",");
for (int i = 0; i < values.length; i++) {
- position.set("adc" + (i + 1), values[i]);
+ position.set(Event.PREFIX_ADC + (i + 1), values[i]);
}
}