接口 VDRSentence
- 所有超级接口:
Sentence
Set and drift, true/magnetic direction and speed of current.
- 作者:
- Kimmo Tuukkanen
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明doubleReturns the magnetic current direction.doublegetSpeed()Returns the current flow speed.doubleReturns the true direction of current.voidsetMagneticDirection(double direction) Sets the magnetic direction of current.voidsetSpeed(double speed) Sets the current flow speed.voidsetTrueDirection(double direction) Sets the true direction of current.从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
-
方法详细资料
-
getMagneticDirection
double getMagneticDirection()Returns the magnetic current direction.- 返回:
- Direction in degrees
- 另请参阅:
-
getSpeed
double getSpeed()Returns the current flow speed.- 返回:
- Speed in knots
-
getTrueDirection
double getTrueDirection()Returns the true direction of current.- 返回:
- Direction in degrees
- 另请参阅:
-
setMagneticDirection
void setMagneticDirection(double direction) Sets the magnetic direction of current.- 参数:
direction- Direction to set, in degrees.
-
setSpeed
void setSpeed(double speed) Sets the current flow speed.- 参数:
speed- Speed in knots
-
setTrueDirection
void setTrueDirection(double direction) Sets the true direction of current.- 参数:
direction- Direction in degrees- 另请参阅:
-