Package gda.device.evaporator.epics
Class EpicsEvaporatorController
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.evaporator.epics.EpicsEvaporatorController
- All Implemented Interfaces:
EvaporatorController,Configurable,Findable
public class EpicsEvaporatorController
extends FindableConfigurableBase
implements EvaporatorController
EPICS controller for a multi pocket evaporator.
This provides access to the individual pockets as well as the general controls (enable/disable, highVoltage on/off etc) To configure in spring, this needs the number of pockets and the base PV up to (but not including) the final ':' (of a general/non-pocket PV). eg:
This provides access to the individual pockets as well as the general controls (enable/disable, highVoltage on/off etc) To configure in spring, this needs the number of pockets and the base PV up to (but not including) the final ':' (of a general/non-pocket PV). eg:
<bean id="ebe" class="gda.device.evaporator.EpicsEvaporatorController" >
<property name="pvBase" value="BL07I-EA-EBE-01" />
<property name="numberOfPockets" value="4" />
</bean>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidDefault 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.doubleintgetPocket(int pocket) String[]booleanbooleanbooleanisRemote()voidsetEnabled(boolean enable) voidsetHighVoltage(double hv) voidsetHighVoltageEnabled(boolean enable) voidsetPocketCount(int pocketCount) voidvoidsetRemote(boolean remote) voidsetShutter(String shutterPosition) toString()Methods inherited from class gda.factory.FindableConfigurableBase
getName, setNameMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Constructor Details
-
EpicsEvaporatorController
public EpicsEvaporatorController()
-
-
Method Details
-
setEnabled
- Specified by:
setEnabledin interfaceEvaporatorController- Throws:
DeviceException
-
isEnabled
- Specified by:
isEnabledin interfaceEvaporatorController- Throws:
DeviceException
-
setRemote
- Specified by:
setRemotein interfaceEvaporatorController- Throws:
DeviceException
-
isRemote
- Specified by:
isRemotein interfaceEvaporatorController- Throws:
DeviceException
-
setHighVoltage
- Specified by:
setHighVoltagein interfaceEvaporatorController- Throws:
DeviceException
-
getHighVoltage
- Specified by:
getHighVoltagein interfaceEvaporatorController- Throws:
DeviceException
-
setHighVoltageEnabled
- Specified by:
setHighVoltageEnabledin interfaceEvaporatorController- Throws:
DeviceException
-
isHighVoltageEnabled
- Specified by:
isHighVoltageEnabledin interfaceEvaporatorController- Throws:
DeviceException
-
setShutter
- Specified by:
setShutterin interfaceEvaporatorController- Throws:
DeviceException
-
getShutter
- Specified by:
getShutterin interfaceEvaporatorController- Throws:
DeviceException
-
getShutterPositions
- Specified by:
getShutterPositionsin interfaceEvaporatorController- Throws:
DeviceException
-
getNumberOfPockets
public int getNumberOfPockets()- Specified by:
getNumberOfPocketsin interfaceEvaporatorController
-
getPocket
- Specified by:
getPocketin interfaceEvaporatorController
-
clearError
- Specified by:
clearErrorin interfaceEvaporatorController- Throws:
DeviceException
-
setPvBase
-
setPocketCount
public void setPocketCount(int pocketCount) -
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
-
toString
-