use of org.openhab.binding.lcn.connection.ModInfo in project openhab1-addons by openhab.
the class ModStatusBinSensors method process.
/**
* Notifies the connection about the received binary-sensor status.
* {@inheritDoc}
*/
@Override
public void process(Connection conn) {
// Will replace source segment 0 with the local segment id
super.process(conn);
ModInfo info = conn.getModInfo(this.logicalSourceAddr);
if (info != null) {
info.requestStatusBinSensors.onResponseReceived();
}
}
use of org.openhab.binding.lcn.connection.ModInfo in project openhab1-addons by openhab.
the class ModStatusKeyLocks method process.
/**
* Notifies the connection about the received key-locks status.
* {@inheritDoc}
*/
@Override
public void process(Connection conn) {
// Will replace source segment 0 with the local segment id
super.process(conn);
ModInfo info = conn.getModInfo(this.logicalSourceAddr);
if (info != null) {
info.requestStatusLockedKeys.onResponseReceived();
}
}
use of org.openhab.binding.lcn.connection.ModInfo in project openhab1-addons by openhab.
the class ModStatusLedsAndLogicOps method process.
/**
* Notifies the connection about the received LEDs and logic-operations status.
* {@inheritDoc}
*/
@Override
public void process(Connection conn) {
// Will replace source segment 0 with the local segment id
super.process(conn);
ModInfo info = conn.getModInfo(this.logicalSourceAddr);
if (info != null) {
info.requestStatusLedsAndLogicOps.onResponseReceived();
}
}
use of org.openhab.binding.lcn.connection.ModInfo in project openhab1-addons by openhab.
the class ModStatusOutput method process.
/**
* Notifies the connection about the received output-port status.
* {@inheritDoc}
*/
@Override
public void process(Connection conn) {
// Will replace source segment 0 with the local segment id
super.process(conn);
ModInfo info = conn.getModInfo(this.logicalSourceAddr);
if (info != null) {
info.requestStatusOutputs.get(this.outputId).onResponseReceived();
}
}
use of org.openhab.binding.lcn.connection.ModInfo in project openhab1-addons by openhab.
the class ModStatusRelays method process.
/**
* Notifies the connection about the received relays status.
* {@inheritDoc}
*/
@Override
public void process(Connection conn) {
// Will replace source segment 0 with the local segment id
super.process(conn);
ModInfo info = conn.getModInfo(this.logicalSourceAddr);
if (info != null) {
info.requestStatusRelays.onResponseReceived();
}
}
Aggregations