Package gda.device.bpm
Class OxfordDanfysikQBPM
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.bpm.BPMBase
gda.device.bpm.OxfordDanfysikQBPM
- All Implemented Interfaces:
BPM,Device,Configurable,Findable,gda.observable.IObservable,Serializable
OxfordDanfysik QBPM.
- See Also:
-
Field Summary
Fields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTY -
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.intGets the device's address.Gets the serial device name.intGets the timeout.doublegetX()Get the current beam X position.doublegetY()Get the current beam Y position.voidsetAddress(int address) Sets the device's address.voidsetSerialDeviceName(String serialDeviceName) Sets the serial device name.voidsetTimeout(int timeout) Sets the timeout.Methods inherited from class gda.device.DeviceBase
addIObserver, close, 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
isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Constructor Details
-
OxfordDanfysikQBPM
public OxfordDanfysikQBPM()
-
-
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
-
getX
Description copied from interface:BPMGet the current beam X position.- Returns:
- Current beam X position.
- Throws:
DeviceException
-
getY
Description copied from interface:BPMGet the current beam Y position.- Returns:
- Current beam Y position.
- Throws:
DeviceException
-
setSerialDeviceName
Sets the serial device name.- Parameters:
serialDeviceName- the serial device name
-
getSerialDeviceName
Gets the serial device name.- Returns:
- the serial device name
-
setAddress
public void setAddress(int address) Sets the device's address.- Parameters:
address- The device's address
-
getAddress
public int getAddress()Gets the device's address.- Returns:
- The device's address
-
setTimeout
public void setTimeout(int timeout) Sets the timeout.- Parameters:
timeout- The timeout
-
getTimeout
public int getTimeout()Gets the timeout.- Returns:
- The timeout
-