
public static class SimDevice.Power extends PowerDevice
PowerDevice.PowerState| Constructor and Description |
|---|
Power() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
void |
close()
Closes the connection.
|
protected void |
configure(org.lsst.ccs.subsystem.monitor.Monitor mon)
Performs configuration.
|
boolean |
getOutput(int chan)
Gets the power supply output state.
|
void |
initialize()
Performs basic initialization.
|
double |
readChannel(int hwChan,
int type)
Reads a channel.
|
double |
readCurrent(int chan)
Gets the power supply current.
|
double |
readVoltage(int chan)
Gets the power supply voltage.
|
void |
setCurrent(int chan,
double value)
Sets the power supply current.
|
void |
setOutput(int chan,
boolean value)
Sets the power supply output state.
|
void |
setVoltage(int chan,
double value)
Sets the power supply voltage.
|
enableOutput, setOnline, setPoweraddChannel, addConfigValues, addLine, checkHwLine, checkLine, checkOnline, checkTimeout, disable, dropChannel, enable, getConfigValues, getFullName, getOutputLines, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOutputLines, testOnlinegetChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, dropSubmittedChanges, getCheckedValueFromConfiguration, getComponentByName, getName, getParent, getParentObject, getSubmittedChanges, getSubsystem, init, isParameterConfigurable, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, printConfigurableParameters, setBulkParameter, shutdownNow, start, submitChange, submitChanges, validateBulkChangeprotected void configure(org.lsst.ccs.subsystem.monitor.Monitor mon)
configure in class org.lsst.ccs.subsystem.monitor.Devicepublic void initialize()
initialize in class org.lsst.ccs.subsystem.monitor.Devicepublic void close()
close in class org.lsst.ccs.subsystem.monitor.Devicepublic int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.subsystem.monitor.DeviceExceptionpublic double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.subsystem.monitor.Devicepublic void setVoltage(int chan,
double value)
setVoltage in class PowerDevicechan - The hardware channelvalue - The voltage to setpublic void setCurrent(int chan,
double value)
setCurrent in class PowerDevicechan - The hardware channelvalue - The current to setpublic void setOutput(int chan,
boolean value)
setOutput in class PowerDevicechan - The hardware channelvalue - The output state to setpublic double readVoltage(int chan)
readVoltage in class PowerDevicechan - The hardware channelpublic double readCurrent(int chan)
readCurrent in class PowerDevicechan - The hardware channelpublic boolean getOutput(int chan)
getOutput in class PowerDevicechan - The hardware channelCopyright © 2017 LSST. All rights reserved.