Last change
on this file since 16 was 14, checked in by marrucho, 12 years ago |
xsuc light lecture uniquement
|
File size:
1.9 KB
|
Line | |
---|
1 | #if !defined(AFX_COMMPARAMETERS_H__598A7320_F984_11D1_9E7B_08C003C10000__INCLUDED_)
|
---|
2 | #define AFX_COMMPARAMETERS_H__598A7320_F984_11D1_9E7B_08C003C10000__INCLUDED_
|
---|
3 |
|
---|
4 | #if _MSC_VER >= 1000
|
---|
5 | #pragma once
|
---|
6 | #endif // _MSC_VER >= 1000
|
---|
7 | // CommParameters.h : header file
|
---|
8 | //
|
---|
9 |
|
---|
10 | #include "Globals.h"
|
---|
11 |
|
---|
12 | /////////////////////////////////////////////////////////////////////////////
|
---|
13 | // CCommParameters dialog
|
---|
14 |
|
---|
15 | class CCommParameters : public CDialog
|
---|
16 | {
|
---|
17 | // Construction
|
---|
18 | public:
|
---|
19 | BOOL SaveParameters();
|
---|
20 | void Connection(CConnection* pConnection);
|
---|
21 | CConnection* Connection();
|
---|
22 | BOOL ShowParameters();
|
---|
23 | void LoadCombos();
|
---|
24 | CCommParameters(CWnd* pParent = NULL); // standard constructor
|
---|
25 |
|
---|
26 | BOOL m_bModeNew;
|
---|
27 |
|
---|
28 | // Dialog Data
|
---|
29 | //{{AFX_DATA(CCommParameters)
|
---|
30 | enum { IDD = IDD_MOD_LOCAL_COM_PARAM };
|
---|
31 | CEdit m_edtDelay;
|
---|
32 | CButton m_chkTcpServer;
|
---|
33 | CEdit m_edtDcomServer;
|
---|
34 | CEdit m_edtServerPort;
|
---|
35 | CEdit m_edtServerIP;
|
---|
36 | CButton m_chkActive;
|
---|
37 | CEdit m_edtCharInterval;
|
---|
38 | CEdit m_edtTimeOut;
|
---|
39 | CComboBox m_cboByteSize;
|
---|
40 | CComboBox m_cboStopBits;
|
---|
41 | CComboBox m_cboParity;
|
---|
42 | CComboBox m_cboPorta;
|
---|
43 | CComboBox m_cboBaudRate;
|
---|
44 | BOOL m_bDTRDSR;
|
---|
45 | BOOL m_bRTSCTS;
|
---|
46 | BOOL m_bXONXOFF;
|
---|
47 | //}}AFX_DATA
|
---|
48 |
|
---|
49 |
|
---|
50 | // Overrides
|
---|
51 | // ClassWizard generated virtual function overrides
|
---|
52 | //{{AFX_VIRTUAL(CCommParameters)
|
---|
53 | protected:
|
---|
54 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
---|
55 | //}}AFX_VIRTUAL
|
---|
56 |
|
---|
57 | // Implementation
|
---|
58 | protected:
|
---|
59 |
|
---|
60 | // Generated message map functions
|
---|
61 | //{{AFX_MSG(CCommParameters)
|
---|
62 | virtual BOOL OnInitDialog();
|
---|
63 | afx_msg void OnOkey();
|
---|
64 | virtual void OnCancel();
|
---|
65 | afx_msg void OnButtFindIP();
|
---|
66 | //}}AFX_MSG
|
---|
67 | DECLARE_MESSAGE_MAP()
|
---|
68 | private:
|
---|
69 | CConnection* m_pConnection;
|
---|
70 |
|
---|
71 | };
|
---|
72 |
|
---|
73 | //{{AFX_INSERT_LOCATION}}
|
---|
74 | // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
---|
75 |
|
---|
76 | #endif // !defined(AFX_COMMPARAMETERS_H__598A7320_F984_11D1_9E7B_08C003C10000__INCLUDED_)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.