Package gda.device.currentamplifier
Class DummyCurrentAmplifier
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.scannable.ScannableBase
gda.device.currentamplifier.CurrentAmplifierBase
gda.device.currentamplifier.DummyCurrentAmplifier
- All Implemented Interfaces:
CurrentAmplifier,Device,Scannable,Configurable,Findable,gda.observable.IObservable
Dummy class for the CurrentAmplifier interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface gda.device.CurrentAmplifier
CurrentAmplifier.Status -
Field Summary
Fields inherited from class gda.device.currentamplifier.CurrentAmplifierBase
gainPositions, gainUnits, modePositionsFields inherited from class gda.device.scannable.ScannableBase
__doc__, DEFAULT_INPUT_NAME, DEFAULT_OUTPUT_FORMAT, extraNames, inputNames, level, outputFormatFields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface gda.device.Scannable
ATTR_NEXUS_CATEGORY, ATTR_NX_CLASS, DEFAULT_INPUT_NAME, VALUE_UNAVAILABLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublereturns the current valuegetGain()returns the current gain positionreturns the current gain unitgetMode()gets the amplifier's mode of operationReturns the overload statusvoidreturns a parsed list of gains available for this amplifier.voidsetCurrent(double current) voidMoves amplifier's gain to the named position.voidsetGainUnit(String unit) Moves amplifier's gain unit to the named unit.voidsets the amplifier's mode of operationvoidSet the name of the deviceMethods inherited from class gda.device.currentamplifier.CurrentAmplifierBase
asynchronousMoveTo, checkPositionValid, getGainPositions, getGainUnits, getModePositions, getPosition, isBusyMethods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, __str__, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, externalToInternal, getExtraNames, getInputNames, getLevel, getOutputFormat, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, internalToExternal, isAt, moveTo, rawAsynchronousMoveTo, rawGetPosition, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, stop, throwExceptionIfInvalidTarget, toFormattedString, toString, validateScannable, valueUnavailableString, waitWhileBusy, waitWhileBusyMethods inherited from class gda.device.DeviceBase
addIObserver, close, deleteIObserver, deleteIObservers, getAttribute, getName, getProtectionLevel, isBeingObserved, isConfigureAtStartup, notifyIObservers, setAttribute, setConfigureAtStartup, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
configure, isConfigured, reconfigure, setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.Scannable
atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, getExtraNames, getInputNames, getLevel, getOutputFormat, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, stop, toFormattedString, waitWhileBusy
-
Constructor Details
-
DummyCurrentAmplifier
public DummyCurrentAmplifier()
-
-
Method Details
-
setName
Description copied from class:DeviceBaseSet the name of the device- Specified by:
setNamein interfaceFindable- Overrides:
setNamein classDeviceBase- Parameters:
name- The name to set.
-
getCurrent
Description copied from interface:CurrentAmplifierreturns the current value- Returns:
- current
- Throws:
DeviceException
-
setCurrent
public void setCurrent(double current) -
getGain
Description copied from interface:CurrentAmplifierreturns the current gain position- Returns:
- gain position
- Throws:
DeviceException
-
getGainUnit
Description copied from interface:CurrentAmplifierreturns the current gain unit- Returns:
- gain unit
- Throws:
DeviceException
-
getMode
Description copied from interface:CurrentAmplifiergets the amplifier's mode of operation- Returns:
- mode
- Throws:
DeviceException
-
getStatus
Description copied from interface:CurrentAmplifierReturns the overload status- Returns:
- the status
- Throws:
DeviceException
-
setGain
Description copied from interface:CurrentAmplifierMoves amplifier's gain to the named position.- Parameters:
position-- Throws:
DeviceException
-
setGainUnit
Description copied from interface:CurrentAmplifierMoves amplifier's gain unit to the named unit.- Parameters:
unit-- Throws:
DeviceException
-
setMode
Description copied from interface:CurrentAmplifiersets the amplifier's mode of operation- Parameters:
mode-- Throws:
DeviceException
-
listGains
Description copied from interface:CurrentAmplifierreturns a parsed list of gains available for this amplifier.- Throws:
DeviceException
-