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

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


        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case ModelPackage.MBRICKLET_IO16:
      {
        MBrickletIO16 mBrickletIO16 = (MBrickletIO16)theEObject;
        T result = caseMBrickletIO16(mBrickletIO16);
        if (result == null) result = caseMDevice(mBrickletIO16);
        if (result == null) result = caseMSubDeviceHolder(mBrickletIO16);
        if (result == null) result = caseInterruptListener(mBrickletIO16);
        if (result == null) result = caseMTFConfigConsumer(mBrickletIO16);
View Full Code Here


      logger.debug("{} found config for DigitalSensor", LoggerConstants.TFINIT);
      setPullUpResistorEnabled(tfConfig.isPullUpResistorEnabled());
      logger.debug("{} pull-up resistor state is {}", LoggerConstants.TFINIT,
          isPullUpResistorEnabled());
    }
    MBrickletIO16 bricklet = getMbrick();
    if (bricklet == null) {
      logger.error("{} No bricklet found for DigitalSensor: {} ", LoggerConstants.TFINIT, subId);
    } else {
      BrickletIO16 brickletIO16 = bricklet.getTinkerforgeDevice();
      try {
        logger.debug("{} setting InterruptListener for DigitalSensor: {} ", LoggerConstants.TFINIT,
            subId);
        interruptListener = new InterruptListener();
        brickletIO16.addInterruptListener(interruptListener);
View Full Code Here

TOP

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

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.