Update GUI and Recon connection.
This commit is contained in:
@@ -69,6 +69,11 @@ public:
|
||||
void emitErrorCallback(const char *msg);
|
||||
void emitInfoCallback(const QString& aMessage,const unsigned int aInfoType);
|
||||
bool hasValidEmptyScan();
|
||||
void updateTransferProgress();
|
||||
int getTransferProgress();
|
||||
|
||||
public slots:
|
||||
void updateReconState();
|
||||
|
||||
signals:
|
||||
|
||||
@@ -98,7 +103,6 @@ private:
|
||||
void getScanProcess();
|
||||
void startTransfer();
|
||||
void initEmptyScanMeasurementID();
|
||||
void updateReconState();
|
||||
|
||||
void processScanProcess(const QString& aProgress);
|
||||
void prepareFinishScan(bool isNormalFinish, const QString& aReason = "");
|
||||
@@ -132,15 +136,18 @@ signals:
|
||||
void responsePreviewScan(const QString& aResponse);
|
||||
void responseGetSoftwareVersion(const QString& aSoftwareVersion);
|
||||
void responseTransfer(const QString& aResponse);
|
||||
void responseGetTransferProgress(const QString& aProgress);
|
||||
//Recon
|
||||
void createEmptyScanToRecon(const QString& aScanID, const QString& aPath);
|
||||
void createScanToRecon(const QString& aScanID, const QString& aPatientID, const QString& aReferenceID, const QString& aPath);
|
||||
void queryScanStatusToRecon(const QStringList& aScanIDs);
|
||||
void updateReconStateFinished();
|
||||
|
||||
|
||||
private:
|
||||
int mTemperatureTimer = -1;
|
||||
int mScanProgressTimer = -1;
|
||||
int mTransferProgress = 0;
|
||||
bool mIsEmptyScan = false;
|
||||
bool mIsTransferEmptyScan = false;
|
||||
bool mIsScanning = false;
|
||||
@@ -164,6 +171,7 @@ private:
|
||||
DmsSyncAction* mCEScanAction = nullptr;
|
||||
DmsSyncAction* mStopScanAction = nullptr;
|
||||
DmsSyncAction* mTransferAction = nullptr;
|
||||
DmsSyncAction* mGetTransferProgressAction = nullptr;
|
||||
|
||||
DmsAsyncAction* mGetDeviceTemperatureAction = nullptr;
|
||||
DmsAsyncAction* mGetScanProgressAction = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user