SettingPrtDlg.h
上传用户:asikq0571
上传日期:2014-07-12
资源大小:528k
文件大小:2k
- #if !defined(AFX_SETTINGPRTDLG_H__DCA537D2_91EA_4F31_A346_690153D3769B__INCLUDED_)
- #define AFX_SETTINGPRTDLG_H__DCA537D2_91EA_4F31_A346_690153D3769B__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // SettingPrtDlg.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CSettingPrtDlg dialog
- class CSettingPrtDlg : public CDialog
- {
- // Construction
- public:
- CSettingPrtDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CSettingPrtDlg)
- enum { IDD = IDD_SETTING_PRT };
- int m_PrtType;
- int m_ModbusAddr;
- int m_ModbusYCSize;
- int m_ModbusYCFunc;
- int m_ModbusCallInt;
- int m_ModbusYXFunc;
- int m_YCAddr;
- int m_YCNum;
- int m_YMAddr;
- int m_YMNum;
- int m_YXAddr;
- int m_YXNum;
- int m_IEC101Addr;
- int m_IEC101CauseLen;
- int m_IEC101ASDULen;
- int m_IEC101MsgLen;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSettingPrtDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CSettingPrtDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnCmmPort();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SETTINGPRTDLG_H__DCA537D2_91EA_4F31_A346_690153D3769B__INCLUDED_)