| 12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef AUTOSYNCZXSHSLTPACKNO_H
- #define AUTOSYNCZXSHSLTPACKNO_H
- #include <QThread>
- #include <QtCore>
- #include "wscube2.h"
- class AutoSyncZxshSltPackno : public QThread
- {
- Q_OBJECT
- public:
- explicit AutoSyncZxshSltPackno();
- ~AutoSyncZxshSltPackno();
- void abort();
- void setSkip(bool skip);
- public slots:
- void setAccountInfo(QMap<QString,QString> accountInfo);
- protected:
- void run();
- signals:
- void dataSync();
- private:
- void sync();
- bool checkSynCondition();
- public slots:
- private:
- QMap<QString,QString> m_account;
- QString m_clientID;
- QString m_moduleID;
- int m_errCode;
- QString m_errMsg;
- QString m_errDetail;
- bool m_stop;
- bool m_first;
- bool m_skip;
- WSCube2 *m_cubeWs;
- };
- #endif // AUTOSYNCZXSHSLTPACKNO_H
|