Examples of MDualRelay


Examples of org.openhab.binding.tinkerforge.internal.model.MDualRelay

   */
  public void initSubDevices()
  {
    ModelFactory factory = ModelFactory.eINSTANCE;
    for (int i = 1; i < 3; i++) {
      MDualRelay mrelay = factory.createMDualRelay();
      mrelay.setUid(uid);
      String subId = "relay" + String.valueOf(i);
      logger.debug("addSubDevice: {}", subId);
      mrelay.setSubId(subId);
      mrelay.init();
      mrelay.setMbrick(this);
      getMsubdevices().add(mrelay);
    }
  }
View Full Code Here

Examples of org.openhab.binding.tinkerforge.internal.model.MDualRelay

        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ModelPackage.MDUAL_RELAY:
      {
        MDualRelay mDualRelay = (MDualRelay)theEObject;
        T result = caseMDualRelay(mDualRelay);
        if (result == null) result = caseMInSwitchActor(mDualRelay);
        if (result == null) result = caseMSubDevice(mDualRelay);
        if (result == null) result = caseMSwitchActor(mDualRelay);
        if (result == null) result = caseMBaseDevice(mDualRelay);
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.