SSPC-Tester/Driver/急停报警相关资料/PCI2312 Samples/VC/Advanced/StdAfx.h

61 lines
1.6 KiB
C
Raw Normal View History

// 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__D485DEFF_85AB_11D1_B878_A68EB300DD63__INCLUDED_)
#define AFX_STDAFX_H__D485DEFF_85AB_11D1_B878_A68EB300DD63__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 <afxcview.h>
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
/////////////////////////////////
// <20>û<EFBFBD><C3BB><EFBFBD><EFBFBD>Ӳ<EFBFBD><D3B2><EFBFBD>
#include "PCI2312.h" // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿ<EFBFBD>
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڿ<EFBFBD><DABF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̵ij<CCB5><C4B3><EFBFBD>
#define LSB_COUNT 4096.0 // LSB<53><42><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define LSB_HALF 2048 // <20><>ȡƫ<C8A1><C6AB><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD>ԭ<EFBFBD><D4AD>λ<EFBFBD><CEBB>
#define VOLT_RANGE 10000.0 // <20><><EFBFBD>̣<EFBFBD>mV<6D><56><><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>С<EFBFBD><D0A1>)
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#define DeviceName "PCI2312" // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E8B1B8>
#define MAX_FREQUENCE 110000 // <20><><EFBFBD><EFBFBD>Ƶ<EFBFBD><C6B5>
#define MAX_SEGMENT 32
typedef struct _FILE_HEADER
{
int VenderID;
UINT FirstChannel;
UINT LastChannel;
UINT TimerFrequence;
DWORD Frequence;
char CardType[100];
} FILE_HEADER, *PFILE_HEADER;
/////////////////////////////////
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__D485DEFF_85AB_11D1_B878_A68EB300DD63__INCLUDED_)