接口 VWRSentence

所有超级接口:
Sentence

public interface VWRSentence extends Sentence
Relative Wind Speed and Angle. Wind direction magnitude in degrees Wind direction Left/Right of bow Speed in Knots, Meters Per Second and Kilometers Per Hour

Example:
---

作者:
Henri Laurent
  • 字段详细资料

    • MPS

      static final char MPS
      Units indicator for meters per second
      另请参阅:
    • KMPH

      static final char KMPH
      Units indicator for kilometers per hour
      另请参阅:
    • KNOT

      static final char KNOT
      Units indicator for knots (nautical miles per hour)
      另请参阅:
  • 方法详细资料

    • getWindAngle

      double getWindAngle()
      Get the Wind angle magnitude in degrees
      返回:
      Wind angle
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getDirectionLeftRight

      Direction getDirectionLeftRight()
      Get the Wind direction Left/Right of bow
      返回:
      Direction enum
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
      从以下版本开始:
      NMEA 2.3
    • getSpeedKmh

      double getSpeedKmh()
      Get relative wind speed, in kilometers per hour.
      返回:
      Speed in km/h
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • getSpeedKnots

      double getSpeedKnots()
      Get relative wind speed in knots.
      返回:
      Speed in knots (nautical miles per hour)
      抛出:
      DataNotAvailableException - If the data is not available.
      ParseException - If the field contains unexpected or illegal value.
    • setWindAngle

      void setWindAngle(double mWindAngle)
      Set the Wind angle magnitude
      参数:
      mWindAngle - Wind angle magnitude in degrees.
    • setDirectionLeftRight

      void setDirectionLeftRight(Direction direction)
      Set the Wind direction Left/Right of bow
      参数:
      direction - Direction to set
      从以下版本开始:
      NMEA 2.3
    • setSpeedKmh

      void setSpeedKmh(double kmh)
      Set the relative wind speed in kmh
      参数:
      kmh - Speed in kilometers per hour (km/h).
    • setSpeedKnots

      void setSpeedKnots(double knots)
      Set the relative wind speed in knots.
      参数:
      knots - Speed in knots (nautical miles per hour)