WindSpeedAndAngle Class

Definition

MWV sentence: Wind speed and wind angle (true or apparent) Note that the wind angle is always given relative to the ship's bow, so to get the wind direction in cardinal direction, the heading is required (or with some error, COG can be used). See WindDirectionWithRespectToNorth for geographic wind direction.

public class WindSpeedAndAngle : Iot.Device.Nmea0183.Sentences.NmeaSentence
type WindSpeedAndAngle = class
    inherit NmeaSentence
Public Class WindSpeedAndAngle
Inherits NmeaSentence
Inheritance
WindSpeedAndAngle

Constructors

WindSpeedAndAngle(Angle, Speed, Boolean)

Constructs a new MWV sentence

WindSpeedAndAngle(TalkerId, IEnumerable<String>, DateTimeOffset)

Date and time message (ZDA). This should not normally need the last time as argument, because it defines it.

WindSpeedAndAngle(TalkerSentence, DateTimeOffset)

Internal constructor

Properties

Age

Age of this message

(Inherited from NmeaSentence)
Angle

Angle of the wind

DateTime

The time tag on this message

(Inherited from NmeaSentence)
Id

This sentence's id

Relative

True if the values are relative, false if they are absolute

ReplacesOlderInstance

Sent twice: With true and with apparent wind

SentenceId

The sentence Id of this packet

(Inherited from NmeaSentence)
Speed

Wind speed

SpeedUnit

Unit of speed: "M" for m/s, "N" for knots. The same message is sometimes sent with both units, so we might want to keep the difference.

TalkerId

The talker (sender) of this message

(Inherited from NmeaSentence)
Valid

True if the contents of this message are valid / understood This is false if the message type could be decoded, but the contents seem invalid or there's no useful data

(Inherited from NmeaSentence)

Methods

AgeTo(DateTimeOffset)

The relative age of this sentence against a time stamp. Useful when analyzing recorded data, where "now" should also be a time in the past.

(Inherited from NmeaSentence)
ReadChar(IEnumerator<String>)

Decodes the next field into a char

(Inherited from NmeaSentence)
ReadInt(IEnumerator<String>)

Decodes the next field into an int

(Inherited from NmeaSentence)
ReadString(IEnumerator<String>)

Decodes the next field into a string

(Inherited from NmeaSentence)
ReadValue(IEnumerator<String>)

Decodes the next field into a double

(Inherited from NmeaSentence)
ToNmeaMessage()

Translates the properties of this instance into an NMEA message

(Inherited from NmeaSentence)
ToNmeaParameterList()

Presents this message as output

ToReadableContent()

Gets an user-readable string about this message

ToString()

Generates a readable instance of this string. Not overridable, use ToReadableContent() to override. (this is to prevent confusion with ToNmeaMessage().) Do not use this method to create an NMEA sentence.

(Inherited from NmeaSentence)

Applies to