1 Star 0 Fork 0

yyj8209/HikVisionStation

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DlgGatewayCfg.h 2.45 KB
一键复制 编辑 原始数据 按行查看 历史
yyj8209 提交于 2021-09-27 20:21 . init
#if !defined(AFX_DLGGATEWAYCFG_H__33F64882_A763_444D_91BC_B07C2B8FC2A9__INCLUDED_)
#define AFX_DLGGATEWAYCFG_H__33F64882_A763_444D_91BC_B07C2B8FC2A9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgGatewayCfg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgGatewayCfg dialog
class CDlgGatewayCfg : public CDialog
{
// Construction
public:
CDlgGatewayCfg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgGatewayCfg)
enum { IDD = IDD_DLG_GATEWAY_CFG };
CComboBox m_LockWorkModeCtrl;
CComboBox m_comboGatewayIndex;
CComboBox m_comPicType;
CComboBox m_comboPicQuality;
BOOL m_bEnable;
int m_iDelayTime;
CString m_csName;
BOOL m_bLocalEnable;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgGatewayCfg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgGatewayCfg)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeComboGatewayIndex();
afx_msg void OnBtnSetGateway();
afx_msg void OnBntOpen();
afx_msg void OnBntOpenAll();
afx_msg void OnBntClose();
afx_msg void OnBntCloseAll();
afx_msg void OnBntAlwayopen();
afx_msg void OnBntAllAlwaysopen();
afx_msg void OnBntAlwaysclose();
afx_msg void OnBntAllAlwaysclose();
afx_msg void OnBntRecovery();
afx_msg void OnBntAllRecovery();
afx_msg void OnBntCapturePic();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
LONG m_lServerID;
int m_iDevIndex;
DWORD m_dwGatawayNum; // Ž
LONG m_lGatewayIndex; // Ž
NET_DVR_GATEWAY_CFG m_struGateway;
public:
void InitWnd();
void InitGatewayIndexCombo();
void InitLockModeCombo();
void SetGatewayCfgToWnd(NET_DVR_GATEWAY_CFG &struGateway);
void GetGatewatCfgFromWnd(NET_DVR_GATEWAY_CFG &struGateway);
BOOL GetGateWayCfg(NET_DVR_GATEWAY_CFG &struGateway);
BOOL SetGateWayCfg(NET_DVR_GATEWAY_CFG &struGateway);
BOOL ControlGateway(LONG lGatewayIndex, DWORD dwStaic);
afx_msg void OnBnClickedBtnVisitorCallLadder();
afx_msg void OnBnClickedBtnHouseholdCallLadder();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGGATEWAYCFG_H__33F64882_A763_444D_91BC_B07C2B8FC2A9__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

搜索帮助