Backup.
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "qassert.h"
|
||||
#include <bcmainwindow.h>
|
||||
#include <bcitemdelegate.h>
|
||||
#include <ui_bcmainwindow.h>
|
||||
@@ -157,7 +158,7 @@ void BCMainWindow::initMainWindow()
|
||||
connect(this, &BCMainWindow::sendValueCommand, &_transmitter, &BCTransmitter::enqueueValueOp);
|
||||
|
||||
// B) Ergebnisse empfangen (Runner -> Manager)
|
||||
//connect(&_transmitter, &BCTransmitter::commandFinished, this, &BCDataManager::onCommandFinished);
|
||||
//connect(&_transmitter, &BCTransmitter::valueStateChanged, this, &BCDataManager::onvalueStateChanged);
|
||||
//connect(&_transmitter, &BCTransmitter::messageLogged, this, &BCDataManager::onRunnerMessage);
|
||||
|
||||
// C) Aufräumen: Wenn Thread endet, lösche den Runner
|
||||
@@ -219,7 +220,7 @@ void BCMainWindow::onConnectButtonToggled(bool checked )
|
||||
//_dataManager.setDriverConnectionState( checked );
|
||||
}
|
||||
|
||||
void BCMainWindow::onCommandFinished(int id, bool success)
|
||||
void BCMainWindow::onvalueStateChanged(int id, bool success)
|
||||
{
|
||||
qDebug() << "[Manager] Command" << id << "finished. Success:" << success;
|
||||
}
|
||||
@@ -234,9 +235,10 @@ void BCMainWindow::onRunnerMessage(const QString &msg)
|
||||
|
||||
void BCMainWindow::onSyncFromDevice()
|
||||
{
|
||||
qDebug() << " ---Syncing";
|
||||
|
||||
Q_ASSERT(_currentPanel && "currentpanel ist null!");
|
||||
Q_ASSERT_X(_currentPanel, "onSyncFromDevice()", "_currentpanel ist null!");
|
||||
|
||||
qDebug() << " ---Syncing";
|
||||
|
||||
const BCValueList& currentList =_currentPanel->getValueList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user