6 |
#include "TcpServerClass.h" |
#include "TcpServerClass.h" |
7 |
#include "H7Serial.h" |
#include "H7Serial.h" |
8 |
|
|
9 |
|
#include <vector> |
10 |
|
|
11 |
|
// Fortæller at der er en funktion, et eller andet sted, der hedder GetAvailableComPorts(). |
12 |
|
std::vector<CString> GetAvailableComPorts(); |
13 |
|
|
14 |
// CH7ServerDlg dialog |
// CH7ServerDlg dialog |
15 |
class CH7ServerDlg : public CDialog |
class CH7ServerDlg : public CDialog |
16 |
{ |
{ |
38 |
afx_msg HCURSOR OnQueryDragIcon(); |
afx_msg HCURSOR OnQueryDragIcon(); |
39 |
DECLARE_MESSAGE_MAP() |
DECLARE_MESSAGE_MAP() |
40 |
public: |
public: |
41 |
|
bool m_First; |
42 |
CEdit m_Status; |
CEdit m_Status; |
43 |
CComboBox m_BaudRate; |
CComboBox m_BaudRate; |
44 |
CComboBox m_Serial; |
CComboBox m_Serial; |
56 |
void NewLine(void); |
void NewLine(void); |
57 |
CString OnOff(int value); |
CString OnOff(int value); |
58 |
void UpdateStatus(CString name, short value); |
void UpdateStatus(CString name, short value); |
59 |
|
void UpdateClient(void); |
60 |
|
afx_msg void OnBnClickedStop(); |
61 |
|
void TcpStatus(void); |
62 |
}; |
}; |