Visual Cleanups.

This commit is contained in:
2026-01-03 00:09:26 +01:00
parent f5ad48faf2
commit 4545bf81c3
6 changed files with 91 additions and 125 deletions

View File

@@ -76,9 +76,6 @@ public:
BCValueType();
BCValueType( QString unitKey_, QString unitLabel_, double factor_= 1.0, optDouble min_=std::nullopt, optDouble max_= std::nullopt );
QString readRawValueX ( const BCAbstractTransmitter& transmitter, const BCValue& value ) const;
void writeRawValueX( const BCAbstractTransmitter& transmitter, const BCValue& value ) const;
virtual QString formatValue( uint32_t value ) const;
QString unitLabel;
@@ -86,6 +83,8 @@ public:
optDouble min;
optDouble max;
ReadValueFunc readValueFunc;
//ReadValueFunc readValueFunc;
static std::optional<BCValueType*> fetchValueType( const QString& unitTypeKey );
static std::optional<ReadValueFunc> fetchReadValueFunction( const QString& unitTypeKey );