📄 dlgpara.h
字号:
#if !defined(AFX_DLGPARA_H__DF594B55_655E_11D5_9715_CFC02EA52653__INCLUDED_)
#define AFX_DLGPARA_H__DF594B55_655E_11D5_9715_CFC02EA52653__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgPara.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgPara dialog
class CDlgPara : public CDialog
{
// Construction
public:
CDlgPara(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDlgPara)
enum { IDD = IDD_PARA };
BOOL m_bCurrentPID;
double m_Kcor;
double m_Kcorn;
double m_Ki;
double m_Kin;
double m_Kpi;
double m_Kpin;
int m_n;
BOOL m_bSpeedGiven;
BOOL m_bSpeedPID;
//}}AFX_DATA
BOOL CreateModelessDlg();
HANDLE hCom;
unsigned char x1[8];
unsigned char x2[8];
unsigned char x3[2];
int i;
unsigned char BufferIn[128];// CAboutDlg dialog used for App About
void CreateComm2();
void WaitData(unsigned char *BufferIn,int Count,DWORD ms);
void WriteData(unsigned char *BufferOut,int Count);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgPara)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDlgPara)
afx_msg void OnSent();
afx_msg void OnSentcircle();
afx_msg void OnTimer(UINT nIDEvent);
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGPARA_H__DF594B55_655E_11D5_9715_CFC02EA52653__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -