Package org.openhab.binding.nikobus.internal.config

Examples of org.openhab.binding.nikobus.internal.config.ModuleChannelGroup


      int group = channelNum > 6 ? 2 : 1;
      String moduleKey = address + "-" + group;
      NikobusModule module = getModule(moduleKey);
      if (module == null) {
        log.trace("Creating channel group {}", moduleKey);
        module = new ModuleChannelGroup(address, group);
        allModules.add(module);
        modules.put(moduleKey, module);
      }
      return ((ModuleChannelGroup) module).addChannel(item.getName(), channelNum, item.getAcceptedCommandTypes());
    }
View Full Code Here

TOP

Related Classes of org.openhab.binding.nikobus.internal.config.ModuleChannelGroup

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.