mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-01-26 08:13:05 +01:00
OBP60Formatter: add option to switch of creation of simulation data and use pure conversion/formatting function
This commit is contained in:
@@ -204,9 +204,8 @@ typedef struct{
|
||||
|
||||
// Formatter for boat values
|
||||
FormattedData formatValue(GwApi::BoatValue *value, CommonData &commondata);
|
||||
FormattedData formatValue(GwApi::BoatValue *value, CommonData &commondata, bool ignoreSimuDataSetting);
|
||||
|
||||
// Helper method for conversion of any data value from SI to user defined format (defined in OBP60Formatter)
|
||||
double convertValue(const double &value, const String &format, CommonData &commondata);
|
||||
double convertValue(const double &value, const String &name, const String &format, CommonData &commondata);
|
||||
// Helper method for conversion of boat data values from user defined format to SI (defined in OBP60Formatter)
|
||||
double convertToSItemp(const double &value, const String &name, const String &format, CommonData &commondata);
|
||||
|
||||
Reference in New Issue
Block a user