org.lsst.ccs.subsystem.refrig
Class RefrigPower

java.lang.Object
  extended by org.lsst.ccs.subsystem.refrig.RefrigPower
All Implemented Interfaces:
org.lsst.ccs.drivers.wattsup.WattsUp.Listener

public class RefrigPower
extends Object
implements org.lsst.ccs.drivers.wattsup.WattsUp.Listener

Server program to send WattsUp power data to DAQ program

Author:
Owen Saxton

Constructor Summary
RefrigPower()
           
 
Method Summary
static void main(String[] args)
          Main program
 void processData(float[] data)
          Receives data periodically from the WattsUp? meter.
 void setClosed()
          Receives notification of device closure
 void setPowered(boolean on)
          Receives notification of powered state change
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefrigPower

public RefrigPower()
Method Detail

main

public static void main(String[] args)
Main program


setPowered

public void setPowered(boolean on)
Receives notification of powered state change

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

setClosed

public void setClosed()
Receives notification of device closure

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.