Package tuwien.auto.calimero.dptxlator

Examples of tuwien.auto.calimero.dptxlator.DPTXlator1BitControlled


          return DecimalType.valueOf(translatorBoolean.getValueBoolean() ? "1": "0");
        default:
          return translatorBoolean.getValueBoolean() ? OnOffType.ON:OnOffType.OFF;
        }
      case 2:
        DPTXlator1BitControlled translator1BitControlled =  (DPTXlator1BitControlled) translator;
        int decValue= (translator1BitControlled.getControlBit() ? 2:0) + (translator1BitControlled.getValueBit() ? 1:0) ;
        return new DecimalType (decValue);
      case 3:
        DPTXlator3BitControlled translator3BitControlled = (DPTXlator3BitControlled) translator;
        if (translator3BitControlled.getStepCode()==0) {
          // Not supported: break
View Full Code Here

TOP

Related Classes of tuwien.auto.calimero.dptxlator.DPTXlator1BitControlled

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.