public class SimuThermometer extends SimuSensor14bits implements Thermometer
maxValue, minValue, value| Constructor and Description |
|---|
SimuThermometer(String moduleName,
int aTickMillis,
int aValue) |
| Modifier and Type | Method and Description |
|---|---|
double |
readTemperature() |
double |
readTemperatureWithPDO(CanOpenProxy.PDOStorage pdo) |
readNewValue, updateValuegetValue, initModule, setValue, toString, updateValuealias, change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, removeLogPanicState, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setHandlerLevel, setLogLevel, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic SimuThermometer(String moduleName, int aTickMillis, int aValue)
public double readTemperature()
throws HardwareException
readTemperature in interface ThermometerHardwareExceptionpublic double readTemperatureWithPDO(CanOpenProxy.PDOStorage pdo) throws org.lsst.ccs.bus.BadCommandException
readTemperatureWithPDO in interface Thermometerorg.lsst.ccs.bus.BadCommandExceptionCopyright © 2013 LSST. All Rights Reserved.