Reworked data types.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user