mirror of https://github.com/rusefi/RomRaider.git
updated innovate plugins
git-svn-id: https://svn2.assembla.com/svn/romraider/trunk@19 38686702-15cf-42e4-a595-3071df8bf5ea
This commit is contained in:
parent
2637435033
commit
68c6bb8d0d
|
@ -10,12 +10,12 @@ import static enginuity.util.ParamChecker.checkNotNullOrEmpty;
|
|||
import static enginuity.util.ThreadUtil.sleep;
|
||||
import org.apache.log4j.Logger;
|
||||
|
||||
public final class Lc1Connection implements InnovateConnection {
|
||||
private static final Logger LOGGER = Logger.getLogger(Lc1Connection.class);
|
||||
public final class InnovateConnectionImpl implements InnovateConnection {
|
||||
private static final Logger LOGGER = Logger.getLogger(InnovateConnectionImpl.class);
|
||||
private final long sendTimeout;
|
||||
private final SerialConnection serialConnection;
|
||||
|
||||
public Lc1Connection(ConnectionProperties connectionProperties, String portName) {
|
||||
public InnovateConnectionImpl(ConnectionProperties connectionProperties, String portName) {
|
||||
checkNotNull(connectionProperties, "connectionProperties");
|
||||
checkNotNullOrEmpty(portName, "portName");
|
||||
this.sendTimeout = connectionProperties.getSendTimeout();
|
|
@ -9,7 +9,7 @@ public final class InnovateRunnerImpl implements InnovateRunner {
|
|||
private boolean stop;
|
||||
|
||||
public InnovateRunnerImpl(InnovateSettings innovateSettings, DataListener listener) {
|
||||
connection = new Lc1Connection(new InnovateConnectionProperties(), innovateSettings.getPort());
|
||||
connection = new InnovateConnectionImpl(new InnovateConnectionProperties(), innovateSettings.getPort());
|
||||
this.listener = listener;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue