--- trunk/H7 Server/H7 ServerDlg.h 2007/01/31 12:40:37 27 +++ trunk/H7 Server/H7 ServerDlg.h 2007/01/31 12:42:51 28 @@ -4,6 +4,7 @@ #pragma once #include "afxwin.h" #include "TcpServerClass.h" +#include "H7Serial.h" // CH7ServerDlg dialog class CH7ServerDlg : public CDialog @@ -18,6 +19,7 @@ protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + // Implementation protected: @@ -37,6 +39,7 @@ CButton m_Stop; CEdit m_Port; int m_Start; + CH7Serial H7Serial; CButton m_Restart; afx_msg void OnBnClickedStart(); int StartTcp(void); @@ -44,4 +47,7 @@ afx_msg void OnBnClickedRestart(); bool ServerInit(void); int StartSerial(void); + void NewLine(void); + CString OnOff(int value); + void UpdateStatus(CString name, short value); };