/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated NOT
  */
 @Override
 public void initSubDevices() {
   ModelFactory factory = ModelFactory.eINSTANCE;
   for (int i = 0; i < 4; i++) {
     DigitalActorDigitalOut4 out4 = factory.createDigitalActorDigitalOut4();
     out4.setUid(getUid());
     String subId = "out" + String.valueOf(i);
     logger.debug("addSubDevice: {}", subId);
     out4.setSubId(subId);
     out4.setPin(i);
     out4.init();
     out4.setMbrick(this);
     getMsubdevices().add(out4);
   }
 }
  /**
   *
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @generated NOT
   */
  @Override
  public void initSubDevices() {
    ModelFactory factory = ModelFactory.eINSTANCE;
    IndustrialDualAnalogInChannel channel0 = factory.createIndustrialDualAnalogInChannel();
    channel0.setChannelNum((short) 0);
    channel0.setUid(getUid());
    String subIdChannel0 = "channel0";
    logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdChannel0);
    channel0.setSubId(subIdChannel0);
    channel0.init();
    channel0.setMbrick(this);

    IndustrialDualAnalogInChannel channel1 = factory.createIndustrialDualAnalogInChannel();
    channel1.setChannelNum((short) 1);
    channel1.setUid(getUid());
    String subIdChannel1 = "channel1";
    logger.debug("{} addSubDevice {}", LoggerConstants.TFINIT, subIdChannel1);
    channel1.setSubId(subIdChannel1);
    channel1.init();
    channel1.setMbrick(this);
  }