Class PlateControllerAdapter
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
uk.ac.gda.devices.insitu.handler._PlateEventProvider
uk.ac.gda.devices.insitu.controller.PlateControllerAdapter
- All Implemented Interfaces:
Device,Configurable,Findable,gda.observable.IObservable,gda.observable.IObserver,Serializable,PlateController,PlateEventProvider
@ServiceInterface(PlateController.class)
public class PlateControllerAdapter
extends _PlateEventProvider
implements PlateController, gda.observable.IObserver
- See Also:
-
Field Summary
Fields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTYFields inherited from interface uk.ac.gda.devices.insitu.controller.PlateController
POS_COLLECT, POS_NUM_POSITIONS, POS_ORIGIN, POS_SAFE, POS_SAVED, POS_USER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalibratePosition(Well well) voidDefault 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.intgetPlatePosition(int posIndex) booleanbooleanIndicates whether this object should be configured at startup.booleanChecks to see if the object is already configured.voidloadPlate(int index) voidloadPlateManual(int index) voidvoidvoidvoidmoveToWell(Well well, boolean doResetZoom) voidCalibrate the controller using the currently reported positionvoidRe-initialisation of values and states.voidrestorePosition(int posIndex) savePosition(int posIndex) voidvoidsetController(PlateController plateController) voidvoidsetCurrentPlateIndex(int index) voidsetPlateInventory(PlateInventory inventory) voidsetPositions(String[] positions) voidtest()voidvoidvoidMethods inherited from class uk.ac.gda.devices.insitu.handler._PlateEventProvider
addIObserver, addListener, deleteListener, deleteListeners, isEnabled, notifyListeners, setEnabledMethods inherited from class gda.device.DeviceBase
close, deleteIObserver, deleteIObservers, getAttribute, getName, getProtectionLevel, isBeingObserved, notifyIObservers, setAttribute, setConfigureAtStartup, setName, setProtectionLevelMethods inherited from class gda.factory.ConfigurableBase
setConfiguredMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gda.device.Device
close, getAttribute, getProtectionLevel, setAttribute, setProtectionLevelMethods inherited from interface gda.observable.IObservable
addIObserver, deleteIObserver, deleteIObservers
-
Constructor Details
-
PlateControllerAdapter
public PlateControllerAdapter()
-
-
Method Details
-
calibratePosition
- Specified by:
calibratePositionin interfacePlateController
-
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
-
getController
-
getControllerState
- Specified by:
getControllerStatein interfacePlateController
-
getCurrentPlate
- Specified by:
getCurrentPlatein interfacePlateController
-
getCurrentPlateIndex
public int getCurrentPlateIndex()- Specified by:
getCurrentPlateIndexin interfacePlateController
-
getCurrentPlateType
- Specified by:
getCurrentPlateTypein interfacePlateController
-
getCurrentPosition
- Specified by:
getCurrentPositionin interfacePlateController
-
getOriginPosition
- Specified by:
getOriginPositionin interfacePlateController
-
getPlateInventory
- Specified by:
getPlateInventoryin interfacePlateController
-
getPlatePosition
- Specified by:
getPlatePositionin interfacePlateController
-
getSavedPosition
- Specified by:
getSavedPositionin interfacePlateController
-
getSavedWell
- Specified by:
getSavedWellin interfacePlateController
-
getStatus
- Specified by:
getStatusin interfacePlateController- Throws:
DeviceException
-
isCalibrated
public boolean isCalibrated()- Specified by:
isCalibratedin interfacePlateController
-
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 classDeviceBase
-
isConfigured
public boolean isConfigured()Description copied from interface:ConfigurableChecks to see if the object is already configured.- Specified by:
isConfiguredin interfaceConfigurable- Overrides:
isConfiguredin classConfigurableBase- Returns:
- return
trueif configuredfalseotherwise
-
loadPlate
public void loadPlate(int index) - Specified by:
loadPlatein interfacePlateController
-
loadPlateManual
public void loadPlateManual(int index) - Specified by:
loadPlateManualin interfacePlateController
-
moveTo
- Specified by:
moveToin interfacePlateController
-
moveToAbsolute
- Specified by:
moveToAbsolutein interfacePlateController
-
moveToCollectPosition
public void moveToCollectPosition()- Specified by:
moveToCollectPositionin interfacePlateController
-
moveToSafePosition
public void moveToSafePosition()- Specified by:
moveToSafePositionin interfacePlateController
-
moveToWell
- Specified by:
moveToWellin interfacePlateController
-
recalibrate
public void recalibrate()Description copied from interface:PlateControllerCalibrate the controller using the currently reported position- Specified by:
recalibratein interfacePlateController
-
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
-
resetControllerState
- Specified by:
resetControllerStatein interfacePlateController
-
restorePosition
- Specified by:
restorePositionin interfacePlateController
-
restoreSavedPosition
- Specified by:
restoreSavedPositionin interfacePlateController
-
saveCurrentPosition
- Specified by:
saveCurrentPositionin interfacePlateController
-
savePosition
- Specified by:
savePositionin interfacePlateController
-
saveWell
- Specified by:
saveWellin interfacePlateController
-
setController
-
setControllerState
- Specified by:
setControllerStatein interfacePlateController
-
setCurrentPlateIndex
public void setCurrentPlateIndex(int index) - Specified by:
setCurrentPlateIndexin interfacePlateController
-
setPlateInventory
- Specified by:
setPlateInventoryin interfacePlateController
-
setPositions
- Specified by:
setPositionsin interfacePlateController
-
unloadPlate
public void unloadPlate()- Specified by:
unloadPlatein interfacePlateController
-
unloadPlateManual
public void unloadPlateManual()- Specified by:
unloadPlateManualin interfacePlateController
-
update
- Specified by:
updatein interfacegda.observable.IObserver
-
test
public void test()- Specified by:
testin interfacePlateController
-