Debug updates.
This commit is contained in:
10
bcvalue.h
10
bcvalue.h
@@ -98,8 +98,9 @@ public:
|
||||
double calcRatio() const;
|
||||
void dumpValue() const;
|
||||
bool isWord() const;
|
||||
bool isReadOnly() const;
|
||||
|
||||
mutable Flags flags{BCValue::Flag::ReadOnly};
|
||||
mutable Flags valueFlags{BCValue::Flag::NoFlag};
|
||||
BCDevice::ID deviceID{BCDevice::ID::Invalid};
|
||||
BC::ID registerID{BC::ID::Invalid};
|
||||
ValueType valueType{ValueType::Plain};
|
||||
@@ -113,19 +114,12 @@ public:
|
||||
};
|
||||
Q_DECLARE_OPERATORS_FOR_FLAGS(BCValue::Flags)
|
||||
|
||||
|
||||
|
||||
//Q_DECLARE_METATYPE(const BCValue&)
|
||||
|
||||
using BCValuePtr = std::shared_ptr<BCValue>;
|
||||
using BCValuePtrConst = std::shared_ptr<const BCValue>;
|
||||
|
||||
//using BCValueList = QList<BCValue>;
|
||||
using BCValueList = QList<BCValuePtr>;
|
||||
|
||||
Q_DECLARE_METATYPE(const BCValuePtr)
|
||||
|
||||
|
||||
Q_DECLARE_METATYPE(BCValueList)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user