public class CarouselMainModule extends MainModule implements AutochangerHandler
bridge, haltRequired, hardwareReady, stopRequired| Constructor and Description |
|---|
CarouselMainModule(String aName,
int aTickMillis,
BridgeToHardware bridge,
FilterManager filterMg) |
| Modifier and Type | Method and Description |
|---|---|
CarouselModule |
getCarousel() |
FilterManager |
getFilterManager() |
void |
initModule() |
boolean |
isAutochangerHoldingFilterAtSTANDBY()
This methods returns true if the autochanger is holding a filter, false otherwise.
|
void |
locateFilters() |
void |
start() |
void |
updateStateWithSensors() |
controlRealHardware, getFilterNames, getHaltRequired, getStopRequired, getTcpProxy, isHardwareReady, listHardware, listHardwareNames, postStart, signal, simulateAlert, simulateWarning, toStringgetComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, shutdownNow, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchange, getCheckedValueFromConfiguration, getChildren, getComponentByName, getFullPath, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, setBulkParameter, submitChange, submitChanges, validateBulkChangepublic CarouselMainModule(String aName, int aTickMillis, BridgeToHardware bridge, FilterManager filterMg)
public FilterManager getFilterManager()
public CarouselModule getCarousel()
public void initModule()
initModule in class MainModule@Command(type=QUERY,
level=0,
description="Return true if Autochanger is holding filter at STANDBY.")
public boolean isAutochangerHoldingFilterAtSTANDBY()
AutochangerHandlerisAutochangerHoldingFilterAtSTANDBY in interface AutochangerHandler@Command(type=QUERY,
level=0,
description="Update state in reading sensors.")
public void updateStateWithSensors()
throws FcsHardwareException,
org.lsst.ccs.messaging.ErrorInCommandExecutionException,
org.lsst.ccs.messaging.BadCommandException
updateStateWithSensors in class MainModuleFcsHardwareExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionorg.lsst.ccs.messaging.BadCommandException@Command(type=ACTION,
level=0,
description="Check which filters are on Carousel and on which socketand update the sockets.")
public void locateFilters()
throws FcsHardwareException,
org.lsst.ccs.messaging.BadCommandException
FcsHardwareExceptionorg.lsst.ccs.messaging.BadCommandExceptionpublic void start()
start in interface org.lsst.ccs.framework.ConfigurableCopyright © 2016 LSST. All rights reserved.