📄 pcm3780dlg.h
字号:
// PCM3780Dlg.h : header file
//
#if !defined(AFX_PCM3780DLG_H__0382BDED_5EB6_434F_B704_C654C7ADC9C9__INCLUDED_)
#define AFX_PCM3780DLG_H__0382BDED_5EB6_434F_B704_C654C7ADC9C9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CPCM3780Dlg dialog
class CPCM3780Dlg : public CDialog
{
// Construction
public:
static UINT EventThread(LPVOID );
LONG m_lDeviceHandle;
char m_szErrMsg[80];
DWORD m_dwErrCde;
USHORT m_usMaxDIChan;
DWORD m_dwBordID;
USHORT m_usDIOProg;
CWinThread* pThreadObject;
DWORD dwStartTime,dwCurrentTime,dwTime;
DWORD dwEventCount[24];
DWORD dwEventFlag;
CPCM3780Dlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPCM3780Dlg)
enum { IDD = IDD_PCM3780_DIALOG };
CButton m_btnStop;
CButton m_btnStart;
CListCtrl m_ListInterrupt;
CStatic m_DeviceName;
CComboBox m_ComboPort;
DWORD m_Scantime;
CString m_DioData;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPCM3780Dlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPCM3780Dlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnBtseldev();
afx_msg void OnButtonexit();
afx_msg void OnButtonstart();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnItemchangedListintset(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtondisable();
afx_msg void OnDestroy();
afx_msg void OnButtonstop();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PCM3780DLG_H__0382BDED_5EB6_434F_B704_C654C7ADC9C9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -