plc_protocol_test.h

来自「本源代码演示了通过串口利用MPI协议与西门子PLC S7-300系统通讯的实现方」· C头文件 代码 · 共 50 行

H
50
字号
// PLC_Protocol_test.h : main header file for the PLC_PROTOCOL_TEST application
//

#if !defined(AFX_PLC_PROTOCOL_TEST_H__9FD386CC_6EDA_4B1D_A5D1_04B768208D22__INCLUDED_)
#define AFX_PLC_PROTOCOL_TEST_H__9FD386CC_6EDA_4B1D_A5D1_04B768208D22__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CPLC_Protocol_testApp:
// See PLC_Protocol_test.cpp for the implementation of this class
//

class CPLC_Protocol_testApp : public CWinApp
{
public:
	CPLC_Protocol_testApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPLC_Protocol_testApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CPLC_Protocol_testApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PLC_PROTOCOL_TEST_H__9FD386CC_6EDA_4B1D_A5D1_04B768208D22__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?