
public class PowerControl
extends org.lsst.ccs.subsystem.monitor.Control
| Constructor and Description |
|---|
PowerControl(String desc,
int hwChan,
double voltage,
double current,
double onDelay,
double offDelay)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigValues(Map<String,Object> values)
Adds to a map of configured values.
|
protected void |
configure(org.lsst.ccs.subsystem.monitor.Monitor mon,
org.lsst.ccs.subsystem.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.
|
getConfigValues, getDescription, getHwChangetChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalias, change, getCheckedValueFromConfiguration, getComponentByName, getDictionary, getName, getParent, getParentObject, getSubsystem, init, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, proceduralWalk, publish, publish, publish, publish, publish, publish, shutdownNow, start, treeWalkpublic PowerControl(String desc, int hwChan, double voltage, double current, double onDelay, double offDelay)
protected void configure(org.lsst.ccs.subsystem.monitor.Monitor mon,
org.lsst.ccs.subsystem.monitor.Device devc)
configure in class org.lsst.ccs.subsystem.monitor.Control@ConfigChanger public void setVoltage(double value)
public double getVoltage()
@ConfigChanger public void setCurrent(double value)
public double getCurrent()
@ConfigChanger public void setOnDelay(double value)
public double getOnDelay()
@ConfigChanger public void setOffDelay(double value)
public double getOffDelay()
Copyright © 2015 LSST. All rights reserved.