Package tuwien.auto.calimero.datapoint

Examples of tuwien.auto.calimero.datapoint.CommandDP


          GroupAddress groupAddress = new GroupAddress(ga);
          Datapoint dp;
          if (j != 0 || item.getAcceptedCommandTypes().size() == 0) {
            dp = new StateDP(groupAddress, item.getName(), 0, dptID);
          } else {
            dp = new CommandDP(groupAddress, item.getName(), 0, dptID);
          }
         
          // assign datapoint to configuration item
          if (configItem.mainDataPoint == null) {
            configItem.mainDataPoint = dp;
View Full Code Here


   * @return a new CommandDP
   * @throws KNXFormatException
   */
  private Datapoint createDP(String dpt) throws KNXFormatException {
    int mainNumber=Integer.parseInt(dpt.substring(0, dpt.indexOf('.')));
    return new CommandDP(new GroupAddress("1/2/3"), "test", mainNumber, dpt);
  }
View Full Code Here

TOP

Related Classes of tuwien.auto.calimero.datapoint.CommandDP

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.