⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stdafx.h

📁 《WinCE.NET嵌入式工业用控制器及自动控制系统设计》的源代码
💻 H
字号:
// stdafx.h : include file for standard system include files,
//  or project specific include files that are used frequently, but
//      are changed infrequently
//

#if !defined(AFX_STDAFX_H__A02F682B_34D5_4228_A928_A775176B5EC1__INCLUDED_)
#define AFX_STDAFX_H__A02F682B_34D5_4228_A928_A775176B5EC1__INCLUDED_

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



#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions

#if defined(_WIN32_WCE) && (_WIN32_WCE >= 211) && (_AFXDLL)
#include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
#endif

#include <afxcview.h>
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT

#include <afxsock.h>		// MFC socket extensions
//---------- add by Yeh --------------------------
#include <winsock.h>     // window socket
#include "WinCONSYS.h"   // TAG Define
#include "MBDLLTool.h"   // Modbus Driver DLL define
#include "WinCONSDK.h"   // WinCON 8000 SDK define

extern REGISTER_TAG   Reg;
extern COIL_TAG       Coil;
extern MODBUS_UNIT    MB_UNIT[MODBUS_MASTER_UNIT_MAX];
extern MODBUS_UNIT    MIX_UNIT[MIX_DISPLAY_CASE];
extern RS232C_PARA    MB_PORT; 
extern ICPDAS_IO_DEF  IO_DEF[I8024];
extern PARALLEL_IO    PARA_IO[SLOT_MAX_CASE];
extern AODO_OUTPUT QBUFF10[QUEUE_MAX_CASE];  
extern int  AODO_RD_INDEX,  AODO_WT_INDEX;
extern int CUR_COUNT;  // for reading AI delay count

// define for thread
typedef struct{
	HWND hWnd;  // Windows Handle for display data
	unsigned char *Para_1;  // parameter-1 pointer
	unsigned char *Para_2;  // parameter-2 pointer
	BOOL *lpKillThread;  // Thread flag for start/stop
} THREAD_INFO;

//--------------- end of add ---------------------- 

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

#endif // !defined(AFX_STDAFX_H__A02F682B_34D5_4228_A928_A775176B5EC1__INCLUDED_)

⌨️ 快捷键说明

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