feat: Change getDmsVersion action form sync action to async action.
This commit is contained in:
@@ -112,7 +112,6 @@ private:
|
||||
void stopAutoLocate();
|
||||
void initGUI(bool aIsInitSucceed);
|
||||
void checkDataQuality();
|
||||
void initDmsVersion();
|
||||
|
||||
void processScanProgress(const QString& aProgress);
|
||||
void processAutoLocatePosition(const QString& aProgress);
|
||||
@@ -125,6 +124,7 @@ private:
|
||||
void processTransferProgress(const QString& aProgress);
|
||||
void processShutDownDms(const QString& aResponse);
|
||||
void processPumpResult(const QString& aResponse);
|
||||
void processGetSoftwareVersion(const QString& aResponse);
|
||||
|
||||
void insertEmptyScanRecord();
|
||||
void insertScanRecord();
|
||||
@@ -184,6 +184,7 @@ signals:
|
||||
void autolocatePositionEffective();
|
||||
void shutdownDmsSended();
|
||||
void shutdownDmsFailed();
|
||||
void getDmsVersionResponsed(const QString& aDmsVersion);
|
||||
|
||||
|
||||
private:
|
||||
@@ -229,7 +230,6 @@ private:
|
||||
DmsSyncAction* mStartAutoLocateAction = nullptr;
|
||||
DmsSyncAction* mStopAutoLocateAction = nullptr;
|
||||
DmsSyncAction* mCheckDataQualityAction = nullptr;
|
||||
DmsSyncAction* mGetSoftwareVersionAction = nullptr;
|
||||
|
||||
DmsAsyncAction* mGetDeviceTemperatureAction = nullptr;
|
||||
DmsAsyncAction* mGetScanProgressAction = nullptr;
|
||||
@@ -237,6 +237,7 @@ private:
|
||||
DmsAsyncAction* mShutDownAction = nullptr;
|
||||
DmsAsyncAction* mPumpControlAction = nullptr;
|
||||
DmsAsyncAction* mGetAutoLocatePositionAction = nullptr;
|
||||
DmsAsyncAction* mGetSoftwareVersionAction = nullptr;
|
||||
|
||||
InfoReceiveWorker* mInfoReceiveWorker = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user