org.lsst.ccs.subsystems.fcs
Class NumericSensor

java.lang.Object
  extended by java.util.Observable
      extended by org.lsst.ccs.framework.Module
          extended by org.lsst.ccs.subsystems.fcs.NumericSensor
All Implemented Interfaces:
Serializable, Observer
Direct Known Subclasses:
CanOpenNumericSensor, SimuNumericSensor

public abstract class NumericSensor
extends org.lsst.ccs.framework.Module

This class represents a numeric sensor which sends a digitalValue 0 or 1. This type of sensors are used in the autochanger for the rail filter presence sensor : the sensors which detects if a filter is there or not on each side of the rail and at standby and standback position. This is used too to monitor the autochanger latches : to know if a latch is locked or unlocked.

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
 
Field Summary
 int digitalValue
           
 
Fields inherited from class org.lsst.ccs.framework.Module
configMethods, log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
NumericSensor()
           
 
Method Summary
 int getDigitalValue()
           
 void initModule()
           
 void setDigitalValue(int digitalValue)
           
abstract  void updateValue(String hexaValueReadOnDevice)
          update the digitalValue of this object with the
 
Methods inherited from class org.lsst.ccs.framework.Module
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, 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

digitalValue

public int digitalValue
Constructor Detail

NumericSensor

public NumericSensor()
Method Detail

initModule

public void initModule()
Overrides:
initModule in class org.lsst.ccs.framework.Module

setDigitalValue

public void setDigitalValue(int digitalValue)

getDigitalValue

public int getDigitalValue()

updateValue

public abstract void updateValue(String hexaValueReadOnDevice)
update the digitalValue of this object with the

Parameters:
channels -


Copyright © 2012 LSST. All Rights Reserved.