net.sf.marineapi.nmea.sentence
Interface MTWSentence

All Superinterfaces:
Sentence

public interface MTWSentence
extends Sentence

Water temperature in degrees Celsius.

Example:
$YXMTW,17.75,C*5D

Author:
Warren Zahra, Kimmo Tuukkanen

Field Summary
 
Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR
 
Method Summary
 double getTemperature()
          Get the water temperature.
 void setTemperature(double temp)
          Set the water temperature.
 
Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
 

Method Detail

getTemperature

double getTemperature()
Get the water temperature.

Returns:
Temperature in degrees Celsius.

setTemperature

void setTemperature(double temp)
Set the water temperature.

Parameters:
temp - Water temperature in degrees Celsius.


Copyright (C) 2010-2014 Java Marine API authors. All Rights Reserved.