Package org.openhab.core.types

Examples of org.openhab.core.types.Command


          newElement.oid = new OID(outMatcher.group(4).toString());

          // Only Integer commands accepted at this time.
          newElement.value = new Integer32(Integer.parseInt(outMatcher.group(5).toString()));

          Command command = TypeParser.parseCommand(item.getAcceptedCommandTypes(), commandAsString);
          if (command == null) {
            logger.error("SNMP can't resolve command {} for item {}", commandAsString, item);
          } else {
            config.put(command, newElement);
          }
View Full Code Here

TOP

Related Classes of org.openhab.core.types.Command

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.