Examples of WSWeekdayValue


Examples of org.openhab.binding.ihc.ws.datatypes.WSWeekdayValue

      // Parse week day value

      value = getValue(n, "ns1:value/ns" + index + ":weekdayNumber");
      if (StringUtils.isNotBlank(value)) {
        WSWeekdayValue val = new WSWeekdayValue();
        val.setResourceID(id);
        val.setWeekdayNumber(Integer.valueOf(value));

        return val;
      }

      throw new IllegalArgumentException("Unsupported value type");
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.