public class TestEpduG3 extends Object
| Constructor and Description |
|---|
TestEpduG3() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
open(org.lsst.ccs.drivers.ascii.Session.ConnType connType,
String devcId) |
void |
open(org.lsst.ccs.drivers.ascii.Session.ConnType connType,
String devcId,
String userName,
String password) |
String |
outletCount() |
String |
outletCurrent() |
String |
outletCurrent(int outlet) |
void |
outletOff(int outlet) |
void |
outletOff(int outlet,
int delay) |
void |
outletOn(int outlet) |
void |
outletOn(int outlet,
int delay) |
String |
outletPower() |
String |
outletPower(int outlet) |
String |
outletState() |
String |
outletState(int outlet) |
String |
product() |
String |
serial() |
void |
talk() |
String |
temperature() |
String |
version() |
@Command(name="open",
description="Open connection to a PDU")
public void open(@Argument(name="conntype",description="Connection type")
org.lsst.ccs.drivers.ascii.Session.ConnType connType,
@Argument(name="devcid",description="Device ID")
String devcId,
@Argument(name="username",description="User name")
String userName,
@Argument(name="password",description="Password")
String password)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="open",
description="Open connection to a PDU")
public void open(@Argument(name="conntype",description="Connection type")
org.lsst.ccs.drivers.ascii.Session.ConnType connType,
@Argument(name="devcid",description="Device ID")
String devcId)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="close",
description="Close the connection")
public void close()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="product",
description="Show the product name")
public String product()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="serial",
description="Show the serial number")
public String serial()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="version",
description="Show the firmware version")
public String version()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="temperature",
description="Show the temperature")
public String temperature()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outletcount",
description="Show the outlet count")
public String outletCount()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outletstate",
description="Show the state of an outlet")
public String outletState(@Argument(name="outlet",description="Outlet number")
int outlet)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outletstate",
description="Show the state of all outlets")
public String outletState()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outleton",
description="Turn outlet power on")
public void outletOn(@Argument(name="outlet",description="Outlet number")
int outlet)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outleton",
description="Turn outlet power on")
public void outletOn(@Argument(name="outlet",description="Outlet number")
int outlet,
@Argument(name="delay",description="Delay (sec)")
int delay)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outletoff",
description="Turn outlet power off")
public void outletOff(@Argument(name="outlet",description="Outlet number")
int outlet)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outletoff",
description="Turn outlet power off")
public void outletOff(@Argument(name="outlet",description="Outlet number")
int outlet,
@Argument(name="delay",description="Delay (sec)")
int delay)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outletcurrent",
description="Show outlet current")
public String outletCurrent(@Argument(name="outlet",description="Outlet number")
int outlet)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outletcurrent",
description="Show all outlet currents")
public String outletCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outletpower",
description="Show outlet power")
public String outletPower(@Argument(name="outlet",description="Outlet number")
int outlet)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outletpower",
description="Show all outlet power values")
public String outletPower()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="talk",
description="Talk to the PDU interactively")
public void talk()
throws org.lsst.ccs.drivers.commons.DriverException,
IOException
org.lsst.ccs.drivers.commons.DriverExceptionIOExceptionCopyright © 2019 LSST. All rights reserved.