diff options
Diffstat (limited to 'src/org/traccar/protocol/GenxProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/GenxProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GenxProtocolDecoder.java b/src/org/traccar/protocol/GenxProtocolDecoder.java index 399a42109..2ae9de7a0 100644 --- a/src/org/traccar/protocol/GenxProtocolDecoder.java +++ b/src/org/traccar/protocol/GenxProtocolDecoder.java @@ -19,6 +19,7 @@ import io.netty.channel.Channel; import org.traccar.BaseProtocolDecoder; import org.traccar.Context; import org.traccar.DeviceSession; +import org.traccar.Protocol; import org.traccar.helper.UnitsConverter; import org.traccar.model.Position; @@ -29,7 +30,7 @@ public class GenxProtocolDecoder extends BaseProtocolDecoder { private int[] reportColumns; - public GenxProtocolDecoder(GenxProtocol protocol) { + public GenxProtocolDecoder(Protocol protocol) { super(protocol); setReportColumns(Context.getConfig().getString(getProtocolName() + ".reportColumns", "1,2,3,4")); } |