📄 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__813E59C9_AFDC_11D4_AC5A_00A0C98F0BDC__INCLUDED_)
#define AFX_STDAFX_H__813E59C9_AFDC_11D4_AC5A_00A0C98F0BDC__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 <ostream.h>
#include <fstream.h>
#include "crc16.h"
typedef struct _PortInfo{
int iReciveType;//接收类型:字符,十六进制
BOOL bReciveFile;//是否写入文件
CString stReciveFileName;//写入的文件名
int iSendType;//发送类型:字符,十六进制
BOOL bSendFile;//是从文件中发送
CString stSendFileName;//发送的文件名
BOOL bSendLine;//是否发送每行
BOOL bHaveCR;//是否含有回车换行符
UINT nUseTime; //是否定时发送
//以下为其参数
//UINT Port; //串口号
UINT Baud; //波特率
char Parity; //校验位
UINT DataBits; //数据位
char StopsBits[4]; //停顿位
DWORD dwCommEvents; //事件
UINT nBufferSize; //发送缓冲区大小;
}_PortInfo;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__813E59C9_AFDC_11D4_AC5A_00A0C98F0BDC__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -