
public class NetBotzDevice extends org.lsst.ccs.monitor.Device implements EnviroDevice
| Constructor and Description |
|---|
NetBotzDevice(String ef) |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
Double |
getDew()
Get dew point *
**************************************************************************
|
void |
getEnviro()
Get environment values *
**************************************************************************
|
void |
getEnviro(Double Humidity,
Double Temperature,
Double Dew,
Double PartCnt)
Get environment variables
|
Double |
getHumidity()
Get humidity *
**************************************************************************
|
Double |
getPartCnt()
Get particle count *
**************************************************************************
|
Double |
getTemperature()
Get temperature *
**************************************************************************
|
protected void |
initChannel(int chan,
int type,
int subtype)
Initializes a channel.
|
protected void |
initialize()
Initializes the connection.
|
void |
open(String ef) |
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initDevice, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinepublic NetBotzDevice(String ef)
@Command(name="open", description="Open connection for NetBotz readings retrieval") public void open(@Argument(name="envirofile",description="environment file") String ef)
open in interface EnviroDevice@Command(type=QUERY, name="getHumidity", description="read humidity reading from the NetBotz environment log") public Double getHumidity()
getHumidity in interface EnviroDevice@Command(type=QUERY, name="getTemperature", description="read temperature reading from the NetBotz environment log") public Double getTemperature()
getTemperature in interface EnviroDevice@Command(type=QUERY, name="getDew", description="read dew point reading from the NetBotz environment log") public Double getDew()
getDew in interface EnviroDevice@Command(type=QUERY, name="getpc", description="read particle count reading from the NetBotz environment log") public Double getPartCnt()
getPartCnt in interface EnviroDevice@Command(type=QUERY, name="getEnviro", description="read line of readings from the NetBotz environment log") public void getEnviro()
getEnviro in interface EnviroDevice@Command(type=QUERY, name="getEnviro", description="read line of readings from the NetBotz environment log and return set arg values") public void getEnviro(@Argument(name="humidity",description="environment file") Double Humidity, @Argument(name="temperature",description="") Double Temperature, @Argument(name="dewpoint",description="") Double Dew, @Argument(name="particlecount",description="") Double PartCnt)
getEnviro in interface EnviroDeviceHumidity - Temperature - Dew - PartCnt - protected void close()
close in class org.lsst.ccs.monitor.Deviceprotected void initialize()
initialize 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.DeviceExceptionprotected void initChannel(int chan,
int type,
int subtype)
initChannel in class org.lsst.ccs.monitor.Deviceprotected double readChannel(int chan,
int type)
readChannel in class org.lsst.ccs.monitor.DeviceCopyright © 2021 LSST. All rights reserved.