Change pump action to AsyncAion from SyncAction.

This commit is contained in:
sunwen
2023-11-13 15:59:39 +08:00
parent 099306f5d3
commit 7c5a426e52
3 changed files with 33 additions and 16 deletions

View File

@@ -117,6 +117,7 @@ private:
void processDeviceTemperature(const QString& aResponseTemperature);
void processTransferProgress(const QString& aProgress);
void processShutDownDms(const QString& aResponse);
void processPumpResult(const QString& aResponse);
void insertEmptyScanRecord();
void insertScanRecord();
@@ -199,7 +200,6 @@ private:
DmsSyncAction* mTransferAction = nullptr;
DmsSyncAction* mGetTransferProgressAction = nullptr;
DmsSyncAction* mGetCEStatusAction = nullptr;
DmsSyncAction* mPumpControlAction = nullptr;
DmsSyncAction* mSetSimulatorModeAction = nullptr;
DmsSyncAction* mSetHeartBeatAction = nullptr;
@@ -208,6 +208,7 @@ private:
DmsAsyncAction* mGetSoftwareVersionAction = nullptr;
DmsAsyncAction* mStopTransferAction = nullptr;
DmsAsyncAction* mShutDownAction = nullptr;
DmsAsyncAction* mPumpControlAction = nullptr;
friend class InfoReceiveWorker;
};