
public class AutochangerTwoLatches extends MobileItemModule
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
updatingState |
currentAction, fcslog, haltRequired, hasToWaitForEndOfAction, lock, motionCompleted, moving, stopRequired| Constructor and Description |
|---|
AutochangerTwoLatches(String moduleName,
int aTickMillis,
AutochangerLatchModule latchXminus,
AutochangerLatchModule latchXplus) |
abort, abort, checkStarted, checkStopped, executeAction, getHaltRequired, isMoving, quickstop, readSensorsUntilActionIsCompleted, shutdownNow, signal, stop, stopalias, getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic AutochangerTwoLatches(String moduleName, int aTickMillis, AutochangerLatchModule latchXminus, AutochangerLatchModule latchXplus)
@Command(type=QUERY, level=1, description="Returns lockStatus.") public FcsEnumerations.LockStatus getLockStatus()
@Command(type=QUERY, level=1, description="Returns filterPresenceStatus.") public FcsEnumerations.FilterPresenceStatus getFilterPresenceStatus()
public EPOSController getLatchXminusController()
public EPOSController getLatchXplusController()
public AutochangerLatchModule getLatchXminus()
public AutochangerLatchModule getLatchXplus()
@Command(type=QUERY, level=1, description="Returns true if lockStatus=LOCKED.") public boolean isLocked()
public void initModule()
initModule in class MobileItemModulepublic boolean isHardwareReady()
isHardwareReady in class MobileItemModulepublic org.lsst.ccs.framework.TreeWalkerDiag checkHardware()
throws org.lsst.ccs.HardwareException
checkHardware in interface org.lsst.ccs.framework.HardwareControllercheckHardware in class MobileItemModuleorg.lsst.ccs.HardwareExceptionpublic boolean isActionCompleted(FcsEnumerations.MobileItemAction action)
isActionCompleted in class MobileItemModule@Command(type=ACTION, level=1, description="Update autochanger state in reading sensors.") public void updateStateWithSensors() throws FcsHardwareException
FcsHardwareExceptionpublic void updateStateWithSensorsToCheckIfActionIsCompleted()
throws Exception
updateStateWithSensorsToCheckIfActionIsCompleted in class MobileItemModuleException@Command(type=ACTION, level=1, description="Close latches.") public String close() throws org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException
org.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareException@Command(type=ACTION, level=1, description="Open latches.") public String open() throws org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException
org.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void startAction(FcsEnumerations.MobileItemAction action) throws org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException
startAction in class MobileItemModuleorg.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void abortAction(FcsEnumerations.MobileItemAction action, long delay) throws org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException
abortAction in class MobileItemModuleorg.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void quickStopAction(FcsEnumerations.MobileItemAction action, long delay) throws org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException
quickStopAction in class MobileItemModuleorg.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void postAction(FcsEnumerations.MobileItemAction action) throws org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException
postAction in class MobileItemModuleorg.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic StatusDataPublishedByAutochangerTwoLatches getStatusData()
public void publishData()
publishData in class MobileItemModuleCopyright © 2015 LSST. All rights reserved.