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

Annotation of /trunk/FlisServer/FlisServerDlg.h

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.20