This commit is contained in:
2026-01-01 23:01:31 +01:00
parent a3dac8e4f8
commit dce792e00d
7 changed files with 49 additions and 86 deletions

View File

@@ -99,29 +99,17 @@ public:
QString readRawValueX( const BCAbstractTransmitter& transmitter ) const;
void writeRawValueX( const BCAbstractTransmitter& transmitter ) const;
// void reset()
// später vielleicht
//protected:
mutable States state{BCValue::State::NoState};
//const BCValueType& valueType;
//BCValueTypeCRef valueType;
const BCValueType* valueType{};
BCDevice::ID deviceID{BCDevice::ID::Invalid};
BC::ID registerID{BC::ID::Invalid};
int indexRow{-1};
QString label;
// ??
mutable QString visibleValue;
QVariant defaultValue;
//??
bool inSync{false};
bool readOnly{false};
//mutable std::optional<uint32_t> rawValue;
};
Q_DECLARE_OPERATORS_FOR_FLAGS(BCValue::States)
Q_DECLARE_METATYPE(const BCValue*)
//Q_DECLARE_METATYPE(const BCValue&)