net.sf.marineapi.nmea.sentence
Interface DepthSentence

All Superinterfaces:
Sentence
All Known Subinterfaces:
DBTSentence, DPTSentence

public interface DepthSentence
extends Sentence

Interface for sentences containing the depth of water.

Version:
$Revision: 76 $
Author:
Kimmo Tuukkanen

Field Summary
 
Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence
ADDRESS_FIELD, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR
 
Method Summary
 double getDepth()
          Get depth of water, in meters.
 void setDepth(double depth)
          Set depth of water, in meters.
 
Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence
getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, setTalkerId, toSentence, toString
 

Method Detail

getDepth

double getDepth()
Get depth of water, in meters.

Returns:
Depth value

setDepth

void setDepth(double depth)
Set depth of water, in meters.

Parameters:
depth - Depth value


Copyright (C) 2010-2011 Java Marine API author(s). All Rights Reserved.