Pārlūkot izejas kodu

整理宏GD_AREA_PROTECTOR;

lch 9 mēneši atpakaļ
vecāks
revīzija
749c1c68da

+ 0 - 10
dtu/dtu_main_t536/app/Sys.c

@@ -2399,10 +2399,6 @@ static void _yk_polling(void)
 */
 static void _equerr_check(void)
 {
-#ifdef GD_AREA_PROTECTOR
-	u32 sw=0;
-#endif
-	
 	//装置硬件故障
 	if(rt_err_count_hw()==0)  
 	{
@@ -2417,9 +2413,6 @@ static void _equerr_check(void)
 		{
 			soe_record_ev(EV_EQU_ERR_HW, 1, 0,0,0 );                 
 		}
-	#ifdef GD_AREA_PROTECTOR
-		sw_do(sw,SW_EQU_ERR,SW_DO_TYPE_ON);
-	#endif
 	}
 
 	//装置软件故障
@@ -2436,9 +2429,6 @@ static void _equerr_check(void)
 		{
 			soe_record_ev(EV_EQU_ERR_SW, 1, 0,0,0 );                 
 		}
-	#ifdef GD_AREA_PROTECTOR
-		sw_do(sw,SW_EQU_ERR,SW_DO_TYPE_ON);
-	#endif
 	}
 #ifdef __IEC61850_GOOSE_FUNC__
 	if(goose_get_init_flag() >0)

+ 0 - 4
dtu/dtu_main_t536/app/defineSys.h

@@ -109,7 +109,6 @@
 #define GD_AREA_MAIN_2020              // 广东标准版2020
 #define GD_AREA_ECZD_2020              // 2020广东配网终端二次功能指导意见
 #define GD_AREA_ZHONGSHAN_2020         // 中山局2020要求
-#define GD_AREA_PROTECTOR              // 分布式装置用作保护用
 #define GD_AREA_LIAONING_2021          // 辽宁供货程序(基于广东20年主线宏)
 #endif
 
@@ -184,9 +183,6 @@
 #elif defined GD_AREA_ZHUHAI_FTU	//珠海FTU
 	#define VER_NUM 				19101			// 版本号19.101
 
-#elif defined GD_AREA_PROTECTOR		//分布式装置用作保护用
-	#define VER_NUM 				24102			// 版本号24.102
-
 
 /********************************************************************************************************/
 /****************↓↓↓↓↓↓↓↓↓↓↓以下为广东20年主线宏相关地区(GD_AREA_MAIN_2020)↓↓↓↓↓↓↓↓↓↓↓*******************/

+ 0 - 4
dtu/dtu_main_t536/app/switch.c

@@ -150,10 +150,6 @@ const s8 * g_sw_do_name[SW_DO_NUM] =
     "开关失灵",
 #endif
 
-#ifdef GD_AREA_PROTECTOR
-	"装置异常告警动作",
-#endif
-
 };
 
 const s8 * g_sw_led_name[SW_LED_NUM]=

+ 0 - 4
dtu/dtu_main_t536/app/switch.h

@@ -145,10 +145,6 @@ enum
 	SW_DO_UNSTUCK_SINGLE,
 #endif
 
-#ifdef GD_AREA_PROTECTOR
-	SW_EQU_ERR,
-#endif
-
 	SW_DO_NUM
 };