public class TestCpfe1000 extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TestCpfe1000.OnOff |
| Constructor and Description |
|---|
TestCpfe1000() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
open(org.lsst.ccs.drivers.i2c.I2c.ConnType connType,
String ident,
int... addrs) |
void |
power(TestCpfe1000.OnOff action,
int... devs) |
String |
showCurrent(int... devs) |
String |
showDateManu(int... devs) |
String |
showFirmware(int... devs) |
String |
showLocManu(int... devs) |
String |
showModel(int... devs) |
String |
showProduct(int... devs) |
String |
showSerial(int... devs) |
String |
showStatus(int... devs) |
String |
showTemperature(int... devs) |
String |
showUnitPart(int... devs) |
String |
showVoltage(int... devs) |
@Command(name="open",
description="Open connection to device")
public void open(@Argument(name="type",description="Connection type")
org.lsst.ccs.drivers.i2c.I2c.ConnType connType,
@Argument(name="ident",description="Identification")
String ident,
@Argument(name="addrs",description="Bus addresses")
int... addrs)
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="showmodel",
description="Show the model name")
public String showModel(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showserial",
description="Show the serial number")
public String showSerial(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showfirmware",
description="Show the firmware revision")
public String showFirmware(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showproduct",
description="Show the product revision")
public String showProduct(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showunitpart",
description="Show the unit part number")
public String showUnitPart(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showdatemanu",
description="Show the manufacture date")
public String showDateManu(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showlocmanu",
description="Show the manufacture location")
public String showLocManu(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showstatus",
description="Show the status byte")
public String showStatus(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showvoltage",
description="Show the voltage")
public String showVoltage(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showcurrent",
description="Show the current")
public String showCurrent(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showtemperature",
description="Show the temperature")
public String showTemperature(@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="power",
description="Turn the power on or off")
public void power(@Argument(name="action",description="Action: on or off")
TestCpfe1000.OnOff action,
@Argument(name="devs",description="Device indices")
int... devs)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2018 LSST. All rights reserved.