Package org.openhab.binding.plcbus.internal.protocol

Examples of org.openhab.binding.plcbus.internal.protocol.StatusResponse


    }

    IPLCBusController controller = PLCBusController.create(serialPortGateway);

    if (newState == UnDefType.UNDEF) {
      StatusResponse response = controller.requestStatusFor(config.getUnit());

      State status = (response.isUnitOn()) ? OnOffType.ON : OnOffType.OFF;
      this.eventPublisher.postUpdate(itemName, status);
    }
  }
View Full Code Here

TOP

Related Classes of org.openhab.binding.plcbus.internal.protocol.StatusResponse

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.