Edit

Share via


SeaSmartEngineDetail Class

Definition

An extended engine data message, using a PCDIN sequence (supported by some NMEA0183 to NMEA2000 bridges) PCDIN message 01F201 Engine status data (temperatures, oil pressure, operating time)

public class SeaSmartEngineDetail : Iot.Device.Nmea0183.Sentences.ProprietaryMessage
type SeaSmartEngineDetail = class
    inherit ProprietaryMessage
Public Class SeaSmartEngineDetail
Inherits ProprietaryMessage
Inheritance
SeaSmartEngineDetail

Constructors

SeaSmartEngineDetail(Boolean, TimeSpan, Temperature, Int32)

Constructs a new sentence

SeaSmartEngineDetail(EngineData)

Constructs a new sentence

SeaSmartEngineDetail(TalkerId, IEnumerable<String>, DateTimeOffset)

Creates a message object from a decoded sentence

SeaSmartEngineDetail(TalkerSentence, DateTimeOffset)

Create a message object from a sentence

Fields

HexId

Hexadecimal identifier for this message

Properties

Age

Age of this message

(Inherited from NmeaSentence)
DateTime

The time tag on this message

(Inherited from NmeaSentence)
EngineNumber

Number of the engine

Identifier

The NMEA2000 Sentence identifier for this message

MessageTimeStamp

The timestamp for the NMEA 2000 message

OperatingTime

Total engine operating time (typically displayed in hours)

ReplacesOlderInstance

Returns false for this message (because PCDIN messages are identified based on their inner message)

SentenceId

The sentence Id of this packet

(Inherited from NmeaSentence)
Status

Engine status: True for running, false for not running/error.

TalkerId

The talker (sender) of this message

(Inherited from NmeaSentence)
Temperature

Engine temperature

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)
ReadFromHexString(String, Int32, Int32, Boolean, Int32)

Decodes a value from a longer hex string (PRDIN messages contain one blob of stringly-typed hex numbers)

(Inherited from ProprietaryMessage)
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()

Translates the properties of this instance into an NMEA message body, without TalkerId, SentenceId and checksum.

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