
public class APCTestBenchMainModule
extends org.lsst.ccs.framework.Module
| Modifier and Type | Field and Description |
|---|---|
double |
temperature |
| Constructor and Description |
|---|
APCTestBenchMainModule(String name,
int tickMillis,
BridgeToHardware bridge,
CanOpenThermometer thermometer,
CanOpenLED led,
CanOpenLED fakeLed,
CanOpenThermometer fakeSensor) |
| Modifier and Type | Method and Description |
|---|---|
int |
getReturnValue(String responseLine,
int inputNB)
Returns the value read on the socket for the input of the ADC given as an
argument.
|
double |
readFakeSensor() |
double |
readTemperature() |
double |
readTemperatureFromPDO() |
String |
turnOffFakeLED() |
String |
turnOffLED() |
String |
turnOnFakeLED() |
String |
turnOnLED() |
getNObserverThreads, getObservables, getTickMillis, init, initModule, listens, processUpdate, sendSignal, sendSignalWithTimeLimit, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic APCTestBenchMainModule(String name, int tickMillis, BridgeToHardware bridge, CanOpenThermometer thermometer, CanOpenLED led, CanOpenLED fakeLed, CanOpenThermometer fakeSensor)
public int getReturnValue(String responseLine, int inputNB)
responseLine - A string read on the socket.inputNB - The numero if the input on the ADC. (1<=inputNB<=8)public double readTemperature()
public double readTemperatureFromPDO()
public String turnOnLED()
public String turnOffLED()
public String turnOnFakeLED()
public String turnOffFakeLED()
public double readFakeSensor()
Copyright © 2017 LSST. All rights reserved.