CommAsyn.h 724 B

12345678910111213141516171819202122232425262728293031
  1. // CommAsyn.h: interface for the CCommAsyn class.
  2. //
  3. //////////////////////////////////////////////////////////////////////
  4. #if !defined(AFX_COMMASYN_H__8351010D_0DD3_4F8C_8F3B_959BA59019E7__INCLUDED_)
  5. #define AFX_COMMASYN_H__8351010D_0DD3_4F8C_8F3B_959BA59019E7__INCLUDED_
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. #define STATUS_NORMAL 0
  10. #define STATUS_FAULT 1
  11. #define STATUS_NOUSE 2
  12. #define STATUS_TYPEERROR 3
  13. #define COMM_CORRECT 0
  14. #define COMM_ERROR 1
  15. #define MAX_DATA_NUM128 128
  16. #define MAX_YXNO 2048
  17. #define MAX_YCNO 2048
  18. class CCommAsyn
  19. {
  20. public:
  21. CCommAsyn();
  22. virtual ~CCommAsyn();
  23. };
  24. #endif // !defined(AFX_COMMASYN_H__8351010D_0DD3_4F8C_8F3B_959BA59019E7__INCLUDED_)