Changed BCValue

This commit is contained in:
2026-01-16 23:46:58 +01:00
parent c6c058279a
commit 6aec85418a
2 changed files with 75 additions and 12 deletions

View File

@@ -107,21 +107,21 @@ public:
bool testFlag( Flag flag ) const;
void setFlag( Flag flag, bool state=true ) const;
BCDevice::ID getDeviceID() const noexcept { return _deviceID; }
BC::ID getRegisterID() const noexcept { return _registerID; }
BCDevice::ID getDeviceID() const noexcept;
BC::ID getRegisterID() const noexcept;
uint32_t getRawValue() const noexcept { return _rawValue; }
void setRawValue(uint32_t newRawValue) const { _rawValue = newRawValue; }
uint32_t getRawValue() const noexcept;
void setRawValue(uint32_t newRawValue) const;
void setFromDouble( double value );
ValueType getValueType() const noexcept { return _valueType; }
int getIndexRow() const noexcept { return _indexRow; }
void setIndexRow(int newIndexRow) { _indexRow = newIndexRow; }
QString getLabel() const { return _label; }
QString getUnitLabel() const { return _unitLabel; }
double getFactor() const noexcept { return _factor; }
const OptDouble getOptMin() const { return _optMin; }
const OptDouble getOptMax() const { return _optMax; }
ValueType getValueType() const noexcept;
int getIndexRow() const noexcept;
void setIndexRow(int newIndexRow);
QString getLabel() const;
QString getUnitLabel() const;
double getFactor() const noexcept;
const OptDouble getOptMin() const;
const OptDouble getOptMax() const;
protected: