接口 DTASentence
- 所有超级接口:
Sentence
- 所有已知子接口:
DTBSentence
Boreal GasFinder data.
Example from GasFinder2:
$GFDTA,7.7,98,600,5527,2011/01/27 13:29:28,HFH2O-1xxx,1*2B
Example from GasFinderMC with additional channel number:
$GFDTA,1,1.5,99,600,11067,2002/03/01 00:30:28,HF-1xxx,1*3C
- 作者:
- Bob Schwarz
- 另请参阅:
-
字段概要
从接口继承的字段 net.sf.marineapi.nmea.sentence.Sentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR -
方法概要
修饰符和类型方法说明intGets the optional channel number (GasFinderMC only).intGets the two-digit Confidence Factor.Gets the max nineteen-digit current date/time.doubleGets the max four-digit distance to retro.doubleGets the max eight-digit Gas Concentration.intGets the max five-digit Light Level.Gets the max ten-char. device serial number.intGets the max 4-digit status code.从接口继承的方法 net.sf.marineapi.nmea.sentence.Sentence
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
-
方法详细资料
-
getChannelNumber
int getChannelNumber()Gets the optional channel number (GasFinderMC only).- 返回:
- Channel number 1 - 8.
-
getGasConcentration
double getGasConcentration()Gets the max eight-digit Gas Concentration.- 返回:
- Gas Concentration in ppmm (parts per million meter)
-
getConfidenceFactorR2
int getConfidenceFactorR2()Gets the two-digit Confidence Factor.- 返回:
- Confidence Factor as number between 0 - 99.
-
getDistance
double getDistance()Gets the max four-digit distance to retro.- 返回:
- distance in meters (GasFinder2) or meters x 10 (GasFinderMC).
-
getLightLevel
int getLightLevel()Gets the max five-digit Light Level.- 返回:
- Light Level as integer.
-
getDateTime
Date getDateTime()Gets the max nineteen-digit current date/time.- 返回:
- date/time as YYYY/MM/DD hh:mm:ss.
-
getSerialNumber
String getSerialNumber()Gets the max ten-char. device serial number.- 返回:
- Serial Number id
-
getStatusCode
int getStatusCode()Gets the max 4-digit status code.- 返回:
- Status Code as number in range: 1 - 0xFFFF
-