
public class PowerControl
extends org.lsst.ccs.monitor.Control
| Constructor and Description |
|---|
PowerControl() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeVoltage(double value)
Changes the voltage.
|
protected void |
configure(org.lsst.ccs.monitor.Monitor mon,
org.lsst.ccs.monitor.Device devc)
Configures channel description.
|
double |
getCurrent() |
double |
getOffDelay() |
double |
getOnDelay() |
double |
getVoltage() |
void |
setCurrent(double value)
Sets/gets the current.
|
void |
setOffDelay(double value)
Sets/gets the power-off delay.
|
void |
setOnDelay(double value)
Sets/gets the power-on delay.
|
void |
setVoltage(double value)
Sets/gets the voltage.
|
checkOnline, checkTimeout, getDescription, getHwChan, getName, getSubsystem, init, testOnlineprotected void configure(org.lsst.ccs.monitor.Monitor mon,
org.lsst.ccs.monitor.Device devc)
configure in class org.lsst.ccs.monitor.Controlmon - The associated monitordevc - The parent Device@ConfigurationParameterChanger public void setVoltage(double value)
value - The value to set@Command(type=QUERY, description="Gets the set voltage") public double getVoltage()
@ConfigurationParameterChanger public void setCurrent(double value)
value - The value to set@Command(type=QUERY, description="Gets the set current") public double getCurrent()
@ConfigurationParameterChanger public void setOnDelay(double value)
value - The value to set@Command(type=QUERY, description="Gets the power-on delay") public double getOnDelay()
@ConfigurationParameterChanger public void setOffDelay(double value)
value - The value to set@Command(type=QUERY, description="Gets the power-off delay") public double getOffDelay()
@Command(type=ACTION, description="Changes the voltage") public void changeVoltage(double value) throws PowerException
value - The value to setPowerExceptionCopyright © 2018 LSST. All rights reserved.