Create and rework data handling, part I

This commit is contained in:
2025-12-21 10:30:39 +01:00
parent f83f351d99
commit c382ba472d
12 changed files with 1540 additions and 25 deletions

View File

@@ -36,6 +36,15 @@ BCValueType::BCValueType()
}
BCValueType::BCValueType( TypeID ID_, QString unitLabel_, optDouble factor_, optDouble min_, optDouble max_ )
: ID{ID_}, unitLabel{unitLabel_}, factor{factor_}, min{min_}, max{max_}
{
}
///-------------------------------
BCValue::BCValue()
{
@@ -48,8 +57,13 @@ BCValue::BCValue(const BCValueType& valueType_, BCDevice::ID deviceID_, BC::ID t
}
BCValueType::BCValueType( TypeID ID_, QString unitLabel_, optDouble factor_, optDouble min_, optDouble max_ )
: ID{ID_}, unitLabel{unitLabel_}, factor{factor_}, min{min_}, max{max_}
void BCValue::readRawValue( const BCAbstractTransmitter& transmitter ) const
{
transmitter.readValue( deviceID, targetID );
}
void BCValue::writeRawValue( const BCAbstractTransmitter& transmitter ) const
{
}