public class LPCTestBenchMainModule extends MainModule
| Modifier and Type | Field and Description |
|---|---|
double |
hygrometry |
double |
pressure |
double |
temperature |
bridge, hardwareReady| Constructor and Description |
|---|
LPCTestBenchMainModule(String aName,
int aTickMillis,
BridgeToHardware bridge,
HygrometryGauge hygrometrySensor,
PressureGauge pressureSensor,
Thermometer thermometer,
CanOpenLED led,
CanOpenLED fakeLed,
Thermometer fakeSensor) |
| Modifier and Type | Method and Description |
|---|---|
double |
readFakeSensor() |
double |
readHygrometry() |
double |
readPressure() |
double |
readTemperature() |
void |
tick() |
String |
turnOffFakeLED() |
String |
turnOffLED() |
String |
turnOnFakeLED() |
String |
turnOnLED() |
initModule, isHardwareReady, listHardware, toStringalias, 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, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic double temperature
public double pressure
public double hygrometry
public LPCTestBenchMainModule(String aName, int aTickMillis, BridgeToHardware bridge, HygrometryGauge hygrometrySensor, PressureGauge pressureSensor, Thermometer thermometer, CanOpenLED led, CanOpenLED fakeLed, Thermometer fakeSensor)
public double readHygrometry()
throws HardwareException
HardwareExceptionpublic double readPressure()
throws HardwareException
HardwareExceptionpublic double readTemperature()
throws HardwareException
HardwareExceptionpublic String turnOnLED() throws SDORequestException, HardwareNotDetectedException
public String turnOffLED() throws SDORequestException, HardwareNotDetectedException
public String turnOnFakeLED() throws SDORequestException, HardwareNotDetectedException
public String turnOffFakeLED() throws SDORequestException, HardwareNotDetectedException
public double readFakeSensor()
throws HardwareException,
org.lsst.ccs.bus.BadCommandException
HardwareExceptionorg.lsst.ccs.bus.BadCommandExceptionpublic void tick()
tick in class org.lsst.ccs.framework.ModuleCopyright © 2014 LSST. All Rights Reserved.