对获取EF3返回锁存点功能,基本实现

This commit is contained in:
zhengxuan.zhang
2022-12-01 16:03:30 +08:00
parent 65cb1d3804
commit d652f671db
11 changed files with 349 additions and 171 deletions
+4 -3
View File
@@ -130,6 +130,7 @@ public:
void hex2str(char* pszDest, byte* pbSrc, int nLen);
//字节数据转换为16进制字符串
CString HexToStr(const char* pData, int nLen);
int Receive(void* buf, int maxlen, bool sync);
DWORD Send(LPCSTR buffer, int l, BOOL needsResponse = FALSE) override;
//virtual DWORD Send(CString what);
@@ -191,9 +192,9 @@ public:
// BV Nov 2001: Made public
// CRITICAL_SECTION m_QueueLock;
BOOL m_iRecvState; //接收状态
INT m_iRecvBytes; //接收字节数
INT m_iRecvCount; //接收计数
INT m_iExpectBytes =0; //定义期望接收的数据长度
INT m_iRecvBytes; //接收字节数
INT m_iRecvCount; //接收计数
INT m_iExpectBytes = 0; //定义期望接收的数据长度
BOOL m_bDebug = true; //调试模式,默认关闭
unsigned char m_RecvData[MAX_RECIEVE_BUFFER_SIZE];
};