feat: Add recon state in GUI.
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
|
||||
enum UsctState
|
||||
{
|
||||
DmsState = 0, //Dms是否有致命错误,false代表存在致命错误
|
||||
DmsConnectionState,
|
||||
ReconState, //Recon是否有致命错误,false代表存在致命错误
|
||||
ReconMppsState,
|
||||
ReconPacsState,
|
||||
ReconConnectionState,
|
||||
ReconState = 0, //Recon是否有致命错误,false代表存在致命错误
|
||||
ReconDBState,
|
||||
ReconEmptyScanState,
|
||||
ReconDBState
|
||||
ReconPacsState,
|
||||
ReconMppsState,
|
||||
ReconConnectionState,
|
||||
DmsState, //Dms是否有致命错误,false代表存在致命错误
|
||||
DmsConnectionState
|
||||
};
|
||||
|
||||
class UsctStateManager : public QObject
|
||||
@@ -24,11 +24,12 @@ public:
|
||||
|
||||
bool getUsctState();
|
||||
void setState(int aStateCode, bool aState);
|
||||
void updateReconState(bool aIsConnected,int aState);
|
||||
bool getState(UsctState aStateCode);
|
||||
|
||||
private:
|
||||
QString getStateErrorMessage(int aStateCode);
|
||||
|
||||
|
||||
private:
|
||||
UsctStateManager(QObject* aParent = nullptr);
|
||||
UsctStateManager(const UsctStateManager&);
|
||||
|
||||
Reference in New Issue
Block a user