Fixing button locking, part I

This commit is contained in:
2026-01-06 18:47:08 +01:00
parent 221e0bc8c2
commit a8a947ff0b
8 changed files with 50 additions and 27 deletions

View File

@@ -94,6 +94,7 @@ public:
BCValue( BCDevice::ID deviceID_, BC::ID registerID_ );
QString formatValues( uint32_t value ) const;
double calcRatio() const;
void dumpValue() const;
mutable States state{BCValue::State::ReadOnly};
@@ -107,8 +108,8 @@ public:
bool isWord{false};
QString unitLabel;
double factor{1};
OptDouble min;
OptDouble max;
OptDouble optMin;
OptDouble optMax;
};
Q_DECLARE_OPERATORS_FOR_FLAGS(BCValue::States)