1 Star 0 Fork 0

yyj8209/HikVisionStation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DlgMCUGetTermGroupList.h 2.41 KB
一键复制 编辑 原始数据 按行查看 历史
yyj8209 提交于 2021-09-27 20:21 . init
#if !defined(AFX_DLGMCUGETTERMGROUPLIST_H__43CCAF93_DEF4_4579_BCF9_44F97F7C8E64__INCLUDED_)
#define AFX_DLGMCUGETTERMGROUPLIST_H__43CCAF93_DEF4_4579_BCF9_44F97F7C8E64__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgMCUGetTermGroupList.h : header file
//
#include "XMLParamsConvert.h"
#include "MCUGeneralDef.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgMCUGetTermGroupList dialog
class CDlgMCUGetTermGroupList : public CDialog
{
// Construction
public:
CDlgMCUGetTermGroupList(CWnd* pParent = NULL); // standard constructor
~CDlgMCUGetTermGroupList()
{
if (NULL != m_szRequestURL)
{
delete[] m_szRequestURL;
m_szRequestURL = NULL;
}
if (NULL != m_szXMLResultBuf)
{
delete[] m_szXMLResultBuf;
m_szXMLResultBuf = NULL;
}
if (NULL != m_szXMLResultBuf)
{
delete[] m_szXMLStatus;
m_szXMLStatus = NULL;
}
}
// Dialog Data
//{{AFX_DATA(CDlgMCUGetTermGroupList)
enum { IDD = IDD_DLG_MCU_GET_TERM_GROUP_LIST };
// NOTE: the ClassWizard will add data members here
CListCtrl* m_pListGroupInfo;
CListCtrl* m_pListTermInfo;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgMCUGetTermGroupList)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
BOOL OnInitDialog();
// Generated message map functions
//{{AFX_MSG(CDlgMCUGetTermGroupList)
afx_msg void OnBtnGet();
afx_msg void OnClickLstGroupInfo(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
DWORD m_dwGroupNum;
TermGroupInfo m_TermGroupInfoList[MAX_GROUP_COUNT];
char *m_szRequestURL;
char* m_pXMLParamBuf;
DWORD m_dwXMLParamBufLen;
char *m_szXMLResultBuf;
DWORD m_dwXMLResultBufLen;
char *m_szXMLStatus;
CString ProcessXMLStatus(int iDeviceIndex, char* lpStatusBuf);
void InsertGroupInfo(const TermGroupInfo& struTermGroupInfo);
void InsertTermInfo(char* pTermNO);
public:
int m_iDeviceIndex;
LONG m_lUserID;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGMCUGETTERMGROUPLIST_H__43CCAF93_DEF4_4579_BCF9_44F97F7C8E64__INCLUDED_)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/yyj8209/hik-vision-station.git
git@gitee.com:yyj8209/hik-vision-station.git
yyj8209
hik-vision-station
HikVisionStation
master

搜索帮助