1 Star 0 Fork 0

yyj8209/HikVisionStation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DlgAbilityAutoDetect.h 2.10 KB
一键复制 编辑 原始数据 按行查看 历史
yyj8209 提交于 2021-09-27 20:21 . init
#if !defined(AFX_DLGABILITYAUTODETECT_H__2C0022B9_9459_45F8_9988_49F73E923A42__INCLUDED_)
#define AFX_DLGABILITYAUTODETECT_H__2C0022B9_9459_45F8_9988_49F73E923A42__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgAbilityAutoDetect.h : header file
//
#include "./xml/XmlBase.h"
/////////////////////////////////////////////////////////////////////////////
// CDlgAbilityAutoDetect dialog
class CDlgAbilityAutoDetect : public CDialog
{
// Construction
public:
CDlgAbilityAutoDetect(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgAbilityAutoDetect)
enum { IDD = IDD_DLG_ABILITY_AUTO_DETECT };
CComboBox m_cmbStreamType;
CComboBox m_cmbChannel;
CComboBox m_cmbAbilityType;
CString m_strDevAbility;
CString m_strLostAbility;
DWORD m_dwLastError;
DWORD m_dwReturnValue;
CString m_strInputParam;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgAbilityAutoDetect)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
public:
LONG m_lServerID;
NET_DVR_SDKLOCAL_CFG m_struSdkLocalCfg;
char *m_pOutBuf;
DWORD m_dwAbilityType;
public:
void ParseAbility();
void ParseSimpleAbility(CXmlBase &xmlAll, char* szAbilityName);
void ParseAbilityRecursive(CXmlBase &xmlAll, CXmlBase &xmlDev);
DWORD m_bSTDAbility;
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgAbilityAutoDetect)
afx_msg void OnBtnUseSimAbility();
afx_msg void OnBtnGet();
afx_msg void OnDestroy();
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeCmbAbilityType();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnCbnEditchangeCmbAbilityType();
private:
int GetSelectedAbilityIndex();
vector<CString> m_vecAbilityType;
vector<CString> m_vecCurAbilityType;
public:
afx_msg void OnCbnSetfocusCmbAbilityType();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGABILITYAUTODETECT_H__2C0022B9_9459_45F8_9988_49F73E923A42__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

搜索帮助