新增Tesa star e测试功能。

This commit is contained in:
TAO Cheng
2013-12-05 18:16:31 +08:00
parent f5ce9cc087
commit 4632da1b05
14 changed files with 685 additions and 20 deletions
@@ -0,0 +1,37 @@
#pragma once
// TestTesaStarEDialog dialog
class TestTesaStarEDialog : public CDialog
{
DECLARE_DYNAMIC(TestTesaStarEDialog)
public:
TestTesaStarEDialog(CWnd* pParent = NULL); // standard constructor
virtual ~TestTesaStarEDialog();
// Dialog Data
enum { IDD = IDD_DIALOG_TESA_STAR_E };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
CEdit m_edMSG;
CString m_OutMessage;
CStatusBarCtrl m_StatusBar;
int m_SendType;
char m_RecvData[MAX_RECIEVE_BUFFER_SIZE];
public:
void OutputWithScroll(const CString &strNewText,CEdit &edtOutput);
afx_msg void OnBnClickedCancel();
afx_msg void OnEnKillfocusEditMoveT_Deg();
afx_msg void OnBnClickedButtonidcButtonTesaStarMoveto();
afx_msg void OnBnClickedButtonTesaStarStartMachine();
afx_msg void OnBnClickedButtonTesaStarStopMachine();
afx_msg void OnBnClickedButtonTesaStarSendmsg();
afx_msg void OnBnClickedButtonTesaStarClearLog();
};