org.lsst.ccs.subsystem.refrig
Class RefrigTestHdw.Watts

java.lang.Object
  extended by org.lsst.ccs.subsystem.refrig.RefrigTestHdw.Watts
All Implemented Interfaces:
org.lsst.ccs.drivers.wattsup.WattsUp.Listener
Enclosing class:
RefrigTestHdw

public static class RefrigTestHdw.Watts
extends Object
implements org.lsst.ccs.drivers.wattsup.WattsUp.Listener

Inner container class for WattsUp meter description data.


Constructor Summary
RefrigTestHdw.Watts(String node, String serial)
          Constructor
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefrigTestHdw.Watts

public RefrigTestHdw.Watts(String node,
                           String serial)
Constructor

Method Detail

setPowered

public void setPowered(boolean on)
Changes the WattsUp? meter powered state.

Performs meter setup upon power-on.

Specified by:
setPowered in interface org.lsst.ccs.drivers.wattsup.WattsUp.Listener
Parameters:
on - Whether the meter is powered on or not

setClosed

public void setClosed()
Changes the WattsUp? meter open state.

Specified by:
setClosed in interface org.lsst.ccs.drivers.wattsup.WattsUp.Listener

processData

public void processData(float[] data)
Receives data periodically from the WattsUp? meter.

Specified by:
processData in interface org.lsst.ccs.drivers.wattsup.WattsUp.Listener
Parameters:
data - The array of data from the meter.


Copyright © 2013 LSST. All Rights Reserved.