Move functionality from datamanager to mainwindow.

This commit is contained in:
2025-12-28 12:30:04 +01:00
parent 84e79c8c17
commit a0bedf254d
8 changed files with 144 additions and 105 deletions

View File

@@ -128,10 +128,24 @@ void BCTransmitter::processValueOp( BC::OpID opID )
} // Mutex wird hier freigegeben! WICHTIG: Execute ohne Lock!
if( opID == BC::OpID::ReadValue )
currentValue->readRawValueX( *this );
else if( opID == BC::OpID::WriteValue )
currentValue->writeRawValueX( *this );
try
{
if( opID == BC::OpID::ReadValue )
{
QString result = currentValue->readRawValueX( *this );
}
else if( opID == BC::OpID::WriteValue )
{
currentValue->writeRawValueX( *this );
}
}
catch (...)
{
qDebug() << " --- OUCH!";
}
//emit commandFinished(cmd.id, true);