接口 GLLSentence
- 所有超级接口:
PositionSentence,Sentence,TimeSentence
Current geographic position and time.
Example:
$GPGLL,6011.552,N,02501.941,E,120045,A*26
- 作者:
- Kimmo Tuukkanen
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明getMode()Get the FAA operating mode for GPS.Get the data quality status, valid or invalid.voidSet the FAA operation mode of GPS.voidsetStatus(DataStatus status) Set the data quality status, valid or invalid.从接口继承的方法 net.sf.marineapi.nmea.sentence.PositionSentence
getPosition, setPosition从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString从接口继承的方法 net.sf.marineapi.nmea.sentence.TimeSentence
getTime, setTime
-
方法详细资料
-
getStatus
DataStatus getStatus()Get the data quality status, valid or invalid.- 返回:
DataStatus.ACTIVEorDataStatus.VOID- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
setStatus
Set the data quality status, valid or invalid.- 参数:
status- DataStatus to set- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
getMode
FaaMode getMode()Get the FAA operating mode for GPS. Notice that this field is available in NMEA v3.0 and later.- 返回:
- FaaMode enum
- 抛出:
DataNotAvailableException- If the data is not available.ParseException- If the field contains unexpected or illegal value.
-
setMode
Set the FAA operation mode of GPS. Notice that this field is available in NMEA v3.0 and later. Thus, the number of sentence fields may be adjusted when setting this value.- 参数:
mode- FaaMode enum to set
-