Edit

Share via


EngineData.FromMessages(SeaSmartEngineFast, SeaSmartEngineDetail) Method

Definition

Constructs an EngineData instance from the two relevant messages

public static Iot.Device.Nmea0183.Sentences.EngineData FromMessages (Iot.Device.Nmea0183.Sentences.SeaSmartEngineFast fast, Iot.Device.Nmea0183.Sentences.SeaSmartEngineDetail detail);
static member FromMessages : Iot.Device.Nmea0183.Sentences.SeaSmartEngineFast * Iot.Device.Nmea0183.Sentences.SeaSmartEngineDetail -> Iot.Device.Nmea0183.Sentences.EngineData
Public Shared Function FromMessages (fast As SeaSmartEngineFast, detail As SeaSmartEngineDetail) As EngineData

Parameters

fast
SeaSmartEngineFast

The fast-updating engine message

detail
SeaSmartEngineDetail

The slow updating engine message

Returns

An EngineData instance

Exceptions

The two messages are not from the same engine.

Applies to