接口 ROTSentence
- 所有超级接口:
Sentence
Vessel's rate of turn given in degrees per minute. Negative values indicate bow turning to port.
Example:$GPROT,35.6,A*4E
- 作者:
- Mike Tamis, Kimmo Tuukkanen
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明doubleReturns the vessel's rate of turn.Returns the data status (valid/invalid).voidsetRateOfTurn(double rot) Sets the vessel's rate of turn value.voidsetStatus(DataStatus status) Sets the data status.从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
-
方法详细资料
-
getRateOfTurn
double getRateOfTurn()Returns the vessel's rate of turn.- 返回:
- Rate of Turn value (degrees per minute)
-
setRateOfTurn
void setRateOfTurn(double rot) Sets the vessel's rate of turn value.- 参数:
rot- Rate of Turn value to set (degrees per minute)
-
getStatus
DataStatus getStatus()Returns the data status (valid/invalid).- 返回:
- True means data is valid
-
setStatus
Sets the data status.- 参数:
status- DataStatus to set.
-