#ifndef FAULTCHECK_TASK_H #define FAULTCHECK_TASK_H #ifdef __cplusplus /*C++编译环境下兼容C语言*/ extern "C" { #endif /*------ Exported includes(头文件) ----------------------*/ #include "main.h" #include "fault_cheak/fault_interface.h" /*------ Exported macro(宏定义) -------------------------*/ /*------ Exported struct(结构体定义) --------------------*/ //历史故障结构体 typedef struct { E_FAULT_SITE e_site; //故障位置 E_FAULT_INFO e_fault_info; //故障信息 Comm_Time s_occur_time; //发生时间 E_FAULT_TYPE ActType; //动作类型(0:复归;1:告警;2:故障) S16_T s16_value1; //动作测量值 - 如果有的话 S16_T s16_value2; //动作测量值 - 如果有的话 }HIS_FAULT_DATA_T; /*------ Exported variables(变量定义) -------------------*/ /*------ Exported function prototypes (函数声明) -------*/ void v_fault_task(void *argument); #ifdef __cplusplus } #endif #endif /* FAULTCHECK_TASK_H */