#if !defined(AFX_REMOTECHANNELCONFIG_H__72AA24AD_8942_43B0_92E9_50123F687AE3__INCLUDED_) #define AFX_REMOTECHANNELCONFIG_H__72AA24AD_8942_43B0_92E9_50123F687AE3__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // RemoteChannelConfig.h : header file // ///////////////////////////////////////////////////////////////////////////// // CRemoteChannelConfig dialog class CRemoteChannelConfig : public CDialog { // Construction public: CRemoteChannelConfig(CWnd* pParent = NULL); // standard constructor int m_iChannelnumber; LONG m_lServerID; LONG m_lStartChannel; int m_iServer; int m_nChanSel; int m_nCopyChanNum; int m_nChanNum; DWORD m_dwAlarmOutNum; BOOL bSetChannelPara[MAXCHANNUM]; BOOL bGetChannelPara[MAXCHANNUM]; NET_DVR_COMPRESSIONCFG_EX m_compressioncfg[MAXCHANNUM]; NET_DVR_COMPRESSIONCFG m_compressionNew[MAXCHANNUM]; NET_DVR_RECORD m_record[MAXCHANNUM]; NET_DVR_PICCFG_EX m_piccfg[MAXCHANNUM]; BOOL bRemoteRecord[MAXCHANNUM]; BOOL m_bConnectServer; int m_iServertype; BOOL GetChanPara(int nIndex); void EnableChanname(BOOL bEnable); void EnableOsd(BOOL bEnable); // void EnableVILost(BOOL bEnable); // void EnableControl(BOOL bEnable); // Dialog Data //{{AFX_DATA(CRemoteChannelConfig) enum { IDD = IDD_SUBDLG_CHANCFG }; CComboBox m_ParamCombo; CComboBox m_BPIntervalCtrl; CComboBox m_PreRecordTime; CComboBox m_DelayCtrl; CComboBox m_OsdType; CComboBox m_OsdAttrib; CComboBox m_CopyChannelCtrl; CComboBox m_ChannelCtrl; CComboBox m_StreamTypeCtrl; CComboBox m_ResolutionCtrl; CComboBox m_ImageQualityCtrl; CComboBox m_BitRateTypeCtrl; CComboBox m_FrameRateCtrl; CComboBox m_BitRateCtrl; CString m_ChannelName; BOOL m_bOsd; BOOL m_bRecord; BOOL m_bHide; int m_channame_x; int m_channame_y; BOOL m_bChanname; BOOL m_bDispWeek; int m_osd_y; int m_osd_x; BOOL m_bMotion; BOOL m_bHideAlarm; int m_BitRate; BOOL m_bVILost; UINT m_FrameI; BOOL m_bUseEvent; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CRemoteChannelConfig) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: int m_iSelected; // Generated message map functions //{{AFX_MSG(CRemoteChannelConfig) virtual BOOL OnInitDialog(); afx_msg void OnButchancopy(); afx_msg void OnButmotion(); afx_msg void OnButrecord(); afx_msg void OnChkrecord(); afx_msg void OnButhide(); afx_msg void OnChkhidearea(); afx_msg void OnChkosd(); afx_msg void OnChkchanname(); afx_msg void OnSelchangeComchan(); afx_msg void OnSelchangeCombocopychan(); afx_msg void OnChancfgok(); afx_msg void OnChancfgexit(); virtual void OnCancel(); afx_msg void OnRemoterecord(); afx_msg void OnChkmotion(); afx_msg void OnChkhidealarm(); afx_msg void OnButhidealarm(); afx_msg void OnSelchangeCombobitrate(); afx_msg void OnChkvilost(); afx_msg void OnButvilost(); afx_msg void OnButstring(); afx_msg void OnSelchangeComboframerate(); afx_msg void OnSelchangeParamcombo(); afx_msg void OnCompressok(); //}}AFX_MSG DECLARE_MESSAGE_MAP() public: BOOL CheckPara(); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_REMOTECHANNELCONFIG_H__72AA24AD_8942_43B0_92E9_50123F687AE3__INCLUDED_)