org.mbari.siam.moos.utils.nodeview.monitor
Class CTDPacketParser

java.lang.Object
  extended by org.mbari.siam.moos.utils.nodeview.monitor.PacketParser
      extended by org.mbari.siam.moos.utils.nodeview.monitor.SensorPacketParser
          extended by org.mbari.siam.moos.utils.nodeview.monitor.CTDPacketParser
All Implemented Interfaces:
Parser

public class CTDPacketParser
extends SensorPacketParser

Parses SIAM data packets


Field Summary
static int CONDUCTIVITY
           
static int CTD_PACKET_FIELDS
           
static int PRESSURE
           
static int TEMPERATURE
           
 
Fields inherited from class org.mbari.siam.moos.utils.nodeview.monitor.SensorPacketParser
DATA_BUFFER, SENSOR_PACKET_FIELDS
 
Fields inherited from class org.mbari.siam.moos.utils.nodeview.monitor.PacketParser
DEVICE_PACKET_FIELDS, SEQUENCE_NO, SOURCE_ID, STATUS_VERSION, TIMESTAMP
 
Constructor Summary
CTDPacketParser()
           
CTDPacketParser(SensorDataPacket packet)
           
 
Method Summary
 java.lang.Object get(int field)
           
 java.lang.Object get(java.lang.String fieldName)
           
 java.util.Vector parse(java.lang.Object data)
           
 
Methods inherited from class org.mbari.siam.moos.utils.nodeview.monitor.SensorPacketParser
getSensorPacket
 
Methods inherited from class org.mbari.siam.moos.utils.nodeview.monitor.PacketParser
getAll, getDouble, getPacket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPERATURE

public static final int TEMPERATURE
See Also:
Constant Field Values

PRESSURE

public static final int PRESSURE
See Also:
Constant Field Values

CONDUCTIVITY

public static final int CONDUCTIVITY
See Also:
Constant Field Values

CTD_PACKET_FIELDS

public static final int CTD_PACKET_FIELDS
See Also:
Constant Field Values
Constructor Detail

CTDPacketParser

public CTDPacketParser()

CTDPacketParser

public CTDPacketParser(SensorDataPacket packet)
Method Detail

parse

public java.util.Vector parse(java.lang.Object data)
Specified by:
parse in interface Parser
Overrides:
parse in class SensorPacketParser

get

public java.lang.Object get(int field)
Specified by:
get in interface Parser
Overrides:
get in class SensorPacketParser

get

public java.lang.Object get(java.lang.String fieldName)
Specified by:
get in interface Parser
Overrides:
get in class PacketParser


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.