SettingPrtDlg.h
上传用户:asikq0571
上传日期:2014-07-12
资源大小:528k
文件大小:2k
源码类别:

Internet/IE编程

开发平台:

Visual C++

  1. #if !defined(AFX_SETTINGPRTDLG_H__DCA537D2_91EA_4F31_A346_690153D3769B__INCLUDED_)
  2. #define AFX_SETTINGPRTDLG_H__DCA537D2_91EA_4F31_A346_690153D3769B__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // SettingPrtDlg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // CSettingPrtDlg dialog
  10. class CSettingPrtDlg : public CDialog
  11. {
  12. // Construction
  13. public:
  14. CSettingPrtDlg(CWnd* pParent = NULL);   // standard constructor
  15. // Dialog Data
  16. //{{AFX_DATA(CSettingPrtDlg)
  17. enum { IDD = IDD_SETTING_PRT };
  18. int m_PrtType;
  19. int m_ModbusAddr;
  20. int m_ModbusYCSize;
  21. int m_ModbusYCFunc;
  22. int m_ModbusCallInt;
  23. int m_ModbusYXFunc;
  24. int m_YCAddr;
  25. int m_YCNum;
  26. int m_YMAddr;
  27. int m_YMNum;
  28. int m_YXAddr;
  29. int m_YXNum;
  30. int m_IEC101Addr;
  31. int m_IEC101CauseLen;
  32. int m_IEC101ASDULen;
  33. int m_IEC101MsgLen;
  34. //}}AFX_DATA
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CSettingPrtDlg)
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. //{{AFX_MSG(CSettingPrtDlg)
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnCmmPort();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  52. #endif // !defined(AFX_SETTINGPRTDLG_H__DCA537D2_91EA_4F31_A346_690153D3769B__INCLUDED_)