www.pudn.com > IEC104_codeamaterial.rar > extios_l.h, change:2010-09-21,size:1031b


/*------------------------------------------------------------------------ 
 Module:		extios_l.h 
 Author:		solar 
 Project:		pas300m  
 Creation Date: 2005-11-18 
 Description:	 
------------------------------------------------------------------------*/ 
/*------------------------------------------------------------------------ 
 $Log: $ 
------------------------------------------------------------------------*/ 
 
#ifndef _EXTIOSL_H 
#define _EXTIOSL_H 
 
#include "syscfg.h" 
#include "pcol.h" 
 
#define MAX_CFGFILE_LEN   1024 
 
typedef struct{ 
    //char fname[MAXFILENAME]; 
	//DWORD bit; 
	WORD crc; 
}VCfgInfo;	 
 
typedef struct{	 
    BYTE cfgId; 
    DWORD cfgBit; 
	DWORD cfgPtr; 
	VCfgInfo cfgInfo[1]; 
}VDevInfo; 
 
typedef struct{ 
	VPcol Col;   /*必须在最前面*/ 
 
	VDevInfo DevInfo; 
	BYTE byBuf[MAX_CFGFILE_LEN]; 
 
	WORD wSoeNum; 
	BYTE bySoeCnt; 
 
	BYTE bySendType; 
	int nPkgNo; 
 
	BYTE byCnt;	 
	int nNoFrm; 
}VExtIoSL;	 
 
void extio_low_Init(int tid); 
void extios_low(VExtIoSL *pBus); 
 
#endif