Package gda.px.camera
Class MXShutter
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.px.camera.MXShutter
- All Implemented Interfaces:
Device,InitializationListener,Configurable,Findable,gda.observable.IObservable,Shutter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EpicsChannelManagerEPICS Channel Managerprotected EpicsControllerEPICS controllerprotected gov.aps.jca.Channelprotected gov.aps.jca.ChannelEpics channelsFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauto()voidclose()Close and unconfigure the device.voidDefault 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.intintintbooleanvoidCalled when all critical channels are connected.booleanisOpen()voidopen()voidsetShutterAutoValue(int shutterAutoValue) voidsetShutterCloseValue(int shutterCloseValue) voidsetShutterOpenValue(int shutterOpenValue) voidsetShutterStatePvName(String shutterStatePvName) voidsetShutterValPvName(String shutterValPvName) Methods inherited from class gda.device.DeviceBase
addIObserver, deleteIObserver, deleteIObservers, getAttribute, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.factory.Configurable
isConfigured, reconfigure
-
Field Details
-
shutterVAL
protected gov.aps.jca.Channel shutterVALEpics channels -
shutterSTATE
protected gov.aps.jca.Channel shutterSTATE -
controller
EPICS controller -
channelManager
EPICS Channel Manager
-
-
Constructor Details
-
MXShutter
public MXShutter()
-
-
Method Details
-
configure
Description copied from class:ConfigurableBaseDefault 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:
configurein interfaceConfigurable- Overrides:
configurein classConfigurableBase- Throws:
FactoryException- if there is an error in configuration e.g. required variable not set or cannot connect to device
-
auto
- Specified by:
autoin interfaceShutter- Throws:
DeviceException
-
close
Description copied from interface:DeviceClose and unconfigure the device.- Specified by:
closein interfaceDevice- Specified by:
closein interfaceShutter- Overrides:
closein classDeviceBase- Throws:
DeviceException
-
isOpen
- Specified by:
isOpenin interfaceShutter- Throws:
DeviceException
-
open
- Specified by:
openin interfaceShutter- Throws:
DeviceException
-
getShutterAutoValue
public int getShutterAutoValue() -
setShutterAutoValue
public void setShutterAutoValue(int shutterAutoValue) -
getShutterOpenValue
public int getShutterOpenValue() -
setShutterOpenValue
public void setShutterOpenValue(int shutterOpenValue) -
getShutterCloseValue
public int getShutterCloseValue() -
setShutterCloseValue
public void setShutterCloseValue(int shutterCloseValue) -
initializationCompleted
public void initializationCompleted()Description copied from interface:InitializationListenerCalled when all critical channels are connected.- Specified by:
initializationCompletedin interfaceInitializationListener
-
getShutterValPvName
-
setShutterValPvName
-
getShutterStatePvName
-
setShutterStatePvName
-
hasShutterStatus
public boolean hasShutterStatus()- Specified by:
hasShutterStatusin interfaceShutter
-