接口 DTMSentence
- 所有超级接口:
Sentence
Datum reference.
Example:
$GPDTM,W84,,0.000000,N,0.000000,E,0.0,W84*6F
- 作者:
- Kimmo Tuukkanen
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明doubleReturns the altitude offset.Returns the local datum code.Returns the local datum subcode, may be blank.doubleReturns the latitude offset.doubleReturns the longitude offset.getName()Returns the datum name, e.g.voidsetDatumCode(String code) Sets the local datum code.voidsetDatumSubCode(String code) Sets the local datum code, may be blank.voidsetLatitudeOffset(double offset) Sets the latitude offset.voidsetLongitudeOffset(double offset) Sets the longitude offset.voidSets the datum name.从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
-
方法详细资料
-
getAltitudeOffset
double getAltitudeOffset()Returns the altitude offset.- 返回:
- Altitude offset, in meters.
-
getDatumCode
String getDatumCode()Returns the local datum code.- 返回:
- Datum code
-
getDatumSubCode
String getDatumSubCode()Returns the local datum subcode, may be blank.- 返回:
- Datum subcode
-
getLatitudeOffset
double getLatitudeOffset()Returns the latitude offset. Positive values depict northern offset, negative for southern.- 返回:
- Offset value in minutes.
-
getLongitudeOffset
double getLongitudeOffset()Returns the longitude offset. Positive values for east, negative west.- 返回:
- Longitude offset in minutes.
-
getName
String getName()Returns the datum name, e.g. "W84" for WGS84 used by GPS.- 返回:
- Datum name
-
setDatumCode
Sets the local datum code.- 参数:
code- Code to set
-
setDatumSubCode
Sets the local datum code, may be blank.- 参数:
code- Code to set
-
setLatitudeOffset
void setLatitudeOffset(double offset) Sets the latitude offset. Positive values depict northern offset, negative for southern.- 参数:
offset- Latitude offset in minutes.
-
setLongitudeOffset
void setLongitudeOffset(double offset) Sets the longitude offset. Positive values for east, negative west.- 参数:
offset- Longitude offset in minutes.
-
setName
Sets the datum name.- 参数:
name- Name to set.
-