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

java.lang.Object
  extended by org.mbari.siam.distributed.PacketParser
      extended by org.mbari.siam.utils.DelimitedStringParser
          extended by org.mbari.siam.foce.devices.co2subsys.CO2SubsystemMonitorParser
All Implemented Interfaces:
java.io.Serializable

public class CO2SubsystemMonitorParser
extends DelimitedStringParser

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mbari.siam.distributed.PacketParser
PacketParser.Field, PacketParser.Record
 
Field Summary
static int CURRENT_24V_INDEX
           
static int FAN_CONTROL_INDEX
           
static int FAN_STATE_INDEX
           
 java.util.Vector fieldNames
           
 java.util.Vector fieldUnits
           
static int HUMIDITY_INDEX
           
static int INDEX_BASE
           
static int TEMPERATURE_INDEX
           
static int VOLTAGE_24V_INDEX
           
static int WATER_SENSOR_1_INDEX
           
static int WATER_SENSOR_2_INDEX
           
 
Fields inherited from class org.mbari.siam.utils.DelimitedStringParser
_delimiters, _fieldVector
 
Fields inherited from class org.mbari.siam.distributed.PacketParser
_registryName
 
Constructor Summary
CO2SubsystemMonitorParser()
          No-arg constructor needed to instantiate via class loader (e.g.
CO2SubsystemMonitorParser(java.lang.String registryName, java.lang.String delimiters)
           
 
Method Summary
protected  void initialize()
           
protected  PacketParser.Field processToken(int nToken, java.lang.String token)
          Process the token, whose position in string is nToken.
 
Methods inherited from class org.mbari.siam.utils.DelimitedStringParser
decimalValue, parseFields
 
Methods inherited from class org.mbari.siam.distributed.PacketParser
getField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INDEX_BASE

public static final int INDEX_BASE
See Also:
Constant Field Values

VOLTAGE_24V_INDEX

public static final int VOLTAGE_24V_INDEX
See Also:
Constant Field Values

CURRENT_24V_INDEX

public static final int CURRENT_24V_INDEX
See Also:
Constant Field Values

HUMIDITY_INDEX

public static final int HUMIDITY_INDEX
See Also:
Constant Field Values

TEMPERATURE_INDEX

public static final int TEMPERATURE_INDEX
See Also:
Constant Field Values

FAN_STATE_INDEX

public static final int FAN_STATE_INDEX
See Also:
Constant Field Values

WATER_SENSOR_1_INDEX

public static final int WATER_SENSOR_1_INDEX
See Also:
Constant Field Values

WATER_SENSOR_2_INDEX

public static final int WATER_SENSOR_2_INDEX
See Also:
Constant Field Values

FAN_CONTROL_INDEX

public static final int FAN_CONTROL_INDEX
See Also:
Constant Field Values

fieldNames

public java.util.Vector fieldNames

fieldUnits

public java.util.Vector fieldUnits
Constructor Detail

CO2SubsystemMonitorParser

public CO2SubsystemMonitorParser()
No-arg constructor needed to instantiate via class loader (e.g. by logView)


CO2SubsystemMonitorParser

public CO2SubsystemMonitorParser(java.lang.String registryName,
                                 java.lang.String delimiters)
Method Detail

initialize

protected void initialize()

processToken

protected PacketParser.Field processToken(int nToken,
                                          java.lang.String token)
                                   throws java.text.ParseException
Process the token, whose position in string is nToken. If token corresponds to a Field, create and return the field. Otherwise return null.

Specified by:
processToken in class DelimitedStringParser
Throws:
java.text.ParseException


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.