#ifndef DCM_APP_CFG_H #define DCM_APP_CFG_H /****************************************************************************** * Description: : Include File Section ******************************************************************************/ #include "_Types.h" #include "Dcm_DID.h" #include "CanTp.h" //#include "FCC_Programing.h" //#include "eel.h" #include "Dcm_Key.h" #include "DCM_DTC.h" /****************************************************************************** * Description: : Macro Description Section ******************************************************************************/ //#define DCM_19SUPDTCEXTDATARECORD_COUNT (4U) /* 19 06支持的DTCExtDataRecord 参数个数 */ //#define DCM_SUPDTC_COUNT ( 15U ) /* 产品支持的DTC个数 */ /****************************************************************************** * Description: : Structure Type Declaration Section ******************************************************************************/ /*结构类型typedef定义*/ /*响应类型*/ typedef enum { CeDcm_e_ResultNegRsp =0, CeDcm_e_ResultPosRsp, CeDcm_e_ResultNoRsp }TeDcm_h_ResultType; //typedef uint8 (*ReportDTCExtDataFun)(uint8* LeDemDtcNum,uint8 LeDemParameter,uint8* LeDemDataRecord); /*19 06 服务支持的 DTCExtDataRecordNumber 列表结构体*/ //typedef struct //{ // uint8 DTCExtDataRecordNumber; /*扩展数据number*/ // ReportDTCExtDataFun Function; /*扩展数据number 对应函数的处理函数*/ //}DTCExtDataRecordType; // //typedef struct //{ // uint8 DtcHigh; /*DTC 高字节*/ // uint8 DtcMiddle; /*DTC 中间字节*/ // uint8 DtcLow; /*DTC 低字节*/ //}TsDcm_h_DtcGroupType; /****************************************************************************** * Description: : Global Variable Declaration Section ******************************************************************************/ //extern const TsDcm_h_DtcGroupType CaDcm_u_DtcTable[DCM_SUPDTC_COUNT]; //extern const DTCExtDataRecordType CaDcm_h_19DTCExtDataRecordTable[DCM_19SUPDTCEXTDATARECORD_COUNT]; #endif