Added some comments

This commit is contained in:
Ziver Koc 2020-06-22 14:58:44 +02:00
parent 659d5ea0d2
commit bc9d598bfe

View file

@ -72,6 +72,10 @@ public class TellstickSerialComm implements Runnable,
registeredDevices = Collections.synchronizedList(new ArrayList<TellstickDevice>());
}
// --------------------------
// Lifecycle methods
// --------------------------
@Override
public boolean isAvailable() {
return HalContext.getStringProperty(CONFIG_TELLSTICK_COM_PORT) != null;
@ -128,6 +132,10 @@ public class TellstickSerialComm implements Runnable,
}
}
// --------------------------
// Tellstick methods
// --------------------------
/**
* There seems to be an issue with read(...) methods, only read() is working
*/
@ -212,6 +220,9 @@ public class TellstickSerialComm implements Runnable,
}
}
// --------------------------
// Hal methods
// --------------------------
@Override
public void register(HalEventConfig event) {