Package org.tango.server.testserver

Examples of org.tango.server.testserver.DynamicAttributeTest


  // /////////////////

  @Init()
  public void init() throws DevFailed {
    // create an double write only attribute
    final DynamicAttributeTest attr = new DynamicAttributeTest(double.class);
    attr.getConfiguration().setWritable(AttrWriteType.WRITE);
    attr.getConfiguration().setName("double_scalar_w");
    dynManager.addAttribute(attr);
    attr.getConfiguration().getAttributeProperties().setMaxAlarm("7.0");
    attr.getConfiguration().getAttributeProperties().setMinAlarm("-1.0");

    final Random rand = new Random();
    // set default value
    doubleScalarRw = 0.0;
    doubleScalarR = 0.0;
View Full Code Here

TOP

Related Classes of org.tango.server.testserver.DynamicAttributeTest

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.