public class CarouselSocket extends MobileItemModule
currentAction, fcslog, haltRequired, hasToWaitForEndOfAction, lock, motionCompleted, moving| Constructor and Description |
|---|
CarouselSocket(String moduleName,
int aTickMillis,
FilterClampModule clampXminus,
FilterClampModule clampXplus,
double position,
double standbyPosition) |
abort, abort, checkHardware, checkStarted, checkStopped, executeAction, isMoving, readSensorsUntilActionIsCompleted, shutdownNow, signal, stopalias, change, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getComponentByName, getComponentDictionariesTree, getComponentTree, getContext, getDictionary, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getParent, getSubsystem, getTickMillis, init, injectResources, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, percolateSignal, processUpdate, publish, publish, publish, publish, publish, publish, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, sendSignal, sendSignal, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, start, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic CarouselSocket(String moduleName, int aTickMillis, FilterClampModule clampXminus, FilterClampModule clampXplus, double position, double standbyPosition)
public FilterClampModule getClampXminus()
public void setClampXminus(FilterClampModule clampXminus)
public FilterClampModule getClampXplus()
public void setClampXplus(FilterClampModule clampXplus)
public double getPosition()
public Filter getFilter()
public double getStandbyPosition()
public void initModule()
initModule in class org.lsst.ccs.framework.Module@Command(type=QUERY,
level=1,
description="Returns true if hardware is connected and ready.")
public boolean isHardwareReady()
isHardwareReady in class MobileItemModulepublic FcsEnumerations.FilterClampState getClampsState()
@Deprecated public void updateClampsStateWithSensorsFromSDO() throws FcsHardwareException
HardwareErrorFcsHardwareExceptionpublic void updateClampsStateWithSensors(CanOpenProxy.PDOStorage pdoStorage) throws FcsHardwareException
FcsHardwareExceptionpublic void updateClampsStateWithSensors()
throws FcsHardwareException,
org.lsst.ccs.bus.BadCommandException
FcsHardwareExceptionorg.lsst.ccs.bus.BadCommandExceptionpublic boolean isEmpty()
throws FcsHardwareException
FcsHardwareExceptionpublic boolean isClampedOnFilter()
public boolean isUnclampedOnFilter()
public boolean isUnclampedEmpty()
public boolean isReadyToClamp()
public String releaseClamps() throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
org.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionHardwareErrorFcsHardwareExceptionpublic String unlockClamps() throws FcsHardwareException, org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException
HardwareErrororg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void removeFilter()
throws org.lsst.ccs.bus.BadCommandException
org.lsst.ccs.bus.BadCommandExceptionpublic void putFilterOnSocket(Filter filter)
public boolean isActionCompleted(FcsEnumerations.MobileItemAction action)
isActionCompleted in class MobileItemModulepublic void updateStateWithSensorsToCheckIfActionIsCompleted()
throws Exception
updateStateWithSensorsToCheckIfActionIsCompleted in class MobileItemModuleExceptionpublic void startAction(FcsEnumerations.MobileItemAction action) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
startAction in class MobileItemModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void postAction(FcsEnumerations.MobileItemAction action) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
postAction in class MobileItemModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void stopAction(FcsEnumerations.MobileItemAction action, long delay) throws org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
stopAction in class MobileItemModuleorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionFcsHardwareExceptionCopyright © 2014 LSST. All rights reserved.