接口 MMBSentence
- 所有超级接口:
Sentence
Barometer - Barometric pressure in bars and inches of mercury.
Notice: not recommended as of Oct 2008, should use XDR
instead.
Example:
$IIMMB,29.9870,I,1.0154,B*75
- 作者:
- Kimmo Tuukkanen
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明doublegetBars()Returns the barometric pressure in bars.doubleReturns the barometric pressure in inches of mercury.voidsetBars(double bars) Sets the barometric pressure in bars.voidsetInchesOfMercury(double inhg) Sets the barometric pressure in inches of mercury.从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
-
方法详细资料
-
getInchesOfMercury
double getInchesOfMercury()Returns the barometric pressure in inches of mercury.- 返回:
- Barometric pressure, inHg.
-
getBars
double getBars()Returns the barometric pressure in bars.- 返回:
- Barometric pressure, bars.
-
setInchesOfMercury
void setInchesOfMercury(double inhg) Sets the barometric pressure in inches of mercury.- 参数:
inhg- Barometric pressure, inHg.
-
setBars
void setBars(double bars) Sets the barometric pressure in bars.- 参数:
bars- Barometric pressure, bars.
-