Some refactoring for better testing

Former-commit-id: 159d14c7ee81ea75ef9bade2d48c67a056ea4c42
This commit is contained in:
Ziver Koc 2016-01-05 00:42:25 +01:00
parent e9168e6136
commit 060f784611
11 changed files with 47 additions and 28 deletions

View file

@ -12,9 +12,8 @@ public class TelstickSerialCommNexaOnOffTest {
System.out.println("Connecting to db...");
TellstickSerialComm comm = new TellstickSerialComm();
// http://developer.telldus.com/doxygen/TellStick.html
System.out.println("Connecting to com port...");
//comm.connect("COM5");
comm.connect("/dev/ttyUSB1");
comm.connect("COM5");
//comm.connect("/dev/ttyUSB1");
Thread.sleep(1000);