/[H9]/trunk/FlisServer/FlisServerDlg.h
ViewVC logotype

Annotation of /trunk/FlisServer/FlisServerDlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70 - (hide annotations) (download)
Tue Nov 27 15:26:42 2007 UTC (16 years, 6 months ago) by kevin
File MIME type: text/plain
File size: 1082 byte(s)
added FlisServer to the project - containing the server software
1 kevin 70 // FlisServerDlg.h : header file
2     //
3    
4     #pragma once
5     #include "afxwin.h"
6     #include <vector>
7    
8    
9     // CFlisServerDlg dialog
10     class CFlisServerDlg : public CDialog
11     {
12     // Construction
13     public:
14     CFlisServerDlg(CWnd* pParent = NULL); // standard constructor
15     CSerial Serial;
16     int StartSerial(void);
17     std::vector<unsigned char> readFrame();
18     void writeFrame(std::vector<unsigned char> data);
19     void SendSmsData(std::vector<unsigned char> data);
20     void SendSmsHead(std::vector<unsigned char> data);
21     int SetPin(void);
22     void DBconnect();
23    
24     // Dialog Data
25     enum { IDD = IDD_FLISSERVER_DIALOG };
26    
27     protected:
28     virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
29    
30    
31     // Implementation
32     protected:
33     HICON m_hIcon;
34    
35     // Generated message map functions
36     virtual BOOL OnInitDialog();
37     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
38     afx_msg void OnPaint();
39     afx_msg HCURSOR OnQueryDragIcon();
40     DECLARE_MESSAGE_MAP()
41     public:
42     CEdit m_Textwindow;
43     afx_msg void OnBnClickedOk();
44     afx_msg void OnBnClickedCancel();
45     afx_msg void OnBnClickedtest();
46     };

  ViewVC Help
Powered by ViewVC 1.1.20