|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lsst.ccs.drivers.wattsup.TestWattsUp
public class TestWattsUp
Program to test a WattsUp power meter
| Constructor Summary | |
|---|---|
TestWattsUp()
Main constructor |
|
| Method Summary | |
|---|---|
boolean |
dispatch(int code,
java.util.Scanner scan)
Dispatch command for processing |
static void |
main(java.lang.String[] args)
Main program |
void |
process(float[] data)
Processes logged data |
void |
run()
Run the test Loops reading and processing each new typed command line. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestWattsUp()
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public static void main(java.lang.String[] args)
public void run()
throws java.io.IOException
java.io.IOException
public boolean dispatch(int code,
java.util.Scanner scan)
dispatch in interface org.lsst.ccs.utilities.sa.CmndProc.Dispatchpublic void process(float[] data)
WattsUp.DataListener
process in interface WattsUp.DataListenerdata - An 18-element float array containing the data.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||