Package xal.smf

Class AccessibleProperty

java.lang.Object
xal.smf.AccessibleProperty

public class AccessibleProperty extends Object
Container for properties with their corresponding readback and set channel handles, together with methods to get and set the design and live values.

Some properties may have getter and setter for design values, or only for live values if the properties are not used by the model.

For live values, getter and setters are meant to only convert the value, so if they are not provided the value will be returned the same. EPICS communication is done by the AcceleratorNode object using the methods AcceleratorNode.getLivePropertyValue(java.lang.String, double[]) and AcceleratorNode.setLivePropertyValue(java.lang.String, double).

Author:
Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getReadbackHandles

      public String[] getReadbackHandles()
    • getSetHandle

      public String getSetHandle()
    • setSetHandle

      public void setSetHandle(String setHandle)
    • getDesign

      public double getDesign()
    • getLive

      public double getLive(double[] channelValues)
    • setDesign

      public void setDesign(double channelValue)
    • hasDesignValues

      public boolean hasDesignValues()
    • hasLiveValues

      public boolean hasLiveValues()
    • setLive

      public double setLive(double channelValue)
    • toString

      public String toString()
      Overrides:
      toString in class Object