MatCycLink.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #if !defined(AFX_MATCYCLINK_H__C81B5763_F98C_42C4_A5FE_223E644FFB9D__INCLUDED_)
  2. #define AFX_MATCYCLINK_H__C81B5763_F98C_42C4_A5FE_223E644FFB9D__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // MatCycLink.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CMatCycLink dialog
  10. class CMatCycLink : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CMatCycLink(CWnd* pParent = NULL); // standard constructor
  15. LONG m_lServerID;
  16. int m_iChannelnumber;
  17. LONG m_lStartChan;
  18. // Dialog Data
  19. //{{AFX_DATA(CMatCycLink)
  20. enum { IDD = IDD_DLG_MATCYCLINK };
  21. CComboBox m_TransModesCombo;
  22. CComboBox m_TransProtocolCombo;
  23. CComboBox m_SwitchCombo;
  24. CComboBox m_DecChanCombo2;
  25. CComboBox m_DecChanCombo;
  26. CComboBox m_ConnectChanCombo;
  27. int m_DVRChannel;
  28. CString m_DVRIP;
  29. CString m_DVRPasswd;
  30. short m_DVRPort;
  31. CString m_DVRUser;
  32. int m_PoolTime;
  33. BOOL m_bCheckConnectChan;
  34. //}}AFX_DATA
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CMatCycLink)
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. NET_DVR_MATRIX_LOOP_DECINFO m_MatLoopDec[MAXCHANNUM];
  44. int m_iChanSel;
  45. BOOL m_CycLink[MAXCHANNUM];
  46. void EnableConChan(BOOL bEnable);
  47. // Generated message map functions
  48. //{{AFX_MSG(CMatCycLink)
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnSelchangeCombodecchan();
  51. afx_msg void OnSelchangeComboconchan();
  52. afx_msg void OnSavepara();
  53. afx_msg void OnSetparam();
  54. afx_msg void OnSingleget();
  55. afx_msg void OnWholeget();
  56. afx_msg void OnSingleset();
  57. afx_msg void OnCheckconchan();
  58. afx_msg void OnSelchangeCombodecchan2();
  59. //}}AFX_MSG
  60. DECLARE_MESSAGE_MAP()
  61. };
  62. //{{AFX_INSERT_LOCATION}}
  63. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  64. #endif // !defined(AFX_MATCYCLINK_H__C81B5763_F98C_42C4_A5FE_223E644FFB9D__INCLUDED_)