30 lines
617 B
C++
30 lines
617 B
C++
//---------------------------------------------------------------------------
|
|
#ifndef BacDPThreadH
|
|
#define BacDPThreadH
|
|
|
|
//#include <System.JSON.hpp>
|
|
#include <vector>
|
|
|
|
#include "BaseThread.h"
|
|
//---------------------------------------------------------------------------
|
|
using namespace std;
|
|
|
|
class TDataParseThread : public TBaseThread
|
|
{
|
|
private:
|
|
HANDLE m_hDataEvent; // Êý¾Ý´¦Àí»¥³â±äÁ¿
|
|
vector<String> m_aData;
|
|
|
|
protected:
|
|
virtual void __fastcall Execute();
|
|
|
|
public:
|
|
__fastcall TDataParseThread();
|
|
__fastcall ~TDataParseThread();
|
|
|
|
void __fastcall ParseData(String sData);
|
|
void __fastcall Reset();
|
|
};
|
|
|
|
#endif
|