📄 stdafx.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__8D4F7A92_6800_42B2_9C3F_A56C91580F22__INCLUDED_)
#define AFX_STDAFX_H__8D4F7A92_6800_42B2_9C3F_A56C91580F22__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
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <windowsx.h>
#include "Helper.h"
#include "S1553CFB_dll.h"
#include "Message.h"
//defines
#define DoEvents() { \
MSG msg; \
if (PeekMessage(&msg, NULL, NULL, NULL, PM_REMOVE)) \
{ \
TranslateMessage(&msg); \
DispatchMessage(&msg); \
} \
}
#define CWM_BC_UPDATE (WM_USER+5)
#define CWM_RT_UPDATE (WM_USER+6)
#define CWM_MT_UPDATE (WM_USER+7)
#define CWM_PGB_DEXT (WM_USER+9)
//prototypes
typedef struct {
BOOL blBCOpen;
BOOL blBCRunning;
HWND hWndBC;
BOOL blRTOpen;
BOOL blRTRunning;
BOOL blRTRxOrTx;
HWND hWndRT;
BOOL blMTOpen;
BOOL blMTRunning;
HWND hWndMT;
} STRUCT_RUN_STATUS, *LPSTRUCT_RUN_STATUS;
typedef struct {
BOOL Rty_en;
BOOL DoubleTry;
RETRY_CHANNEL_SEL_STRUCT retrychannelconf;
RETRY_CASE_STRUCT retrycaseconf;
STATUS_SET_STRUCT statussetconf;
STOP_ON_ERR_STRUCT stoponerrconf;
BOOL Auto_rep;
DWORD Frm_gap_time;
DWORD Frm_repeat_times;
} STRUCT_BC_CONf, *LPSTRUCT_BC_CONF;
typedef struct {
BOOL isNeedTimeTag;
DWORD dwTimeOut;
}STRUCT_MISC_CONF;
typedef struct {
MT_CMD_FILTER_TABLE_STRUCT stFilterTable;
}STRUCT_MT_CONF;
typedef struct {
//STRUCT_RT_MSG rtMsg;
DWORD dwRTSel;
BOOL blRT_ClearTTagOnSync;
BOOL blRT_LoadTTagOnSync;
BOOL blEnIllCmdTable;
WORD wdVctWord[RT_ADDR_MAX];
WORD wdBitWord[RT_ADDR_MAX];
BOOL blEnIllRxData;
RT_Illegal_CMD_TABLE_STRUCT stIllCmdTable;
}STRUCT_RT_CONF;
extern STRUCT_RUN_STATUS g_RunStat;
extern STRUCT_BC_CONf g_BCConf;
extern STRUCT_MISC_CONF g_MiscConf;
extern STRUCT_MT_CONF g_MTConf;
extern STRUCT_RT_CONF g_RTConf;
extern HANDLE g_CardHandle;
extern BOOL g_BCRUN;
extern HANDLE g_ThreadHandle;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__8D4F7A92_6800_42B2_9C3F_A56C91580F22__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -