接口 MWDSentence

所有超级接口:
Sentence

public interface MWDSentence extends Sentence
Wind speed and true/magnetic direction, speed given in meters per second and knots.
作者:
Richard van Nieuwenhoven
  • 方法详细资料

    • getMagneticWindDirection

      double getMagneticWindDirection()
      返回:
      Wind direction, degrees True, to the nearest 0,1 degree. NaN if not available.
    • getTrueWindDirection

      double getTrueWindDirection()
      返回:
      Wind direction, degrees True, to the nearest 0,1 degree. NaN if not available.
    • getWindSpeed

      double getWindSpeed()
      返回:
      Wind speed, meters per second, to the nearest 0,1 m/s. NaN if not available.
    • getWindSpeedKnots

      double getWindSpeedKnots()
      返回:
      Wind speed, in knots, to the nearest 0,1 m/s. NaN if not available.
    • setMagneticWindDirection

      void setMagneticWindDirection(double direction)
      Sets the magnetic wind direction.
      参数:
      direction - Wind direction in degrees [0..360]
    • setTrueWindDirection

      void setTrueWindDirection(double direction)
      Sets the true wind direction.
      参数:
      direction - Wind direction in degrees [0..360].
    • setWindSpeed

      void setWindSpeed(double speed)
      Sets the wind speed in meters per second.
      参数:
      speed - Wind speed to set.
    • setWindSpeedKnots

      void setWindSpeedKnots(double speed)
      Sets the wind speed in knots.
      参数:
      speed - Wind speed to set.