Examples of AlphanumericValue


Examples of com.serotonin.m2m2.rt.dataImage.types.AlphanumericValue

      } catch (NumberFormatException e) {
        startObject = new NumericValue(0);
      }
    } else {
      if (startValue == null)
        startObject = new AlphanumericValue("");
      else
        startObject = new AlphanumericValue(startValue);
    }
    return new VirtualPointLocatorRT(changeType, startObject, isSettable());
  }
View Full Code Here

Examples of com.serotonin.m2m2.rt.dataImage.types.AlphanumericValue

   
    //Second put in the data value
    switch(dataType){
      case DataTypes.ALPHANUMERIC:
        String s = b.getString();
        dataValue = new AlphanumericValue(s);
        break;
      case DataTypes.BINARY:
        boolean bool  = b.getBoolean();
        dataValue = new BinaryValue(bool);
        break;
View Full Code Here

Examples of com.serotonin.m2m2.rt.dataImage.types.AlphanumericValue

                                break;
                            case (DataTypes.MULTISTATE):
                                edv.setValue(new MultistateValue(rs.getInt(1)));
                                break;
                            case (DataTypes.ALPHANUMERIC):
                                edv.setValue(new AlphanumericValue(rs.getString(2)));
                                if (rs.wasNull())
                                    edv.setValue(new AlphanumericValue(rs.getString(3)));
                                break;
                            case (DataTypes.IMAGE):
                                edv.setValue(new ImageValue(Integer.parseInt(rs.getString(2)), rs.getInt(1)));
                                break;
                            default:
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.