Package gda.px.humiditycontroller
Class HC1EpicsDummyDevice
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.px.humiditycontroller.HC1DeviceBase
gda.px.humiditycontroller.HC1EpicsDummyDevice
- All Implemented Interfaces:
Configurable,Findable,gda.observable.IObservable,HC1Device
@ServiceInterface(HC1Device.class)
public class HC1EpicsDummyDevice
extends HC1DeviceBase
implements Configurable
Mirror the HC1Device in terms of class structure
PROPER COMMENTS HERE
bean configuration found at:
gda-mx.git.configurations.mx-config.servers.live humidity_controller.xml
File imported in the common.xml or server.xml for a given beamline
RMI client/server definition:
gda-mx.git/configurations/mx-config/servers humidity_controller.xml
-
Field Summary
FieldsFields inherited from class gda.px.humiditycontroller.HC1DeviceBase
oc -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDefault 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.Get the coordinates of the max and min point of a dropdoubleGet the change in size of the drop when compared against some initial calculation of the drop size, expressed as a % increase or decrease in the relative drop size - depends on whether drop size tracking has been activatedbooleanGet the flag that indicates whether drop size tracking is activate/deactivated - mappings are {1.0 -> True,0.0 -> False}doublegetRH()Gets the Relative Humidity of the device as a %.doubleGets the set point for the Relative Humidity of the Device as a %getROI()Get the coordinates of the rectangular area that frames the Region of Interest of a Drop on the imagedoubleGets the sample temperature of the Device in degrees CelsiusbooleanIndicates whether this object should be configured at startup.voidRe-initialisation of values and states.voidBean required method to set the stem of the HC1 PV string to match currently running beamlinevoidReset the drop size to 100% - the current drop size calculation becomes the reference valuevoidsetDropSizeTracking(boolean trackDrop) Set the flag to activate/deactivate drop size tracking - mappings are {true -> Activate (1.0), false -> Deactivate (0.0)}voidsetRHSetPoint(double setPoint) Sets the set point for the Relative Humidity of the Device as a %.voidsetROI(int x, int y, int width, int height) Sets the coordinates that frames the Region of Interest of the Drop on the image using the explicit (x,y) coordinates of the bottom corner of rectangle, and its height and widthvoidSets the coordinates that frames the Region of Interest of the Drop on the image using the Rectangular classMethods inherited from class gda.px.humiditycontroller.HC1DeviceBase
addIObserver, deleteIObserver, deleteIObservers, helpMethods inherited from class gda.factory.FindableConfigurableBase
getName, setNameMethods inherited from class gda.factory.ConfigurableBase
isConfigured, 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
-
Field Details
-
hc1_configure
public boolean hc1_configure -
basePv
-
-
Constructor Details
-
HC1EpicsDummyDevice
public HC1EpicsDummyDevice()
-
-
Method Details
-
getRH
Description copied from interface:HC1DeviceGets the Relative Humidity of the device as a %.- Specified by:
getRHin interfaceHC1Device- Returns:
- Relative Humidity as a %
- Throws:
DeviceException
-
getRHSetPoint
Description copied from interface:HC1DeviceGets the set point for the Relative Humidity of the Device as a %- Specified by:
getRHSetPointin interfaceHC1Device- Returns:
- Relative Humidity Set Point %
- Throws:
DeviceException
-
setRHSetPoint
Description copied from interface:HC1DeviceSets the set point for the Relative Humidity of the Device as a %.- Specified by:
setRHSetPointin interfaceHC1Device- Parameters:
setPoint- - Relative Humidity Set Point as a %- Throws:
DeviceException
-
getSampleTemp
Description copied from interface:HC1DeviceGets the sample temperature of the Device in degrees Celsius- Specified by:
getSampleTempin interfaceHC1Device- Returns:
- Internal device temperature in Celsius %
- Throws:
DeviceException
-
getROI
Description copied from interface:HC1DeviceGet the coordinates of the rectangular area that frames the Region of Interest of a Drop on the image- Specified by:
getROIin interfaceHC1Device- Returns:
- Coordinates of the Rectangle of a Region of Interest from an image
- Throws:
DeviceException
-
setROI
Description copied from interface:HC1DeviceSets the coordinates that frames the Region of Interest of the Drop on the image using the Rectangular class- Specified by:
setROIin interfaceHC1Device- Throws:
DeviceException
-
setROI
Description copied from interface:HC1DeviceSets the coordinates that frames the Region of Interest of the Drop on the image using the explicit (x,y) coordinates of the bottom corner of rectangle, and its height and width- Specified by:
setROIin interfaceHC1Device- Throws:
DeviceException
-
getDropSize
Description copied from interface:HC1DeviceGet the change in size of the drop when compared against some initial calculation of the drop size, expressed as a % increase or decrease in the relative drop size - depends on whether drop size tracking has been activated- Specified by:
getDropSizein interfaceHC1Device- Returns:
- Change in drop size as a percentage change
- Throws:
DeviceException
-
setDropSize
Description copied from interface:HC1DeviceReset the drop size to 100% - the current drop size calculation becomes the reference value- Specified by:
setDropSizein interfaceHC1Device- Throws:
DeviceException
-
getDropCoords
Description copied from interface:HC1DeviceGet the coordinates of the max and min point of a drop- Specified by:
getDropCoordsin interfaceHC1Device- Returns:
- Coordinates that represent the max and min of a drop
- Throws:
DeviceException
-
getDropSizeTracking
Description copied from interface:HC1DeviceGet the flag that indicates whether drop size tracking is activate/deactivated - mappings are {1.0 -> True,0.0 -> False}- Specified by:
getDropSizeTrackingin interfaceHC1Device- Returns:
- Flag that indicates if Drop Size Tracking is Activated/Deactivated
- Throws:
DeviceException
-
setDropSizeTracking
Description copied from interface:HC1DeviceSet the flag to activate/deactivate drop size tracking - mappings are {true -> Activate (1.0), false -> Deactivate (0.0)}- Specified by:
setDropSizeTrackingin interfaceHC1Device- Throws:
DeviceException
-
setBasePv
Bean required method to set the stem of the HC1 PV string to match currently running beamline -
getBasePv
-
reconfigure
Description copied from interface:ConfigurableRe-initialisation of values and states.Moved from Reconfigurable which has been deleted
- Specified by:
reconfigurein interfaceConfigurable- Overrides:
reconfigurein classConfigurableBase- Throws:
FactoryException
-
isConfigureAtStartup
public boolean isConfigureAtStartup()Description copied from interface:ConfigurableIndicates whether this object should be configured at startup.Moved from ConditionallyConfigurable which has been deleted
- Specified by:
isConfigureAtStartupin interfaceConfigurable- Overrides:
isConfigureAtStartupin classConfigurableBase
-
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
-