UserDefine.h 665 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef USERDEFINE_H
  2. #define USERDEFINE_H
  3. #include <list>
  4. using namespace std;
  5. #include "dhnetsdk.h"
  6. // channel information
  7. typedef struct
  8. {
  9. LLONG lRealPlayHandle;
  10. unsigned long dwStatistic;
  11. } DH_Channel_Info;
  12. // device information
  13. typedef struct
  14. {
  15. LLONG lLoginHandle;
  16. int nChannelCount;
  17. int bOnline;
  18. char szDevIp[32];
  19. int nPort;
  20. char szUserName[32];
  21. char szPassWord[32];
  22. DH_Channel_Info channel[16];
  23. int nBelongThread;
  24. unsigned int nIndex;
  25. unsigned long nTimeCount;//计时器
  26. } DH_Device_Info;
  27. typedef std::list<DH_Device_Info*> DEVICE_LIST;
  28. #endif // USERDEFINE_H