Move functionality from datamanager to mainwindow.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user