📄 plcdlg.h
字号:
// plcDlg.h : header file
//
#include "Meter.h"
#include "HyperLink.h"
#include "plc2.h"
//{{AFX_INCLUDES()
#include "mscomm.h"
//}}AFX_INCLUDES
#if !defined(AFX_PLCDLG_H__3A24AFB0_60CD_4E6C_BA19_166FEE8C2B78__INCLUDED_)
#define AFX_PLCDLG_H__3A24AFB0_60CD_4E6C_BA19_166FEE8C2B78__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CPlcDlg dialog
class CPlcDlg : public CDialog
{
// Construction
public:
CPlc2 m_plc;
BOOL flag;
int m_event;
CPlcDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CPlcDlg)
enum { IDD = IDD_PLC_DIALOG };
CMeter m_add;
CMeter m_myMeter;
CMSComm m_Com;
int m_edit;
int m_nport;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPlcDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CPlcDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnOnCommMscomm1();
afx_msg void OnSelchangeCombo();
afx_msg void OnOpen();
afx_msg void OnClose();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnPort();
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_PLCDLG_H__3A24AFB0_60CD_4E6C_BA19_166FEE8C2B78__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -