
public class NetBotzDevice extends org.lsst.ccs.subsystem.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.
|
addChannel, addConfigValues, addLine, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getConfigValues, getFullName, getOutputLines, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readSensors, setHwLine, setLine, setLineWarm, setOnline, 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, validateBulkChangepublic 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.subsystem.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.subsystem.monitor.Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.subsystem.monitor.DeviceExceptionprotected void initChannel(int chan,
int type,
int subtype)
initChannel in class org.lsst.ccs.subsystem.monitor.Deviceprotected double readChannel(int chan,
int type)
readChannel in class org.lsst.ccs.subsystem.monitor.DeviceCopyright © 2016 LSST. All rights reserved.