📄 dcmot.h
字号:
#if !defined(AFX_DCMOT_H__391C3B75_D934_453D_98F6_589FC57002B2__INCLUDED_)
#define AFX_DCMOT_H__391C3B75_D934_453D_98F6_589FC57002B2__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Dcmot.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// Dcmot dialog
class Dcmot : public CDialog
{
// Construction
public:
void dianji1();
int d0;
int flagt0;
void dianji();
HANDLE hDevice1;
HANDLE hDevice;
Dcmot(CWnd* pParent = NULL); // standard constructor
struct pci_cfg
{
DWORD MemBase;
DWORD MemLength;
WORD IOBase[2];
WORD IOPortLength[2];
BYTE IRQ;
BYTE DMA;
}*pci;
pci_cfg* m_p;
struct Write_AD
{
ULONG Address;
UCHAR Data;
};
struct Write_AD* W_AD;
DWORD nRet;
HANDLE hEvent;
// Dialog Data
//{{AFX_DATA(Dcmot)
enum { IDD = IDD_DIALOG27 };
float m_inputvolt;
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Dcmot)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
// Generated message map functions
//{{AFX_MSG(Dcmot)
// NOTE: the ClassWizard will add member functions here
virtual BOOL OnInitDialog();
afx_msg void OnButton1();
virtual void OnCancel();
afx_msg void OnTimer(UINT nIDEvent);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DCMOT_H__391C3B75_D934_453D_98F6_589FC57002B2__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -