枚举 SentenceId

java.lang.Object
java.lang.Enum<SentenceId>
net.sf.marineapi.nmea.sentence.SentenceId
所有已实现的接口:
Serializable, Comparable<SentenceId>, java.lang.constant.Constable

public enum SentenceId extends Enum<SentenceId>
Defines the supported NMEA 0183 sentence types. Sentence address field is a combination of talker and sentence IDs, for example GPBOD, GPGGA or GPGGL.
作者:
Kimmo Tuukkanen, Gunnar Hillert
另请参阅:
  • 嵌套类概要

    从类继承的嵌套类/接口 java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • 枚举常量概要

    枚举常量
    枚举常量
    说明
    Raymarine SeaTalk sentence ($STALK).
    Autopilot sentence "B"; xte, bearings and heading toward destination
    Bearing Origin to Destination
    Current
    Depth of water below transducer; in meters, feet and fathoms
    Depth of water below transducer; in meters.
    Boreal GasFinder data stream A (GasFinder2 and GasFinderMC)
    Boreal GasFinder data stream B (GasFinder2 only)
    Datum reference.
    GNSS satellite fault detection (RAIM)
    Global Positioning System fix data
    Geographic position (latitude/longitude)
    GNSS fix data (GPS, GLONASS and future constellations).
    Dilution of precision (DOP) of GPS fix and active satellites
    Pseudorange Noise Statistics
    Detailed satellite data
    Vessel heading in degrees with magnetic variation and deviation.
    Vessel heading in degrees with respect to true north.
    Vessel heading in degrees true
    Heading/Track control command
    Heading/Track control data
    Meteorological Composite
    Relative and absolute humidity with dew point
    Barometric pressure in inches of mercury and bars.
    Air temperature in degrees centigrade (Celsius).
    Water temperature in degrees centigrade (Celsius).
    Wind speed and direction
    Wind speed and angle
    Own ship data
    Recommended minimum navigation information
    Recommended minimum specific GPS/TRANSIT data
    Rate of Turn
    Revolutions measured from engine or shaft.
    Rudder angle, measured in degrees
    Radar system data
    Route data and waypoint list
    Target Label
    Tracked target Longitude Latitude
    Tracked target
    Text message
    Proprietary NMEA messages for u-blox positioning receivers.
    Dual ground/water speed and stern ground/water speed.
    AIS - Received data from other vessels
    AIS - Own vessel data
    Set and drift, direction and speed of current.
    Water speed and heading
    Distance traveled through water, cumulative and since reset.
    Track made good and ground speed
    Relative Wind Speed and Angle
    True Wind Speed and Angle
    Waypoint location (latitude/longitude)
    Transducer measurements (sensor data)
    Cross-track error, measured
    UTC time and date with local time zone offset
  • 方法概要

    修饰符和类型
    方法
    说明
    static SentenceId
    parse(String nmea)
    Parses the sentence id from specified sentence String and returns a corresponding SentenceId enum (assuming it exists).
    static String
    Parses the sentence id from specified sentence String and returns it as String.
    static SentenceId
    返回带有指定名称的该类型的枚举常量。
    static SentenceId[]
    按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。

    从类继承的方法 java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 枚举常量详细资料

    • ALK

      public static final SentenceId ALK
      Raymarine SeaTalk sentence ($STALK).
    • APB

      public static final SentenceId APB
      Autopilot sentence "B"; xte, bearings and heading toward destination
    • BOD

      public static final SentenceId BOD
      Bearing Origin to Destination
    • CUR

      public static final SentenceId CUR
      Current
    • DBT

      public static final SentenceId DBT
      Depth of water below transducer; in meters, feet and fathoms
    • DPT

      public static final SentenceId DPT
      Depth of water below transducer; in meters.
    • DTA

      public static final SentenceId DTA
      Boreal GasFinder data stream A (GasFinder2 and GasFinderMC)
    • DTB

      public static final SentenceId DTB
      Boreal GasFinder data stream B (GasFinder2 only)
    • DTM

      public static final SentenceId DTM
      Datum reference.
    • GBS

      public static final SentenceId GBS
      GNSS satellite fault detection (RAIM)
    • GGA

      public static final SentenceId GGA
      Global Positioning System fix data
    • GLL

      public static final SentenceId GLL
      Geographic position (latitude/longitude)
    • GNS

      public static final SentenceId GNS
      GNSS fix data (GPS, GLONASS and future constellations).
    • GSA

      public static final SentenceId GSA
      Dilution of precision (DOP) of GPS fix and active satellites
    • GSV

      public static final SentenceId GSV
      Detailed satellite data
    • GST

      public static final SentenceId GST
      Pseudorange Noise Statistics
    • HDG

      public static final SentenceId HDG
      Vessel heading in degrees with magnetic variation and deviation.
    • HDM

      public static final SentenceId HDM
      Vessel heading in degrees with respect to true north.
    • HDT

      public static final SentenceId HDT
      Vessel heading in degrees true
    • HTC

      public static final SentenceId HTC
      Heading/Track control command
    • HTD

      public static final SentenceId HTD
      Heading/Track control data
    • MHU

      public static final SentenceId MHU
      Relative and absolute humidity with dew point
    • MMB

      public static final SentenceId MMB
      Barometric pressure in inches of mercury and bars.
    • MTA

      public static final SentenceId MTA
      Air temperature in degrees centigrade (Celsius).
    • MTW

      public static final SentenceId MTW
      Water temperature in degrees centigrade (Celsius).
    • MWV

      public static final SentenceId MWV
      Wind speed and angle
    • OSD

      public static final SentenceId OSD
      Own ship data
    • RMB

      public static final SentenceId RMB
      Recommended minimum navigation information
    • RMC

      public static final SentenceId RMC
      Recommended minimum specific GPS/TRANSIT data
    • ROT

      public static final SentenceId ROT
      Rate of Turn
    • RPM

      public static final SentenceId RPM
      Revolutions measured from engine or shaft.
    • RSA

      public static final SentenceId RSA
      Rudder angle, measured in degrees
    • RSD

      public static final SentenceId RSD
      Radar system data
    • RTE

      public static final SentenceId RTE
      Route data and waypoint list
    • TLB

      public static final SentenceId TLB
      Target Label
    • TLL

      public static final SentenceId TLL
      Tracked target Longitude Latitude
    • TTM

      public static final SentenceId TTM
      Tracked target
    • TXT

      public static final SentenceId TXT
      Text message
    • UBX

      public static final SentenceId UBX
      Proprietary NMEA messages for u-blox positioning receivers.
    • VBW

      public static final SentenceId VBW
      Dual ground/water speed and stern ground/water speed.
    • VDM

      public static final SentenceId VDM
      AIS - Received data from other vessels
    • VDO

      public static final SentenceId VDO
      AIS - Own vessel data
    • VDR

      public static final SentenceId VDR
      Set and drift, direction and speed of current.
    • VLW

      public static final SentenceId VLW
      Distance traveled through water, cumulative and since reset.
    • VTG

      public static final SentenceId VTG
      Track made good and ground speed
    • VHW

      public static final SentenceId VHW
      Water speed and heading
    • WPL

      public static final SentenceId WPL
      Waypoint location (latitude/longitude)
    • VWR

      public static final SentenceId VWR
      Relative Wind Speed and Angle
    • VWT

      public static final SentenceId VWT
      True Wind Speed and Angle
    • XDR

      public static final SentenceId XDR
      Transducer measurements (sensor data)
    • XTE

      public static final SentenceId XTE
      Cross-track error, measured
    • MDA

      public static final SentenceId MDA
      Meteorological Composite
    • MWD

      public static final SentenceId MWD
      Wind speed and direction
    • ZDA

      public static final SentenceId ZDA
      UTC time and date with local time zone offset
  • 方法详细资料

    • values

      public static SentenceId[] values()
      按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
      返回:
      按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
    • valueOf

      public static SentenceId valueOf(String name)
      返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
      NullPointerException - 如果参数为空值
    • parse

      public static SentenceId parse(String nmea)
      Parses the sentence id from specified sentence String and returns a corresponding SentenceId enum (assuming it exists).
      参数:
      nmea - Sentence String
      返回:
      SentenceId enum
      抛出:
      IllegalArgumentException - If specified String is not valid sentence
    • parseStr

      public static String parseStr(String nmea)
      Parses the sentence id from specified sentence String and returns it as String.
      参数:
      nmea - Sentence String
      返回:
      Sentence Id, e.g. "GGA" or "GLL"
      抛出:
      IllegalArgumentException - If specified String is not recognized as NMEA sentence