1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

n2k engine pgns, untested

This commit is contained in:
wellenvogel
2021-11-25 22:16:51 +01:00
parent 99ba4b3d8e
commit dbadb6fb11
5 changed files with 79 additions and 6 deletions

View File

@@ -51,6 +51,9 @@ GwXDRType *types[] = {
new GwXDRType(GwXDRType::VOLPERCENT, "V", "P"),
new GwXDRType(GwXDRType::VOLUME, "V", "M", m3ToL, ltrTom3),
new GwXDRType(GwXDRType::FLOW, "R", "I", ps2ph, ph2ps),
new GwXDRType(GwXDRType::GENERIC, "G", ""),
new GwXDRType(GwXDRType::DISPLACEMENT, "A", "P"),
new GwXDRType(GwXDRType::RPM,"T","R"),
//important to have 2x NULL!
NULL,
NULL};

View File

@@ -33,6 +33,9 @@ class GwXDRType{
VOLPERCENT=6,
VOLUME=7,
FLOW=8,
GENERIC=9,
DISPLACEMENT=10,
RPM=11,
UNKNOWN=99
}TypeCode;
typedef double (* convert)(double);