Class AbstractPlateLoader
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
gda.device.scannable.ScannableBase
gda.device.scannable.scannablegroup.ScannableGroup
gda.device.scannable.scannablegroup.ScannableGroupNamed
uk.ac.gda.component.model.core.AssemblyBase
uk.ac.gda.devices.insitu.controller.AbstractPlateLoader
- All Implemented Interfaces:
Device,Scannable,IScannableGroup,IScannableGroupNamed,Configurable,Findable,gda.observable.IObservable,gda.observable.IObserver,Serializable,Assembly,CoordinatesMove,IndexMove,IndexPositioner,PlateLoader
- See Also:
-
Field Summary
FieldsFields 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 TypeMethodDescriptiongetAdapter(Class<? extends Assembly> adapter) intbooleanvoidloadPlate(int index) voidloadPlateManual(int index) voidvoidlogMessage(String message) voidmoveToPosition(Coordinates coord) voidvoidvoidprotected PlateLoaderStatevoidvoidsetControllerStateIndex(int index) voidsetCurrentPlateIndex(int index) voidsetSafePosition(Coordinates safePosition) Methods inherited from class uk.ac.gda.component.model.core.AssemblyBase
addActionRule, addDefinedCoordinates, addDefinedCoordinates, addDevice, addGroupMemberByName, asynchronousMoveTo, asynchronousMoveToCoordinates, asynchronousMoveToDefined, asynchronousMoveToIndex, checkActionRules, checkAssemblies, checkAssemblies, checkMovementValid, clearConfiguration, configure, convertPositionArrayToCoordinates, dispose, disposeSubAssemblies, getAllDevices, getCurrentCoordinates, getDefinedCoordinates, getDefinedCoordinatesNames, getDevice, getGroupMemberByName, getGroupMembersNames, getSubAssemblies, isAt, isAt, isAtIndex, isEnabled, isLockedToIndexPositions, isScannable, isScannableAt, isVisited, moveToCoordinates, moveToDefined, moveToIndex, raiseVeto, removeApprover, removeGroupMemberName, setDefinedCoordinates, setEnabled, setGroupMembersNamesWithArray, setGroupMembersNamesWithList, setVisited, toFormattedString, toString, updateCoordinatesMethods inherited from class gda.device.scannable.scannablegroup.ScannableGroupNamed
addGroupMember, getGroupMembersNamesAsArray, setGroupMembersNames, setGroupMembersNamesWithArrayMethods inherited from class gda.device.scannable.scannablegroup.ScannableGroup
__getattr__, addGroupMember, atCommandFailure, atLevelEnd, atLevelMoveStart, atLevelStart, atPointEnd, atPointStart, atScanEnd, atScanLineEnd, atScanLineStart, atScanStart, checkPositionValid, extractPositionsFromObject, getExtraNames, getGroupMember, getGroupMemberNames, getGroupMembers, getGroupMembersAsArray, getInputNames, getOutputFormat, getPosition, getUnits, isBusy, isDemandAllScannablePositions, removeGroupMemberByIndex, removeGroupMemberByScannable, setDemandAllScannablePositions, setExtraNames, setGroupMembers, setGroupMembersWithArray, setGroupMembersWithList, setInputNames, stop, 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 uk.ac.gda.component.model.api.Assembly
addActionRule, checkAssemblies, clearConfiguration, getAllDevices, getDevice, getSubAssemblies, isEnabledMethods inherited from interface gda.factory.Configurable
configure, isConfigureAtStartup, isConfigured, reconfigureMethods inherited from interface uk.ac.gda.component.model.api.CoordinatesMove
asynchronousMoveToCoordinates, checkMovementValid, getCurrentCoordinates, getDefinedCoordinates, moveToCoordinatesMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface uk.ac.gda.component.model.api.IndexMove
asynchronousMoveToDefined, asynchronousMoveToIndex, getDefinedCoordinatesNames, isAt, isAtIndex, moveToDefined, moveToIndexMethods inherited from interface uk.ac.gda.component.model.api.IndexPositioner
addDefinedCoordinates, isLockedToIndexPositions, setDefinedCoordinates, updateCoordinatesMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObserversMethods inherited from interface gda.device.scannable.scannablegroup.IScannableGroup
addGroupMember, addGroupMember, getGroupMemberNames, getGroupMembers, getGroupMembersAsArray, getUnits, removeGroupMemberByIndex, removeGroupMemberByScannable, setGroupMembers, setGroupMembersWithArray, setGroupMembersWithListMethods inherited from interface gda.device.scannable.scannablegroup.IScannableGroupNamed
addGroupMemberByName, getGroupMemberByName, getGroupMembersNames, getGroupMembersNamesAsArray, removeGroupMemberName, setGroupMembersNames, setGroupMembersNamesWithArray, setGroupMembersNamesWithArray, setGroupMembersNamesWithListMethods inherited from interface uk.ac.gda.devices.insitu.controller.PlateLoader
unloadPlate, unloadPlateManualMethods 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
-
Field Details
-
CFG_KEY_LOADER_STATE
- See Also:
-
EMPTY_INDEX
public static final int EMPTY_INDEX- See Also:
-
logger
public static org.slf4j.Logger logger
-
-
Constructor Details
-
AbstractPlateLoader
public AbstractPlateLoader()
-
-
Method Details
-
getAdapter
- Specified by:
getAdapterin interfaceAssembly- Overrides:
getAdapterin classAssemblyBase
-
getControllerState
- Specified by:
getControllerStatein interfacePlateLoader- Throws:
DeviceException
-
getCurrentPlateIndex
public int getCurrentPlateIndex() -
getSafePosition
-
getStatus
- Specified by:
getStatusin interfacePlateLoader- Throws:
DeviceException
-
hasSafePosition
public boolean hasSafePosition() -
loadPlate
- Specified by:
loadPlatein interfacePlateLoader- Throws:
DeviceException
-
loadPlateManual
- Specified by:
loadPlateManualin interfacePlateLoader- Throws:
DeviceException
-
moveToPosition
- Throws:
DeviceException
-
moveToSafePosition
- Throws:
DeviceException
-
notifyPlateEventListeners
-
resetControllerState
- Specified by:
resetControllerStatein interfacePlateLoader
-
saveControllerState
protected PlateLoaderState saveControllerState(PlateLoaderState state) throws org.apache.commons.configuration.ConfigurationException, IOException - Throws:
org.apache.commons.configuration.ConfigurationExceptionIOException
-
logError
-
logMessage
-
setControllerState
- Specified by:
setControllerStatein interfacePlateLoader
-
setControllerStateIndex
public void setControllerStateIndex(int index) -
setCurrentPlateIndex
public void setCurrentPlateIndex(int index) -
setSafePosition
-