Added some comments
This commit is contained in:
parent
659d5ea0d2
commit
bc9d598bfe
1 changed files with 11 additions and 0 deletions
|
|
@ -72,6 +72,10 @@ public class TellstickSerialComm implements Runnable,
|
||||||
registeredDevices = Collections.synchronizedList(new ArrayList<TellstickDevice>());
|
registeredDevices = Collections.synchronizedList(new ArrayList<TellstickDevice>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// --------------------------
|
||||||
|
// Lifecycle methods
|
||||||
|
// --------------------------
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean isAvailable() {
|
public boolean isAvailable() {
|
||||||
return HalContext.getStringProperty(CONFIG_TELLSTICK_COM_PORT) != null;
|
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
|
* 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
|
@Override
|
||||||
public void register(HalEventConfig event) {
|
public void register(HalEventConfig event) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue