Class DummyInternalRobot
java.lang.Object
gda.factory.ConfigurableBase
gda.factory.FindableConfigurableBase
gda.device.DeviceBase
uk.ac.gda.vmxi.samplehandling.devices.DummyInternalRobot
- All Implemented Interfaces:
Device,Configurable,Findable,gda.observable.IObservable,InternalRobot
-
Field Summary
Fields inherited from class gda.device.DeviceBase
DEFAULT_PROTECTION_LEVEL_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintbooleanisBusy()booleanisError()booleanbooleanbooleanbooleanbooleanisReady()voidsetSourcePosition(int position) voidsetTargetPosition(int position) voidvoidvoidvoidvoidvoidvoidvoidwaitWhileBusy(long 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
configure, 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
configure, 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
-
DummyInternalRobot
public DummyInternalRobot()
-
-
Method Details
-
isBusy
public boolean isBusy()- Specified by:
isBusyin interfaceInternalRobot
-
waitWhileBusy
- Specified by:
waitWhileBusyin interfaceInternalRobot- Throws:
InterruptedException
-
waitWhileBusy
- Specified by:
waitWhileBusyin interfaceInternalRobot- Throws:
TimeoutExceptionInterruptedException
-
isError
public boolean isError()- Specified by:
isErrorin interfaceInternalRobot
-
getErrorCode
public int getErrorCode()- Specified by:
getErrorCodein interfaceInternalRobot
-
isReady
public boolean isReady()- Specified by:
isReadyin interfaceInternalRobot
-
getCurrentJobCode
public int getCurrentJobCode()- Specified by:
getCurrentJobCodein interfaceInternalRobot
-
setTargetPosition
public void setTargetPosition(int position) - Specified by:
setTargetPositionin interfaceInternalRobot
-
getTargetPosition
public int getTargetPosition()- Specified by:
getTargetPositionin interfaceInternalRobot
-
setSourcePosition
public void setSourcePosition(int position) - Specified by:
setSourcePositionin interfaceInternalRobot
-
getSourcePosition
public int getSourcePosition()- Specified by:
getSourcePositionin interfaceInternalRobot
-
triggerAddPlate
public void triggerAddPlate()- Specified by:
triggerAddPlatein interfaceInternalRobot
-
triggerRemovePlate
public void triggerRemovePlate()- Specified by:
triggerRemovePlatein interfaceInternalRobot
-
triggerLoadPlate
public void triggerLoadPlate()- Specified by:
triggerLoadPlatein interfaceInternalRobot
-
triggerUnloadPlate
public void triggerUnloadPlate()- Specified by:
triggerUnloadPlatein interfaceInternalRobot
-
triggerFourDegreePlateLoad
- Specified by:
triggerFourDegreePlateLoadin interfaceInternalRobot- Throws:
DeviceException
-
triggerFourDegreePlateUnload
- Specified by:
triggerFourDegreePlateUnloadin interfaceInternalRobot- Throws:
DeviceException
-
isLoadlockOccupied
- Specified by:
isLoadlockOccupiedin interfaceInternalRobot- Throws:
DeviceException
-
isLoadlockAtInternalLimit
- Specified by:
isLoadlockAtInternalLimitin interfaceInternalRobot- Throws:
DeviceException
-
isLoadlockAtExternalLimit
- Specified by:
isLoadlockAtExternalLimitin interfaceInternalRobot- Throws:
DeviceException
-
isLoadlockHolderAtExtendedLimit
- Specified by:
isLoadlockHolderAtExtendedLimitin interfaceInternalRobot- Throws:
DeviceException
-