org.lsst.ccs.subsystems.fcs.simulation
Class SimuFilterClampModule

java.lang.Object
  extended by java.util.Observable
      extended by org.lsst.ccs.framework.Module
          extended by org.lsst.ccs.subsystems.fcs.FilterClampModule
              extended by org.lsst.ccs.subsystems.fcs.simulation.SimuFilterClampModule
All Implemented Interfaces:
Serializable, Observer, org.lsst.ccs.framework.Configurable
Direct Known Subclasses:
SimuFilterClampXminusModule, SimuFilterClampXplusModule

public abstract class SimuFilterClampModule
extends FilterClampModule

A very basic simulated filter clamp module. It has no sensor to know if the clamp is locked or not. This clamp is locked when the clamps actuator of the carousel are off. And its filter presence sensor is configured to returns the value we expect!

Author:
virieux
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module
org.lsst.ccs.framework.Module.ValueUpdate
 
Nested classes/interfaces inherited from interface org.lsst.ccs.framework.Configurable
org.lsst.ccs.framework.Configurable.Environment
 
Field Summary
protected  CarouselModule carousel
           
protected  Filter dummyFilter
           
 
Fields inherited from class org.lsst.ccs.subsystems.fcs.FilterClampModule
clampState, filterPresenceStatus, publishedByClampOutputName, temperature, updatingState
 
Fields inherited from class org.lsst.ccs.framework.Module
environment, log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
SimuFilterClampModule()
           
 
Method Summary
 Filter getDummyFilter()
           
 void initModule()
           
 void setDummyFilter(Filter dummyFilter)
           
 double updateTemperature()
          This methods read the thermometer, update the field temperature and returns the value sent by the thermometer;
 
Methods inherited from class org.lsst.ccs.subsystems.fcs.FilterClampModule
computeClampState, getActuator, getClampState, getFilterPositionMaxValue, getFilterPositionMinValue, getFilterPositionOffset, getFilterPositionValueA, getFilterPositionValueB, getFilterPositionValueC, getFilterPresenceSensor, getFilterPresenceStatus, getLockSensor, getLockSensorMaxValue, getLockSensorMinValue, getLockSensorOffset, getLockSensorValueA, getLockSensorValueB, getLockSensorValueC, getLockStatus, getStatusData, getTemperature, getThermometer, isFilterEngaged, isLocked, release, setActuator, setFilterPositionMaxValue, setFilterPositionMinValue, setFilterPositionOffset, setFilterPositionValueA, setFilterPositionValueB, setFilterPositionValueC, setFilterPresenceSensor, setLockSensor, setLockSensorMaxValue, setLockSensorMinValue, setLockSensorOffset, setLockSensorValueA, setLockSensorValueB, setLockSensorValueC, setLockStatus, setThermometer, unlock, updateFilterPresenceStatus, updateLockStatus, updateStateWithSensors
 
Methods inherited from class org.lsst.ccs.framework.Module
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, update
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

carousel

protected CarouselModule carousel

dummyFilter

protected Filter dummyFilter
Constructor Detail

SimuFilterClampModule

public SimuFilterClampModule()
Method Detail

getDummyFilter

public Filter getDummyFilter()

setDummyFilter

public void setDummyFilter(Filter dummyFilter)

updateTemperature

public double updateTemperature()
Description copied from class: FilterClampModule
This methods read the thermometer, update the field temperature and returns the value sent by the thermometer;

Overrides:
updateTemperature in class FilterClampModule
Returns:

initModule

public void initModule()
Overrides:
initModule in class FilterClampModule


Copyright © 2013 LSST. All Rights Reserved.