Reworked data types.

This commit is contained in:
2025-12-21 14:40:38 +01:00
parent acce874133
commit cb9eb8c3fe
9 changed files with 42 additions and 72 deletions

View File

@@ -52,15 +52,16 @@ BCValue::BCValue()
}
*/
BCValue::BCValue(const BCValueType& valueType_, BCDevice::ID deviceID_, BC::ID targetID_)
: valueType{valueType_}, deviceID{deviceID_}, targetID{targetID_}
BCValue::BCValue(const BCValueType& valueType_, BCDevice::ID deviceID_, BC::ID registerID_)
: valueType{valueType_}, deviceID{deviceID_}, registerID{registerID_}
{
}
void BCValue::readRawValue( const BCAbstractTransmitter& transmitter ) const
{
transmitter.readValue( deviceID, targetID );
std::optional<uint32_t> result = transmitter.readRawValue( deviceID, registerID );
}
void BCValue::writeRawValue( const BCAbstractTransmitter& transmitter ) const