RemoteParamsCfg.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. #if !defined(AFX_REMOTEPARAMSCFG_H__2AA82C89_ACAF_4C38_A5B4_4F819428F608__INCLUDED_)
  2. #define AFX_REMOTEPARAMSCFG_H__2AA82C89_ACAF_4C38_A5B4_4F819428F608__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // RemoteParamsCfg.h : header file
  7. //
  8. #include "RemoteServerConfig.h"
  9. #include "RemoteChannelConfig.h"
  10. #include "RemoteSerialConfig.h"
  11. #include "RemoteAlarmConfig.h"
  12. #include "RemoteUserCFG.h"
  13. #include "RemoteATMInfo.h"
  14. #include "ExceptionCFG.h"
  15. #include "DecCfg.h"
  16. #include "MatDecCFG.h"
  17. #include "RemoteParamReport.h"
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CRemoteParamsCfg dialog
  20. class CRemoteParamsCfg : public CDialog
  21. {
  22. // Construction
  23. public:
  24. CRemoteParamsCfg(CWnd* pParent = NULL); // standard constructor
  25. CRemoteServerConfig m_RemoteServerCfgDlg;
  26. CRemoteChannelConfig m_RemoteChannelCfgDlg;
  27. CRemoteSerialConfig m_RemoteSerialCfgDlg;
  28. CRemoteAlarmConfig m_RemoteAlarmCfgDlg;
  29. CRemoteUserCFG m_RemoteUserCfgDlg;
  30. CRemoteATMInfo m_RemoteATMInfoDlg;
  31. CExceptionCFG m_ExceptionCfgDlg;
  32. CDecCfg m_DecCfgDlg;
  33. CMatDecCFG m_MatDecCFG;
  34. CString m_ip;
  35. CString m_Username;
  36. CString m_Password;
  37. int m_iServerport;
  38. int m_iServertype;
  39. int m_iChannelnumber;
  40. LONG m_lServerID;
  41. LONG m_lStartChannel;
  42. DWORD m_dwAlarmInNum;
  43. DWORD m_dwAlarmOutNum;
  44. DWORD m_dwDiskNum;
  45. BOOL m_bPassed;
  46. BOOL m_bSuperUser;
  47. BOOL m_bConnectServer;
  48. int m_iServer;
  49. CString m_dvrName;
  50. int m_dvrSelect;
  51. // Dialog Data
  52. //{{AFX_DATA(CRemoteParamsCfg)
  53. enum { IDD = IDD_DLGREMOTECFG };
  54. CComboBox m_DVRCombo;
  55. CTabCtrl m_Tab;
  56. //}}AFX_DATA
  57. // Overrides
  58. // ClassWizard generated virtual function overrides
  59. //{{AFX_VIRTUAL(CRemoteParamsCfg)
  60. protected:
  61. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  62. //}}AFX_VIRTUAL
  63. // Implementation
  64. protected:
  65. // Generated message map functions
  66. //{{AFX_MSG(CRemoteParamsCfg)
  67. afx_msg void OnSavepara();
  68. virtual BOOL OnInitDialog();
  69. afx_msg void OnSelchangeTabremotecfg(NMHDR* pNMHDR, LRESULT* pResult);
  70. afx_msg void OnExit();
  71. afx_msg void OnCancel();
  72. afx_msg void OnRestore();
  73. afx_msg void OnSelchangeDvrcombo();
  74. //}}AFX_MSG
  75. DECLARE_MESSAGE_MAP()
  76. private:
  77. int m_HaveChosed;
  78. CString m_NotifyMess;
  79. CRemoteParamReport report;
  80. protected:
  81. void NotifyToolTip();
  82. };
  83. //{{AFX_INSERT_LOCATION}}
  84. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  85. #endif // !defined(AFX_REMOTEPARAMSCFG_H__2AA82C89_ACAF_4C38_A5B4_4F819428F608__INCLUDED_)