StdAfx.h 1.57 KB
// 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__BC94D060_2C36_43A8_BAA1_30E1771BCA95__INCLUDED_)
#define AFX_STDAFX_H__BC94D060_2C36_43A8_BAA1_30E1771BCA95__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 <string> 


#define MAX_PATH          260


typedef struct
{
	int aBandrate;
	char bcheck;
	char cdatabit;
	char dstopbit;
	char estreambit;	
}com_config_struct;
typedef struct
{
    short ary_myComPortEar[10];
    short ary_myComPortUsb[10];
    short int_myComPortDebug;
	com_config_struct com_config;
	BOOL if_same_sn;
	char SN_head[13];
	int SN_start;
	int SN_end;
	int SN_cur;
	int int_ResendTime;
	char g_pSetupFilepath[MAX_PATH];
	char g_pFilePathUsb[MAX_PATH];
	char g_pFilePathEar[MAX_PATH];
}app_main_data_struct;

extern app_main_data_struct g_AppMainData;



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

#endif // !defined(AFX_STDAFX_H__BC94D060_2C36_43A8_BAA1_30E1771BCA95__INCLUDED_)