public static class RefrigTestHdw.WuDevc extends RefrigTestHdw.Device implements org.lsst.ccs.drivers.wattsup.WattsUp.Listener
| Constructor and Description |
|---|
RefrigTestHdw.WuDevc(String nodeName,
String serialNo)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
processData(float[] data)
Receives data periodically from the WattsUp? meter.
|
void |
setClosed()
Changes the WattsUp? meter open state.
|
void |
setPowered(boolean on)
Changes the WattsUp? meter powered state.
|
public void setPowered(boolean on)
setPowered in interface org.lsst.ccs.drivers.wattsup.WattsUp.Listeneron - Whether the meter is powered on or notpublic void setClosed()
setClosed in interface org.lsst.ccs.drivers.wattsup.WattsUp.Listenerpublic void processData(float[] data)
processData in interface org.lsst.ccs.drivers.wattsup.WattsUp.Listenerdata - The array of data from the meter.Copyright © 2013 LSST. All Rights Reserved.