接口 WPLSentence
- 所有超级接口:
Sentence
Destination waypoint location and ID. This sentence is transmitted by some
GPS models in GOTO mode.
Example:
$GPWPL,5536.200,N,01436.500,E,RUSKI*1F
- 作者:
- Kimmo Tuukkanen
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明Get the destination waypoint.voidsetWaypoint(Waypoint wp) Set the destination waypoint.从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
-
方法详细资料
-
getWaypoint
Waypoint getWaypoint()Get the destination waypoint.- 返回:
- Waypoint
- 抛出:
DataNotAvailableException- If any of the waypoint related data is not available.ParseException- If any of the waypoint related fields contain unexpected or illegal value.
-
setWaypoint
Set the destination waypoint.- 参数:
wp- Waypoint to set
-