/[H7]/trunk/H7 Server/H7 ServerDlg.h
ViewVC logotype

Annotation of /trunk/H7 Server/H7 ServerDlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18 - (hide annotations) (download)
Tue Jan 30 16:13:04 2007 UTC (17 years, 4 months ago) by hedin
File MIME type: text/plain
File size: 1014 byte(s)
update
1 hedin 3 // H7 ServerDlg.h : header file
2     //
3    
4     #pragma once
5     #include "afxwin.h"
6     #include "TcpServerClass.h"
7    
8     // CH7ServerDlg dialog
9     class CH7ServerDlg : public CDialog
10     {
11     // Construction
12     public:
13     CH7ServerDlg(CWnd* pParent = NULL); // standard constructor
14    
15     // Dialog Data
16     enum { IDD = IDD_H7SERVER_DIALOG };
17    
18     protected:
19     virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
20    
21    
22     // Implementation
23     protected:
24     HICON m_hIcon;
25     TcpServerClass TcpServer;
26    
27     // Generated message map functions
28     virtual BOOL OnInitDialog();
29     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
30     afx_msg void OnPaint();
31     afx_msg HCURSOR OnQueryDragIcon();
32     DECLARE_MESSAGE_MAP()
33     public:
34     CEdit m_Status;
35     CComboBox m_BaudRate;
36     CComboBox m_Serial;
37     CButton m_Stop;
38     CEdit m_Port;
39     int m_Start;
40     CButton m_Restart;
41     afx_msg void OnBnClickedStart();
42 hedin 6 int StartTcp(void);
43     afx_msg void OnBnClickedTest();
44 hedin 8 afx_msg void OnBnClickedRestart();
45 hedin 18 bool ServerInit(void);
46     int StartSerial(void);
47 hedin 3 };

  ViewVC Help
Powered by ViewVC 1.1.20