
public class IonPumpDevice
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAN_CIP1
Constants.
|
static int |
CHAN_CIP2
Constants.
|
static int |
CHAN_CIP3
Constants.
|
static int |
CHAN_CIP4
Constants.
|
static int |
CHAN_CIP5
Constants.
|
static int |
CHAN_CIP6
Constants.
|
static int |
CHAN_HIP1
Constants.
|
static int |
CHAN_HIP2
Constants.
|
static int |
CHAN_OIP
Constants.
|
| Constructor and Description |
|---|
IonPumpDevice()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a monitoring channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
List<String> |
getChannelNames()
Gets the list of defined channel names.
|
List<Integer> |
getChannelNumbers()
Gets the list of defined channel numbers.
|
Set<String> |
getUsageChannelNames()
Command to get the set of usage monitoring channel names.
|
protected void |
initDevice()
Performs configuration.
|
protected void |
initialize()
Performs full initialization.
|
protected Boolean |
isChannelOn(int chan)
Gets the on state of a channel.
|
void |
postStart()
Post start phase
|
protected double |
readChannel(int hwChan,
int type)
Reads a monitoring channel.
|
protected void |
setChannelOn(int chan,
boolean on)
Turns a channel on or off
|
void |
setUsageValue(String chanName,
double usage)
Command to set the value for a usage monitoring channel.
|
addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinepublic static final int CHAN_HIP1
public static final int CHAN_HIP2
public static final int CHAN_OIP
public static final int CHAN_CIP1
public static final int CHAN_CIP2
public static final int CHAN_CIP3
public static final int CHAN_CIP4
public static final int CHAN_CIP5
public static final int CHAN_CIP6
public void postStart()
protected void initDevice()
initDevice in class org.lsst.ccs.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.monitor.Deviceprotected void close()
close in class org.lsst.ccs.monitor.Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.monitor.Devicename - The channel namehwChan - The hardware channeltype - The channel type stringsubtype - The channel subtype stringException - If parameters are invalidprotected double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.monitor.DevicehwChan - The hardware channel numbertype - The encoded channel type@Command(type=QUERY, level=0, description="Get the set of usage channel names") public Set<String> getUsageChannelNames()
@Command(description="Set the value for a usage monitoring channel", level=50) public void setUsageValue(@Argument(description="Channel name") String chanName, @Argument(description="Usage value") double usage) throws VacuumException
chanName - The channel nameusage - The usage valueVacuumExceptionprotected void setChannelOn(int chan,
boolean on)
chan - The hardware channel numberon - Whether to set on or offprotected Boolean isChannelOn(int chan)
chan - The hardware channel numberpublic List<String> getChannelNames()
Copyright © 2021 LSST. All rights reserved.