Edit

Share via


TransducerDataSet Class

Definition

A single data set from an XDR sentence

public sealed class TransducerDataSet
type TransducerDataSet = class
Public NotInheritable Class TransducerDataSet
Inheritance
TransducerDataSet

Constructors

TransducerDataSet()

Creates an empty instance

TransducerDataSet(String, Double, String, String)

Creates an instance filled with data.

Properties

DataName

Name of the data set Known values (may differ by equipment vendor):

  • ENV_WATER_T
  • ENV_OUTAIR_T, TempAir
  • ENV_ATMOS_P, barometer
  • ENV_INSIDE_H
  • PTCH, PITCH
  • ROLL
  • YAW
  • ENGT - Engine temperature
  • FUEL
  • FRESHWATER
  • WASTEWATER
  • BLACKWATER
  • LIVEWELL
  • OIL
  • BATVOLT, BATCURR

The above values may be followed by a #y, where y is the instance number (i.e. the tank number)

DataType

The data type of the measurement Known values:

  • A (Angle)
  • P (atmospheric Pressure)
  • C (Temperature)
  • H (Humidity)
  • V (Volume)
  • U (Voltage)
  • I (Current)
Unit

The unit of the measurement Known values:

  • B (bar)
  • P (Pascal, Percentage)
  • D (degrees)
  • G (Acceleration, g-Force)
  • C (degrees Celsius)
  • M (Mass, Liters)
  • V (Voltage)
  • A (Ampere)
Value

The value of the measurement

Methods

AsAngle()

Returns the value of the current instance as angle.

AsTemperature()

Returns the value of the current instance as temperature.

ToReadableContent()

Content as readable text

ToString()

Content formatted as NMEA message part

Applies to