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

Annotation of /trunk/FlisServer/FlisServerDlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 103 - (hide annotations) (download)
Thu Nov 29 16:16:34 2007 UTC (16 years, 6 months ago) by kevin
File MIME type: text/plain
File size: 1236 byte(s)
updated FlisServer software - now able to read/write sms, Read from the DB. next job data handling.
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 kevin 103 #include "Containers.h"
9 kevin 70
10    
11     // CFlisServerDlg dialog
12     class CFlisServerDlg : public CDialog
13     {
14     // Construction
15     public:
16     CFlisServerDlg(CWnd* pParent = NULL); // standard constructor
17     CSerial Serial;
18    
19     // 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 103 CDatabase db;
37 kevin 81
38     int StartSerial(void);
39     std::vector<unsigned char> readFrame();
40     void writeFrame(std::vector<unsigned char> data);
41     void SendSmsData(std::vector<unsigned char> data);
42     void SendSmsHead(std::vector<unsigned char> data);
43     int SetPin(void);
44     void DBConnect();
45 kevin 103 vector<Commands> DBRead(void);
46 kevin 81 void ReadSms();
47     void SmsSplit(CString data);
48     CString Splitter(CString& fyrdata);
49    
50 kevin 70 public:
51     CEdit m_Textwindow;
52     afx_msg void OnBnClickedtest();
53 kevin 103 afx_msg void OnBnClickedClose();
54 kevin 70 };

  ViewVC Help
Powered by ViewVC 1.1.20