Crash protection. part I

This commit is contained in:
2025-12-20 01:23:57 +01:00
parent 826e506d00
commit 554c4a96cb
11 changed files with 202 additions and 219 deletions

View File

@@ -31,27 +31,25 @@
#include <bcvalue.h>
BCValueType::BCValueType()
{
}
BCValue::BCValue()
{
}
BCValue::BCValue(const BCValueType& valueType_, BCDevice::ID deviceID_, BC::ID targetID_)
: valueType{valueType_}, deviceID{deviceID_}, targetID{targetID_}
{
}
BCValueType::BCValueType( TypeID ID_, QString unitLabel_, optDouble factor_, optDouble min_, optDouble max_ )
: ID{ID_}, unitLabel{unitLabel_},factor{factor_},min{min_},max{max_}
: ID{ID_}, unitLabel{unitLabel_}, factor{factor_}, min{min_}, max{max_}
{
}
BCValue::BCValue(BCDevice::ID deviceID_, BC::ID targetID_)
: deviceID{deviceID_}, targetID{targetID_}
{
}
void BCValue::setLongValue( uint8_t value)
{
}
uint8_t BCValue::getLongValue()
{
return 0;
}