接口 CURSentence
- 所有超级接口:
Sentence
Multi-layer current data sentence is transmitted by navigation central
like the NKE ones.
- 作者:
- Henri Laurent
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明doubleGet the current direction.Get the current direction reference.Get the current heading reference.doubleGet the Current Speed in knots从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
-
方法详细资料
-
getCurrentSpeed
double getCurrentSpeed()Get the Current Speed in knots- 返回:
- current speed
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
getCurrentDirection
double getCurrentDirection()Get the current direction.- 返回:
- current direction
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
getCurrentDirectionReference
String getCurrentDirectionReference()Get the current direction reference.- 返回:
- current direction reference T/R
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
getCurrentHeadingReference
String getCurrentHeadingReference()Get the current heading reference.- 返回:
- current heading reference T/M True/Magentic T/M
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-