TransducerMeasurement Class

Definition

Reading of a sensor, not covered by other sentences. This can include environmental values (temperature, pressure), tank levels, etc.

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

Constructors

TransducerMeasurement(IEnumerable<TransducerDataSet>)

Constructs a new basic XDR sentence with a list of data sets

TransducerMeasurement(String, String, Double, String)

Constructs a new basic XDR sentence with a single data set.

TransducerMeasurement(TalkerSentence, DateTimeOffset)

Decodes an XDR sentence

Properties

Age

Age of this message

(Inherited from NmeaSentence)
DataSets

Return the data sets of this message. The returned list is a read-only copy of the data sets and cannot be modified.

DateTime

The time tag on this message

(Inherited from NmeaSentence)
Id

This sentence's id

ReplacesOlderInstance

False, because XDR sentences can contain a variety of elements

SentenceId

The sentence Id of this packet

(Inherited from NmeaSentence)
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)
FromRollAndPitch(Angle, Angle, Angle)

Creates a sentence from roll and pitch angles

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