Package uk.ac.diamond.daq.gasrig
Class GasRigController
java.lang.Object
gda.factory.ConfigurableBase
gda.device.BaseEpicsDeviceController
uk.ac.diamond.daq.gasrig.BaseGasRigController
uk.ac.diamond.daq.gasrig.GasRigController
- All Implemented Interfaces:
Configurable,gda.observable.IObservable,IGasRigController
-
Field Summary
Fields inherited from class uk.ac.diamond.daq.gasrig.BaseGasRigController
LINE_1, LINE_2, SEQUENCE_ABORT, SEQUENCE_RESET, SEQUENCE_START, VALVE_CLOSE, VALVE_OPENFields inherited from class gda.device.BaseEpicsDeviceController
logger -
Constructor Summary
ConstructorsConstructorDescriptionGasRigController(String basePvName, List<GasRigFlowController> flowControllers) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIObserver(gda.observable.IObserver observer) voidadmitGasToLine(String gasName, int lineNumber) voidvoidvoidadmitLineToEndStation(int lineNumber) voidcloseLineValveForGas(int gasId, int lineNumber) voidcloseLineValvesForGas(int gasId) 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.voiddeleteIObserver(gda.observable.IObserver observer) voidvoidvoidevacuateLine(int lineNumber) voidgetGasName(int gasId) doublegetMaximumMassFlow(int gasId) intvoidbooleanisGasFlowingToLine(int gasId, int lineNumber) voidvoidsetAllGasFlowsToZero(int value) voidsetButterflyValvePosition(double value) voidsetButterflyValvePressure(double value) voidsetMassFlow(int gasId, double massFlow) voidsetV92ControlSleep(int v92ControlSleep) voidMethods inherited from class uk.ac.diamond.daq.gasrig.BaseGasRigController
constructEnumSequenceParameterPv, constructGasNamePvSuffix, constructMassFlowSetPointPv, constructMaximumMassFlowPvSuffix, constructNumericSequenceParameterPv, constructSequenceControlPvSuffix, constructSequenceProgressPvSuffix, constructSequenceStatusPvSuffix, constructValveControlPv, constructValveStatusPv, getButterflyValveSetPositionPv, getButterflyValveSetPressurePv, getZeroFlowPvMethods inherited from class gda.device.BaseEpicsDeviceController
getBasePvName, getChannel, getDoubleArray, getDoubleArray, getDoubleValue, getEpicsController, getIntegerValue, getStringValue, initialiseEnumChannel, setBasePvName, setDoubleValue, setDoubleValueAsynchronously, setIntegerValue, setMonitor, setMonitor, setStringValue, setStringValue, setStringValueAsynchronously, setStringValueAsynchronouslyMethods inherited from class gda.factory.ConfigurableBase
isConfigureAtStartup, isConfigured, reconfigure, setConfigured
-
Constructor Details
-
GasRigController
-
-
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
-
getGasName
- Specified by:
getGasNamein interfaceIGasRigController- Throws:
DeviceExceptionGasRigException
-
getMaximumMassFlow
- Specified by:
getMaximumMassFlowin interfaceIGasRigController- Throws:
DeviceExceptionGasRigException
-
setMassFlow
- Specified by:
setMassFlowin interfaceIGasRigController- Throws:
DeviceExceptionGasRigException
-
runDummySequence
- Specified by:
runDummySequencein interfaceIGasRigController- Throws:
DeviceException
-
evacuateEndStation
- Specified by:
evacuateEndStationin interfaceIGasRigController- Throws:
DeviceException
-
evacuateLine
- Specified by:
evacuateLinein interfaceIGasRigController- Throws:
DeviceException
-
evacuateLines
- Specified by:
evacuateLinesin interfaceIGasRigController- Throws:
DeviceException
-
admitGasToLine
- Specified by:
admitGasToLinein interfaceIGasRigController- Throws:
DeviceException
-
admitLineToEndStation
- Specified by:
admitLineToEndStationin interfaceIGasRigController- Throws:
DeviceException
-
initialise
- Specified by:
initialisein interfaceIGasRigController- Throws:
DeviceException
-
admitLinesToEndStation
- Specified by:
admitLinesToEndStationin interfaceIGasRigController- Throws:
DeviceException
-
admitLinesToExhaust
- Specified by:
admitLinesToExhaustin interfaceIGasRigController- Throws:
DeviceException
-
closeLineValvesForGas
- Specified by:
closeLineValvesForGasin interfaceIGasRigController- Throws:
DeviceExceptionGasRigException
-
closeLineValveForGas
- Specified by:
closeLineValveForGasin interfaceIGasRigController- Throws:
DeviceExceptionGasRigException
-
isGasFlowingToLine
public boolean isGasFlowingToLine(int gasId, int lineNumber) throws DeviceException, GasRigException - Specified by:
isGasFlowingToLinein interfaceIGasRigController- Throws:
DeviceExceptionGasRigException
-
setButterflyValvePressure
- Specified by:
setButterflyValvePressurein interfaceIGasRigController- Throws:
DeviceException
-
setButterflyValvePosition
- Specified by:
setButterflyValvePositionin interfaceIGasRigController- Throws:
DeviceException
-
stopCurrentSequence
- Specified by:
stopCurrentSequencein interfaceIGasRigController- Throws:
DeviceException
-
setAllGasFlowsToZero
- Specified by:
setAllGasFlowsToZeroin interfaceIGasRigController- Throws:
DeviceException
-
addIObserver
public void addIObserver(gda.observable.IObserver observer) - Specified by:
addIObserverin interfacegda.observable.IObservable
-
deleteIObserver
public void deleteIObserver(gda.observable.IObserver observer) - Specified by:
deleteIObserverin interfacegda.observable.IObservable
-
deleteIObservers
public void deleteIObservers()- Specified by:
deleteIObserversin interfacegda.observable.IObservable
-
getV92ControlSleep
public int getV92ControlSleep() -
setV92ControlSleep
public void setV92ControlSleep(int v92ControlSleep)
-