Package org.opengda.lde.experiments
Class SampleStage
- All Implemented Interfaces:
Device,Scannable,IScannableGroup,IScannableGroupNamed,Configurable,Findable,gda.observable.IObservable,gda.observable.IObserver,Comparable<SampleStage>,org.springframework.beans.factory.InitializingBean
@ServiceInterface(IScannableGroup.class)
public class SampleStage
extends ScannableGroupNamed
implements org.springframework.beans.factory.InitializingBean, Comparable<SampleStage>
-
Field Summary
Fields 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 TypeMethodDescriptionvoidintvoiddoubledoubledoubledoubledoublebooleanisAtCalibrantPosition(Cell cell) booleanisAtSamplePosition(Sample sample) booleanisAtXPosition(double demandPosition) booleanisAtYPosition(double demandPosition) booleanbooleanisParked()booleanvoidvoidsetDetectorPosition(double detectorPosition) voidsetEngagePosition(double engagePosition) voidsetParkPosition(double parkPosition) voidsetPositionTolerance(double positionTolerance) voidsetProcessed(boolean processed) voidsetzPosition(double zPosition) Methods inherited from class gda.device.scannable.scannablegroup.ScannableGroupNamed
addGroupMember, addGroupMemberByName, getGroupMemberByName, getGroupMembersNames, getGroupMembersNamesAsArray, removeGroupMemberName, setGroupMembersNames, setGroupMembersNamesWithArray, setGroupMembersNamesWithArray, setGroupMembersNamesWithListMethods inherited from class gda.device.scannable.scannablegroup.ScannableGroup
__getattr__, addGroupMember, asynchronousMoveTo, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, configure, extractPositionsFromObject, getExtraNames, getGroupMember, getGroupMemberNames, getGroupMembers, getGroupMembersAsArray, getInputNames, getOutputFormat, getPosition, getUnits, isBusy, isDemandAllScannablePositions, removeGroupMemberByIndex, removeGroupMemberByScannable, setDemandAllScannablePositions, setExtraNames, setGroupMembers, setGroupMembersWithArray, setGroupMembersWithList, setInputNames, stop, toFormattedString, toString, update, waitWhileBusyMethods inherited from class gda.device.scannable.ScannableBase
__call__, __call__, __doc__, __getitem__, __len__, __repr__, __str__, externalToInternal, getLevel, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, internalToExternal, isAt, moveTo, rawAsynchronousMoveTo, rawGetPosition, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, throwExceptionIfInvalidTarget, validateScannable, valueUnavailableString, waitWhileBusyMethods 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, 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.scannablegroup.IScannableGroup
addGroupMember, getGroupMemberNames, getGroupMembers, getGroupMembersAsArray, getUnits, removeGroupMemberByIndex, removeGroupMemberByScannable, setGroupMembers, setGroupMembersWithArray, setGroupMembersWithListMethods inherited from interface gda.device.Scannable
asynchronousMoveTo, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, getExtraNames, getInputNames, getLevel, getOutputFormat, getPosition, getScanMetadataAttribute, getScanMetadataAttributeNames, getScanMetadataAttributes, isAt, isBusy, moveTo, setExtraNames, setInputNames, setLevel, setOutputFormat, setScanMetadataAttribute, setScanMetadataAttributes, stop, toFormattedString, waitWhileBusy
-
Constructor Details
-
SampleStage
public SampleStage()
-
-
Method Details
-
getXMotor
- Throws:
DeviceException
-
getYMotor
- Throws:
DeviceException
-
getRotationMotor
- Throws:
DeviceException
-
parkStage
- Throws:
DeviceException
-
engageStage
- Throws:
DeviceException
-
isAtXPosition
- Throws:
DeviceException
-
isAtYPosition
- Throws:
DeviceException
-
isAtCalibrantPosition
- Throws:
DeviceException
-
isAtSamplePosition
- Throws:
DeviceException
-
isParked
- Throws:
DeviceException
-
isEngaged
- Throws:
DeviceException
-
getParkPosition
public double getParkPosition() -
setParkPosition
public void setParkPosition(double parkPosition) -
getEngagePosition
public double getEngagePosition() -
setEngagePosition
public void setEngagePosition(double engagePosition) -
getPositionTolerance
public double getPositionTolerance() -
setPositionTolerance
public void setPositionTolerance(double positionTolerance) -
getzPosition
- Throws:
DeviceException
-
setzPosition
public void setzPosition(double zPosition) -
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
isProcessed
public boolean isProcessed() -
setProcessed
public void setProcessed(boolean processed) -
setDetectorPosition
public void setDetectorPosition(double detectorPosition) -
getDetectorPosition
public double getDetectorPosition() -
compareTo
- Specified by:
compareToin interfaceComparable<SampleStage>
-