Class JActorSampleChanger.InterlockMonitor

java.lang.Object
gda.px.sampleChanger.JActorSampleChanger.InterlockMonitor
All Implemented Interfaces:
gda.observable.IObserver, gov.aps.jca.event.MonitorListener, EventListener
Enclosing class:
JActorSampleChanger

protected class JActorSampleChanger.InterlockMonitor extends Object implements gov.aps.jca.event.MonitorListener, gda.observable.IObserver
Observes the pss and records details of the latest changed
  • Constructor Details

  • Method Details

    • monitorChanged

      public void monitorChanged(gov.aps.jca.event.MonitorEvent arg0)
      Specified by:
      monitorChanged in interface gov.aps.jca.event.MonitorListener
      See Also:
      • MonitorListener.monitorChanged(gov.aps.jca.event.MonitorEvent)
    • getLatestValue

      public String getLatestValue()
      Returns:
      string of the latest value of the monitored pv
    • update

      public void update(Object theObserved, Object changeCode)
      Specified by:
      update in interface gda.observable.IObserver
      Parameters:
      theObserved -
      changeCode -
    • firstOperationSinceInterlock

      public boolean firstOperationSinceInterlock()
      Returns:
      true if the interlock is on and no dewar operation by the sample changer has been done since then