|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystems.fcs.common.Sensor12bits
org.lsst.ccs.subsystems.fcs.drivers.CanOpenSensor12bits
public class CanOpenSensor12bits
This is a Model for a sensor on a can open bus which communicates over Can Open protocol. The sensor is supposed to be connected to a ADC with analogics input. It will probably move to the package org.lsst.ccs.drivers.canopen
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
|---|
org.lsst.ccs.framework.Module.ValueUpdate |
| Field Summary |
|---|
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
log, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
CanOpenSensor12bits(int aNodeID)
|
|
| Method Summary | |
|---|---|
int |
getNodeID()
|
void |
initModule()
|
int |
readNewValue()
This method reads the current value measured by the hardware or compute a random value for the simulated sensor, and returns this current value. |
| Methods inherited from class org.lsst.ccs.subsystems.fcs.common.Sensor12bits |
|---|
getMaxValue, getValue, setValue, toString, updateValue |
| Methods inherited from class org.lsst.ccs.framework.Module |
|---|
getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, processUpdate, publishData, publishData, publishData, publishData, sendToReply, sendToStatus, setBeanName, setContext, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownNow, start, 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, wait, wait, wait |
| Constructor Detail |
|---|
public CanOpenSensor12bits(int aNodeID)
| Method Detail |
|---|
public int getNodeID()
public void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic int readNewValue()
Sensor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||