📄 motordlgpower.h
字号:
#if !defined(AFX_MOTORDLGPOWER_H__C7613F2F_0983_4324_889A_3D3639BBECA3__INCLUDED_)
#define AFX_MOTORDLGPOWER_H__C7613F2F_0983_4324_889A_3D3639BBECA3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MotorDlgPower.h : header file
//
#include "MotorCtrol.h"
// #include "DrawDlgPower.h"
//#define WM_TREEBAR_HIT WM_USER+1 //树型控件点击选项的消息
/////////////////////////////////////////////////////////////////////////////
// MotorDlgPower dialog
class MotorDlgPower : public CDialog
{
// Construction
public:
// DrawDlgPower pDrawDlgPower;
MotorDlgPower(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(MotorDlgPower)
enum { IDD = IDD_MOTORDIALOG_POWER };
CButton m_cModlgpowPti;
CButton m_cModlgpowPt;
CButton m_cModlgpowPs;
CComboBox m_cModlgpowDirect;
double m_dModlgpowSpeed;
//}}AFX_DATA
MotorCtrol motorpowerDlg;//电机控制类
int m_nModlgpowPs;//显示效率转速曲线
int m_nModlgpowPt;//显示效率扭矩曲线
int m_nModlgpowPti;//显示效率时间曲线
BOOL m_bSelfchekflag;//设备自检标志
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(MotorDlgPower)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(MotorDlgPower)
virtual BOOL OnInitDialog();
afx_msg void OnBumodlgpowInit();
afx_msg void OnBumodlgpowStart();
afx_msg void OnBumodlgpowStop();
afx_msg void OnBumodlgpowFinish();
afx_msg void OnRamodlgpowPs();
afx_msg void OnRamodlgpowPt();
afx_msg void OnRamodlgpowPti();
//}}AFX_MSG
//手动添加,效率试验中打开数据的消息响应函数
afx_msg void OnOpendata(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MOTORDLGPOWER_H__C7613F2F_0983_4324_889A_3D3639BBECA3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -