Package gda.px.sampleChanger
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidmonitorChanged(gov.aps.jca.event.MonitorEvent arg0) void
-
Constructor Details
-
InterlockMonitor
-
-
Method Details
-
monitorChanged
public void monitorChanged(gov.aps.jca.event.MonitorEvent arg0) - Specified by:
monitorChangedin interfacegov.aps.jca.event.MonitorListener- See Also:
-
getLatestValue
- Returns:
- string of the latest value of the monitored pv
-
update
- Specified by:
updatein interfacegda.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
-