Class RobotSampleState

All Implemented Interfaces:
Device, InitializationListener, Configurable, Findable, gda.observable.IObservable

public class RobotSampleState extends DeviceBase implements InitializationListener
RobotSampleState Class
  • Constructor Details

    • RobotSampleState

      public RobotSampleState()
      Constructor
  • Method Details

    • configure

      public void configure() throws FactoryException
      Description copied from class: ConfigurableBase
      Default implementation for classes that do not have to do any specific configuration.
      Classes that do their own configuration should *not* call this superclass function, as it may cause the object to appear configured before it really is.
      Specified by:
      configure in interface Configurable
      Overrides:
      configure in class ConfigurableBase
      Throws:
      FactoryException - if there is an error in configuration e.g. required variable not set or cannot connect to device
    • getRobotSampleState

      public int getRobotSampleState() throws DeviceException
      gets the raw value from sample state from Robot.
      Returns:
      the raw value from sample state from Robot
      Throws:
      DeviceException
    • getSampleState

      public SampleState getSampleState() throws DeviceException
      gets the state of sample for the robot - where is the sample?
      Returns:
      the state of sample for the robot - where is the sample
      Throws:
      DeviceException
    • initializationCompleted

      public void initializationCompleted()
      Description copied from interface: InitializationListener
      Called when all critical channels are connected.
      Specified by:
      initializationCompleted in interface InitializationListener
    • getPvName

      public String getPvName()
    • setPvName

      public void setPvName(String pvName)