public class SimuCarouselClampModule extends CarouselClampModule
| 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 |
|---|
SimuCarouselClampModule(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, 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, getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedprotected CarouselModule carousel
protected Filter dummyFilter
public SimuCarouselClampModule(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()
CarouselClampModuleupdateTemperature in class CarouselClampModulepublic void initModule()
initModule in class CarouselClampModulepublic void startAction(FcsEnumerations.MobileItemAction action) throws SDORequestException, org.lsst.ccs.messaging.BadCommandException, org.lsst.ccs.messaging.ErrorInCommandExecutionException, FcsHardwareException
startAction in class CarouselClampModuleSDORequestExceptionorg.lsst.ccs.messaging.BadCommandExceptionorg.lsst.ccs.messaging.ErrorInCommandExecutionExceptionFcsHardwareExceptionpublic void updateStateWithSensors()
throws FcsHardwareException
CarouselClampModuleupdateStateWithSensors in class CarouselClampModuleFcsHardwareExceptionCopyright © 2015 LSST. All rights reserved.