Package org.openhab.binding.tinkerforge.internal.model

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


   */
  public void initSubDevices()
  {
    ModelFactory factory = ModelFactory.eINSTANCE;
    for (int i = 0; i < 4; i++) {
      MIndustrialQuadRelay relay = factory.createMIndustrialQuadRelay();
      relay.setUid(uid);
      String subId = "relay" + String.valueOf(i);
      logger.debug("addSubDevice " + subId);
      relay.setSubId(subId);
      relay.init();
      relay.setMbrick(this);
      getMsubdevices().add(relay);
    }
  }
View Full Code Here


        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ModelPackage.MINDUSTRIAL_QUAD_RELAY:
      {
        MIndustrialQuadRelay mIndustrialQuadRelay = (MIndustrialQuadRelay)theEObject;
        T result = caseMIndustrialQuadRelay(mIndustrialQuadRelay);
        if (result == null) result = caseMInSwitchActor(mIndustrialQuadRelay);
        if (result == null) result = caseMSubDevice(mIndustrialQuadRelay);
        if (result == null) result = caseMSwitchActor(mIndustrialQuadRelay);
        if (result == null) result = caseMBaseDevice(mIndustrialQuadRelay);
View Full Code Here

TOP

Related Classes of org.openhab.binding.tinkerforge.internal.model.MIndustrialQuadRelay

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.