public class SimuFilterClampModule extends FilterClampModule
| Modifier and Type | Field and Description |
|---|---|
protected CarouselModule |
carousel |
protected Filter |
dummyFilter |
actuator, clampState, currentToMaintainUnlocked, currentToUnlock, filterPresenceStatus, temperature, timeoutForReleasing, timeoutForUnlocking, updatingStatecurrentAction, fcslog, haltRequired, hasToWaitForEndOfAction, lock, motionCompleted, moving, stopRequired| Constructor and Description |
|---|
SimuFilterClampModule(String aName,
int aTickMillis,
Sensor14bits filterPresenceSensor,
Sensor14bits lockSensor,
Thermometer thermometer,
int filterPositionValueA,
int filterPositionValueB,
int filterPositionValueC,
int filterPositionOffset,
int lockSensorValueA,
int lockSensorValueB,
int lockSensorValueC,
int lockSensorOffset,
int timeoutForUnlocking,
int timeoutForReleasing,
int currentToUnlock,
int currentToMaintainUnlocked) |
| Modifier and Type | Method and Description |
|---|---|
Filter |
getDummyFilter() |
void |
initModule() |
void |
setDummyFilter(Filter dummyFilter) |
void |
startAction(FcsEnumerations.MobileItemAction action) |
void |
updateStateWithSensors()
This method updates the clamp clampState regarding the value returned by the
filter presence sensor and the value returned by the method isLocked().
|
double |
updateTemperature()
This methods read the thermometer, update the field temperature and returns the value sent
by the thermometer;
|
abortAction, checkHardware, computeClampState, getActuator, getClampState, getCurrentToUnlock, getFilterPositionMaxValue, getFilterPositionMinValue, getFilterPositionOffset, getFilterPositionValueA, getFilterPositionValueB, getFilterPositionValueC, getFilterPresenceSensor, getFilterPresenceStatus, getLockSensor, getLockSensorMaxValue, getLockSensorMinValue, getLockSensorOffset, getLockSensorValueA, getLockSensorValueB, getLockSensorValueC, getLockStatus, getStatusData, getTemperature, getThermometer, getTimeoutRelease, getTimeoutUnlock, isActionCompleted, isFilterEngaged, isHardwareReady, isLocked, postAction, publishClampData, publishData, quickStopAction, release, setActuator, setFilterPositionOffset, setFilterPositionValueA, setFilterPositionValueB, setFilterPositionValueC, setLockSensorOffset, setLockSensorValueA, setLockSensorValueB, setLockSensorValueC, setLockStatus, setTimeoutRelease, setTimeoutUnlock, tick, toString, unlock, updateFilterPresenceStatus, updateLockStatus, updateStateWithSensorsFromSDO, updateStateWithSensorsToCheckIfActionIsCompletedabort, abort, checkStarted, checkStopped, executeAction, getHaltRequired, isMoving, quickstop, readSensorsUntilActionIsCompleted, shutdownNow, signal, stop, stopalias, getComponentDictionariesTree, getComponentTree, getContext, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, sendSignal, sendSignal, sendSignalWithTimeLimit, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchange, getCheckedValueFromConfiguration, getChildren, getComponentByName, getDictionary, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, proceduralWalk, publish, publish, publish, publish, publish, publish, start, treeWalkprotected CarouselModule carousel
protected Filter dummyFilter
public SimuFilterClampModule(String aName, int aTickMillis, Sensor14bits filterPresenceSensor, Sensor14bits lockSensor, Thermometer thermometer, int filterPositionValueA, int filterPositionValueB, int filterPositionValueC, int filterPositionOffset, int lockSensorValueA, int lockSensorValueB, int lockSensorValueC, int lockSensorOffset, int timeoutForUnlocking, int timeoutForReleasing, int currentToUnlock, int currentToMaintainUnlocked)
public Filter getDummyFilter()
public void setDummyFilter(Filter dummyFilter)
public double updateTemperature()
FilterClampModuleupdateTemperature in class FilterClampModulepublic void initModule()
initModule in class FilterClampModulepublic void startAction(FcsEnumerations.MobileItemAction action) throws SDORequestException, org.lsst.ccs.bus.BadCommandException, org.lsst.ccs.bus.ErrorInCommandExecutionException, FcsHardwareException
startAction in class FilterClampModuleSDORequestExceptionorg.lsst.ccs.bus.BadCommandExceptionorg.lsst.ccs.bus.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void updateStateWithSensors()
throws FcsHardwareException
FilterClampModuleupdateStateWithSensors in class FilterClampModuleFcsHardwareExceptionCopyright © 2015 LSST. All rights reserved.