MatTrans.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #if !defined(AFX_MATTRANS_H__CF342F1F_AC7C_4065_BA2F_2EA034517ED5__INCLUDED_)
  2. #define AFX_MATTRANS_H__CF342F1F_AC7C_4065_BA2F_2EA034517ED5__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // MatTrans.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CMatTrans dialog
  10. class CMatTrans : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CMatTrans(CWnd* pParent = NULL); // standard constructor
  15. int m_iChannelnumber;
  16. LONG m_lServerID;
  17. LONG m_lStartChan;
  18. // Dialog Data
  19. //{{AFX_DATA(CMatTrans)
  20. enum { IDD = IDD_DLG_MATTRANS };
  21. CComboBox m_BaudCtrl;
  22. CComboBox m_StopBitCtrl;
  23. CListCtrl m_List;
  24. CComboBox m_FlowCtrl;
  25. CComboBox m_DataBitCtrl;
  26. CComboBox m_CheckBitCtrl;
  27. CComboBox m_SerCtrl1;
  28. CComboBox m_SerCtrl;
  29. CComboBox m_ProCtrl;
  30. CString m_Ip;
  31. int m_Port;
  32. int m_232FullDup;
  33. int m_485FullDup;
  34. //}}AFX_DATA
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CMatTrans)
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. void ConInfoToDisp(int index, int i);
  44. protected:
  45. // Generated message map functions
  46. //{{AFX_MSG(CMatTrans)
  47. virtual void OnCancel();
  48. virtual void OnOK();
  49. virtual BOOL OnInitDialog();
  50. afx_msg void OnButset();
  51. afx_msg void OnButexit();
  52. afx_msg void OnAddtolist();
  53. afx_msg void OnDelfromlist();
  54. afx_msg void OnSetfulldup();
  55. afx_msg void OnItemclickList1(NMHDR* pNMHDR, LRESULT* pResult);
  56. afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
  57. //}}AFX_MSG
  58. DECLARE_MESSAGE_MAP()
  59. private:
  60. // NET_DVR_MATRIX_TRAN_CHAN_CONFIG m_stru;
  61. LONG m_lSerialCount;
  62. };
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_MATTRANS_H__CF342F1F_AC7C_4065_BA2F_2EA034517ED5__INCLUDED_)