public class NewportLampTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected NewportLamp |
mydev |
| Constructor and Description |
|---|
NewportLampTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
getstate() |
void |
open(String MyDevId) |
double |
readamps() |
String |
readident() |
void |
setstate(boolean on) |
protected NewportLamp mydev
@Command(name="open",
description="Open a device for use")
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="close",
description="Close the device")
public void close()
throws Exception
Exception@Command(name="readamps",
description="Read amps ")
public double readamps()
throws Exception
Exception@Command(name="readident",
description="Read ident")
public String readident()
throws Exception
Exception@Command(name="getstate",
description="Read power state of lamp")
public boolean getstate()
throws Exception
ExceptionCopyright © 2014 LSST. All rights reserved.