public class CanOpenThermometer extends CanOpenSensor14bits implements Thermometer
adc, numOfAnalogInputname, value| Constructor and Description |
|---|
CanOpenThermometer(CanCBXAI814 adc,
int numOfAnalogInput) |
| Modifier and Type | Method and Description |
|---|---|
static double |
getDoubleValue(int value)
This methods translate the value returned by a sensor to the double value.
|
void |
postStart() |
double |
readTemperature()
Read temperature on the termometer and returns the new value read.
|
double |
readTemperatureFromPDO() |
getDeviceName, getNumOfAnalogInput, readNewValue, toString, updateValuegetName, getValue, printValue, updateValuepublic CanOpenThermometer(CanCBXAI814 adc, int numOfAnalogInput)
public static double getDoubleValue(int value)
value - @Command(type=QUERY, level=0, description="Read temperature on the termometer and returns the new value read.") public double readTemperature()
readTemperature in interface ThermometerFcsHardwareExceptionpublic double readTemperatureFromPDO()
public void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecycleCopyright © 2022 LSST. All rights reserved.