public class SimuCarouselClamp extends CarouselClampModule
| Modifier and Type | Field and Description |
|---|---|
protected CarouselModule |
carousel |
protected Filter |
dummyFilter |
clampState, controller, currentToMaintainUnlocked, currentToUnlock, filterPresenceStatus, temperature, timeoutForReleasing, timeoutForUnlocking, updatingStatecurrentAction, FCSLOG, haltRequired, hasToWaitForEndOfAction, lock, motionCompleted, moving, stopRequired| Constructor and Description |
|---|
SimuCarouselClamp(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, createStatusDataPublishedByClamp, getClampState, getCurrentToUnlock, getFilterPositionMaxValue, getFilterPositionMinValue, getFilterPositionOffset, getFilterPresenceSensor, getFilterPresenceStatus, getFilterPresenceValueA, getFilterPresenceValueB, getFilterPresenceValueC, getLockSensor, getLockSensorMaxValue, getLockSensorMinValue, getLockSensorOffset, getLockSensorValueA, getLockSensorValueB, getLockSensorValueC, getLockStatus, getTemperature, getThermometer, getTimeoutRelease, getTimeoutUnlock, isActionCompleted, isFilterEngaged, isHardwareReady, isLocked, postAction, publishData, quickStopAction, release, setController, 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, stopgetComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, startTicking, 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, start, submitChange, submitChanges, validateBulkChangeprotected CarouselModule carousel
protected Filter dummyFilter
public SimuCarouselClamp(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()
CarouselClampModuleinitModule 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 © 2016 LSST. All rights reserved.