📄 iomonitordlg.h
字号:
//{{AFX_INCLUDES()
#include "addin.h"
#include "daqdo.h"
//}}AFX_INCLUDES
#if !defined(AFX_IOMONITORDLG_H__1BE18BFF_22C1_4859_A8AB_672B9CC9DA87__INCLUDED_)
#define AFX_IOMONITORDLG_H__1BE18BFF_22C1_4859_A8AB_672B9CC9DA87__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// IOMonitorDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CIOMonitorDlg dialog
class CIOMonitorDlg : public CDialog
{
// Construction
public:
COLORREF ColorYellow;
COLORREF ColorWhite;
CBrush newbrush;
HBRUSH m_DlgbkColor;
CIOMonitorDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CIOMonitorDlg)
enum { IDD = IDD_IOMONITOR };
CButton m_Button1OnCtrl;
CButton m_Button2OnCtrl;
CButton m_Button3OnCtrl;
CButton m_Button4OnCtrl;
CButton m_Button5OnCtrl;
CButton m_Button8OnCtrl;
CButton m_Button6OnCtrl;
CButton m_Button7OnCtrl;
CButton m_Button8OffCtrl;
CButton m_Button7OffCtrl;
CButton m_Button6OffCtrl;
CButton m_Button5OffCtrl;
CButton m_Button4OffCtrl;
CButton m_Button3OffCtrl;
CButton m_Button2OffCtrl;
CButton m_Button1OffCtrl;
CListCtrl m_List1OutOn;
CListCtrl m_List2OutOn;
CListCtrl m_List3OutOn;
CListCtrl m_List4OutOn;
CListCtrl m_List5OutOn;
CListCtrl m_List6OutOn;
CListCtrl m_List7OutOn;
CListCtrl m_List8OutOn;
CListCtrl m_List8OutOff;
CListCtrl m_List7OutOff;
CListCtrl m_List6OutOff;
CListCtrl m_List5OutOff;
CListCtrl m_List4OutOff;
CListCtrl m_List3OutOff;
CListCtrl m_List2OutOff;
CListCtrl m_List1OutOff;
CListCtrl m_List1InOn;
CListCtrl m_List2InOn;
CListCtrl m_List3InOn;
CListCtrl m_List4InOn;
CListCtrl m_List5InOn;
CListCtrl m_List6InOn;
CListCtrl m_List7InOn;
CListCtrl m_List8InOn;
CListCtrl m_List8InOff;
CListCtrl m_List7InOff;
CListCtrl m_List6InOff;
CListCtrl m_List5InOff;
CListCtrl m_List4InOff;
CListCtrl m_List3InOff;
CListCtrl m_List2InOff;
CListCtrl m_List1InOff;
CAddin m_DAQDICtrl;
CDAQDO m_DAQDOCtrl;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CIOMonitorDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CIOMonitorDlg)
afx_msg void OnButton1off();
afx_msg void OnButton1on();
afx_msg void OnButton2on();
afx_msg void OnButton2off();
afx_msg void OnButton3on();
afx_msg void OnButton3off();
afx_msg void OnButton4on();
afx_msg void OnButton4off();
afx_msg void OnButton5on();
afx_msg void OnButton5off();
afx_msg void OnButton6on();
afx_msg void OnButton6off();
afx_msg void OnButton7on();
afx_msg void OnButton7off();
afx_msg void OnButton8on();
afx_msg void OnButton8off();
virtual BOOL OnInitDialog();
virtual void OnCancel();
afx_msg void OnStart();
afx_msg void OnOnBitScanDaqdictrl1(BOOL Data);
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_IOMONITORDLG_H__1BE18BFF_22C1_4859_A8AB_672B9CC9DA87__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -