org.mbari.siam.foce.devices.co2subsys
Class CO2SubsystemMonitorAttributes

java.lang.Object
  extended by org.mbari.siam.distributed.ServiceAttributes
      extended by org.mbari.siam.distributed.InstrumentServiceAttributes
          extended by org.mbari.siam.foce.devices.co2subsys.CO2SubsystemMonitorAttributes
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class CO2SubsystemMonitorAttributes
extends InstrumentServiceAttributes

See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger _log4j
          Log4j logger
 double current_24v_a
           
 java.lang.String fan_command
           
 double humidity_a
           
 double humidity_b
           
 java.lang.String osdtHost
           
 int serial_baud
           
 int serial_databits
           
 int serial_mode
           
 int serial_parity
           
 int serial_stopbits
           
 double temperature_a
           
 double temperature_b
           
 double temperature_c
           
 double temperature_d
           
 double voltage_24v_a
           
 
Fields inherited from class org.mbari.siam.distributed.InstrumentServiceAttributes
commPowerPolicy, currentLimitMa, dataShelfLifeHours, defaultSkipInterval, diagnosticSampleInterval, errCacheLimit, maxSampleTries, maxSummarySamples, nominalCurrentMa, packetSetSize, peakCurrentMa, powerOnDelaySec, powerPolicy, rbnbAdvertiseService, rbnbArchiveFrames, rbnbCacheFrames, rbnbExcludeRecordTypes, rbnbServer, sampleSchedule, sampleTimeoutMsec, startDelayMsec, summaryTriggerCount, summaryVars, timeSynch
 
Fields inherited from class org.mbari.siam.distributed.ServiceAttributes
_CONFIGURABLE_FILTER_OFF, _CONFIGURABLE_FILTER_ON, advertiseService, className, extendedVersion, frameworkVersion, instrumentName, isiID, locationName, parentID, registryName, serviceName, serviceStatus, UUID
 
Constructor Summary
CO2SubsystemMonitorAttributes(DeviceServiceIF service)
          Constructor, with required InstrumentService argument
CO2SubsystemMonitorAttributes(DeviceServiceIF service, boolean dummyArg)
          Standard Constructor (with dummy arg to differentiate signatures)
 
Method Summary
protected  void setAttributeCallback(java.lang.String attributeName, java.lang.String valueString)
          Called when specified attribute has been found.
 void validateDouble(java.lang.String valueString, double min, double max, boolean inside, boolean includeEnds)
           
 void validateInt(java.lang.String valueString, int min, int max, boolean inside, boolean includeEnds)
           
 
Methods inherited from class org.mbari.siam.distributed.InstrumentServiceAttributes
getAttributes, missingAttributeRequiredCallback, requiredCheckValues, requiredIsConfigurable, setAttributeRequiredCallback
 
Methods inherited from class org.mbari.siam.distributed.ServiceAttributes
checkPropertyNames, checkValues, fromProperties, getConfigurableFields, getExtendedVersion, getHelp, getMnemonicValues, getTypeName, isConfigurable, missingAttributeCallback, toConfigurableProperties, toProperties, toProperties, toPropertyStrings, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_log4j

protected static org.apache.log4j.Logger _log4j
Log4j logger


serial_baud

public int serial_baud

serial_databits

public int serial_databits

serial_parity

public int serial_parity

serial_stopbits

public int serial_stopbits

serial_mode

public int serial_mode

voltage_24v_a

public double voltage_24v_a

current_24v_a

public double current_24v_a

humidity_a

public double humidity_a

humidity_b

public double humidity_b

temperature_a

public double temperature_a

temperature_b

public double temperature_b

temperature_c

public double temperature_c

temperature_d

public double temperature_d

osdtHost

public java.lang.String osdtHost

fan_command

public java.lang.String fan_command
Constructor Detail

CO2SubsystemMonitorAttributes

public CO2SubsystemMonitorAttributes(DeviceServiceIF service)
Constructor, with required InstrumentService argument


CO2SubsystemMonitorAttributes

public CO2SubsystemMonitorAttributes(DeviceServiceIF service,
                                     boolean dummyArg)
Standard Constructor (with dummy arg to differentiate signatures)

Method Detail

setAttributeCallback

protected void setAttributeCallback(java.lang.String attributeName,
                                    java.lang.String valueString)
                             throws InvalidPropertyException
Called when specified attribute has been found. Throw InvalidPropertyException if specified attribute has invalid value. Note that the ServiceAttributes base class automatically validates the value type before setAttributeCallback() is invoked; so this method needs only to validate the value.

Overrides:
setAttributeCallback in class ServiceAttributes
Parameters:
attributeName - name of parsed attribute
Throws:
InvalidPropertyException

validateDouble

public void validateDouble(java.lang.String valueString,
                           double min,
                           double max,
                           boolean inside,
                           boolean includeEnds)
                    throws InvalidPropertyException
Throws:
InvalidPropertyException

validateInt

public void validateInt(java.lang.String valueString,
                        int min,
                        int max,
                        boolean inside,
                        boolean includeEnds)
                 throws InvalidPropertyException
Throws:
InvalidPropertyException


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.