[14] | 1 | #if !defined(AFX_DLGCONNECTIONS_H__4D342E25_FE27_11D1_8FE9_68D504C1BC01__INCLUDED_) |
---|
| 2 | #define AFX_DLGCONNECTIONS_H__4D342E25_FE27_11D1_8FE9_68D504C1BC01__INCLUDED_ |
---|
| 3 | |
---|
| 4 | #if _MSC_VER >= 1000 |
---|
| 5 | #pragma once |
---|
| 6 | #endif // _MSC_VER >= 1000 |
---|
| 7 | // DlgConnections.h : header file |
---|
| 8 | // |
---|
| 9 | |
---|
| 10 | ///////////////////////////////////////////////////////////////////////////// |
---|
| 11 | // CDlgConnections dialog |
---|
| 12 | |
---|
| 13 | #include "globals.h" |
---|
| 14 | |
---|
| 15 | #include "CommParameters.h" |
---|
| 16 | |
---|
| 17 | #include "DlgRemoteParameters.h" |
---|
| 18 | |
---|
| 19 | class CDlgConnections : public CDialog |
---|
| 20 | { |
---|
| 21 | // Construction |
---|
| 22 | public: |
---|
| 23 | void LoadControls(); |
---|
| 24 | CDlgConnections(CWnd* pParent = NULL); // standard constructor |
---|
| 25 | |
---|
| 26 | // Dialog Data |
---|
| 27 | //{{AFX_DATA(CDlgConnections) |
---|
| 28 | enum { IDD = IDD_CONNECTIONS }; |
---|
| 29 | CListBox m_lstConnections; |
---|
| 30 | CButton m_cmdRemove; |
---|
| 31 | CButton m_cmdEdit; |
---|
| 32 | CButton m_cmdType; |
---|
| 33 | CComboBox m_cboType; |
---|
| 34 | //}}AFX_DATA |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | // Overrides |
---|
| 38 | // ClassWizard generated virtual function overrides |
---|
| 39 | //{{AFX_VIRTUAL(CDlgConnections) |
---|
| 40 | protected: |
---|
| 41 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support |
---|
| 42 | //}}AFX_VIRTUAL |
---|
| 43 | |
---|
| 44 | enum _General_DlgConnections_Constants_ { |
---|
| 45 | LOCAL_DCOM=0, |
---|
| 46 | OPEN_MODBUS=1 |
---|
| 47 | }; |
---|
| 48 | // Implementation |
---|
| 49 | protected: |
---|
| 50 | |
---|
| 51 | // Generated message map functions |
---|
| 52 | //{{AFX_MSG(CDlgConnections) |
---|
| 53 | virtual BOOL OnInitDialog(); |
---|
| 54 | afx_msg void OnCmdAdd(); |
---|
| 55 | afx_msg void OnCmdEdit(); |
---|
| 56 | afx_msg void OnCmdRemove(); |
---|
| 57 | afx_msg void OnButtonSave(); |
---|
| 58 | afx_msg void OnButtonLoad(); |
---|
| 59 | //}}AFX_MSG |
---|
| 60 | DECLARE_MESSAGE_MAP() |
---|
| 61 | }; |
---|
| 62 | |
---|
| 63 | //{{AFX_INSERT_LOCATION}} |
---|
| 64 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line. |
---|
| 65 | |
---|
| 66 | #endif // !defined(AFX_DLGCONNECTIONS_H__4D342E25_FE27_11D1_8FE9_68D504C1BC01__INCLUDED_) |
---|