Examples of EpsonProjectorBindingProvider


Examples of org.openhab.binding.epsonprojector.EpsonProjectorBindingProvider

  /**
   * @{inheritDoc
   */
  @Override
  public void internalReceiveCommand(String itemName, Command command) {
    EpsonProjectorBindingProvider provider = findFirstMatchingBindingProvider( itemName, command);

    if (provider == null) {
      logger.warn(
          "doesn't find matching binding provider [itemName={}, command={}]",
          itemName, command);
      return;
    }

    if (provider.isOutBinding(itemName)) {
      EpsonProjectorCommandType commmandType = provider.getCommandType(itemName);
      String deviceId = provider.getDeviceId(itemName);
      if (commmandType != null) {
        sendDataToDevice(deviceId, commmandType, command);
      }
    } else {
      logger.warn("itemName={} is not out binding", itemName);
View Full Code Here

Examples of org.openhab.binding.epsonprojector.EpsonProjectorBindingProvider

   *         provider could be found
   */
  private EpsonProjectorBindingProvider findFirstMatchingBindingProvider(
      String itemName, Command command) {

    EpsonProjectorBindingProvider firstMatchingProvider = null;

    for (EpsonProjectorBindingProvider provider : this.providers) {
      EpsonProjectorCommandType commmandType = provider.getCommandType(itemName);

      if (commmandType != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.