public class TestTrippLitePDU extends Object
| Modifier and Type | Field and Description |
|---|---|
protected TrippLitePDU |
mydev |
| Constructor and Description |
|---|
TestTrippLitePDU() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
ison(int outlet) |
void |
open(String MyDevId) |
void |
opennet() |
void |
opennet(String MyNetAddr,
int port) |
void |
openserial() |
void |
openserial(String MyDevId) |
void |
setoutlet(int outlet,
boolean state) |
protected TrippLitePDU mydev
@Command(name="open",
description="Open an FTDI cnx to the PDU")
public void open(@Argument(name="devId",description="The device ID of the device to open")
String MyDevId)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="openserial",
description="Open a serial connection to the PDU using default addr")
public void openserial()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="openserial",
description="Open a serial connection to the PDU")
public void openserial(@Argument(name="devId",description="The device ID of the device to open")
String MyDevId)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="opennet",
description="Open a network connection to the PDU using default addr")
public void opennet()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="opennet",
description="Open a network connection to the PDU")
public void opennet(@Argument(name="netaddr",description="The netaddr of the device to open - 130.199.47.172")
String MyNetAddr,
@Argument(name="port",description="port - 23")
int port)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="close",
description="Close the device")
public void close()
throws Exception
Exception@Command(name="ison",
description="is the outlet on")
public boolean ison(@Argument(name="outlet",description="outlet number")
int outlet)
throws Exception
ExceptionCopyright © 2017 LSST. All rights reserved.