接口 DPTSentence
- 所有超级接口:
DepthSentence,Sentence
Depth of water, measured in meters. Includes offset to transducer, positive values for distance from transducer to water line and negative values for distance from transducer to keel. The maximum value is included since NMEA v3.0 and may thus be missing.
Example:$SDDPT,2.4,,*7F
- 作者:
- Kimmo Tuukkanen
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明doubleGet maximum depth value the sounder can detect.doubleGet offset to transducer.voidsetMaximum(double max) Set maximum depth value the sounder can detect.voidsetOffset(double offset) Set offset to transducer.从接口继承的方法 net.sf.marineapi.nmea.sentence.DepthSentence
getDepth, setDepth从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
-
方法详细资料
-
getOffset
double getOffset()Get offset to transducer.- 返回:
- Offset in meters.
-
setOffset
void setOffset(double offset) Set offset to transducer.- 参数:
offset- Offset in meters
-
getMaximum
double getMaximum()Get maximum depth value the sounder can detect.- 返回:
- Maximum depth, in meters.
-
setMaximum
void setMaximum(double max) Set maximum depth value the sounder can detect.- 参数:
max- Maximum depth, in meters.
-