Update GUI and Recon connection.
This commit is contained in:
@@ -66,12 +66,12 @@ void ReconManager::createScan(const QString& aScanID, const QString& aPatientID,
|
||||
auto response = mReconClient->Create(scan);
|
||||
if(response.good())
|
||||
{
|
||||
qDebug()<< "create scan success, scanID: "<< aScanID;
|
||||
qDebug()<< "Recon create scan success, scanID: "<< aScanID;
|
||||
emit createScanResponsed(true, aScanID);
|
||||
}
|
||||
else
|
||||
{
|
||||
qDebug()<< "Create scan fail by " << response.error().data();
|
||||
qDebug()<< "Recon create scan failed by " << response.error().data();
|
||||
emit createScanResponsed(false, aScanID, response.error().data());
|
||||
}
|
||||
}
|
||||
@@ -85,6 +85,7 @@ void ReconManager::queryReconStatus(const QStringList& aScanIDs)
|
||||
auto response = mReconClient->QueryScan(scanID.toStdString(), state);
|
||||
if(response.bad())
|
||||
{
|
||||
qDebug()<< "Recon query failed by " << response.error().data();
|
||||
break;
|
||||
}
|
||||
result.insert(scanID, state);
|
||||
|
||||
Reference in New Issue
Block a user