Forráskód Böngészése

整理宏EV_CHZ_FG;

lch 6 hónapja
szülő
commit
70879e27bc

+ 0 - 3
dtu/dtu_main_t536/app/Appconfig.c

@@ -251,9 +251,6 @@ const SOE_DEF tAllSOE[]=
 	{0x44,		{0, 			0,			0}, 			"大电流闭锁重合闸"},	
 
 	{0x04,		{0,				0,			0},				"重合闸充电完成"},
-#ifdef EV_CHZ_FG
-	{0x04,		{0,				0,			0},				"重合闸复归"}, //202004
-#endif
 #ifdef FUN_CHZ_TOPEN
 	{0x04,		{0, 			0,			0}, 			"终止重合闸过程"}, 
 #endif

+ 0 - 3
dtu/dtu_main_t536/app/Appconfig.h

@@ -241,9 +241,6 @@ enum
 	EV_ARBS,					// 重合闸闭锁
 	EV_HI_CHZ_LOCK,				// 大电流闭锁重合闸
 	EV_ARCD,					// 重合闸充电标志
-#ifdef EV_CHZ_FG	
-	EV_ARFG,                    // 重合闸复归202004
-#endif	
 #ifdef FUN_CHZ_TOPEN
     EV_CHZ_TOPEN,              //重合闸开放时间到
 #endif

+ 12 - 20
dtu/dtu_main_t536/app/defineSys.h

@@ -30,7 +30,6 @@
 #define BHFA_YB_YK                     // 遥控保护和FA软压板投退
 #define BHFAGS_YB_YK                   // 保护、FA合goose软压板定值投退/SOE硬压板关联/遥控
 #define EV_GL_STATR                    // 过流启动SOE
-#define EV_CHZ_FG                      // 重合闸复归SOE
 #define DISP_CHZOKCHR_2_SW             // 重合闸确认时间+充电时间移到开关定值
 #define YX_DI_ERROR                    // 遥信硬件自检错误
 #define HISTORY_DB                     // 历史文件数据库
@@ -152,17 +151,7 @@
 // #define GOOSE_NETTYPE_SET   //goose网络类型设置
 
 //区分地区&客户个性化需求定义
- #ifdef GD_AREA_ZHONGSHAN	//中山局要求
- 	#ifdef __IEC61850_GOOSE_FUNC__
-		#define VER_NUM			 		3102          // 版本号3.102
-	#else
-		#define VER_NUM			 		4102          // 版本号4.102
-	#endif
-	#define GEN_QUEUE	
-	#define RCD_STRAN_M			/*录波传输*/
-	#define RCD_STRAN_S			/*录波传输*/
-
-#elif defined  GD_AREA_ECZD_2020    	//2020广东配网终端二次功能指导意见
+#if defined  GD_AREA_ECZD_2020    	//2020广东配网终端二次功能指导意见
 	#ifdef __IEC61850_GOOSE_FUNC__
 		#define VER_NUM 					29201			// 版本号29.201
 	#else
@@ -178,7 +167,17 @@
     #define YB_AUTO_SELECT	  // 在没配置硬压板的时自动选择软压板执行
     #define IEC_QDS_HAVE
 
-#elif defined  GD_AREA_ZHONGSHAN_2020	//中山局2020要求
+#else defined GD_AREA_ZHONGSHAN	//中山局要求
+ 	#ifdef __IEC61850_GOOSE_FUNC__
+		#define VER_NUM			 		3102          // 版本号3.102
+	#else
+		#define VER_NUM			 		4102          // 版本号4.102
+	#endif
+	#define GEN_QUEUE	
+	#define RCD_STRAN_M			/*录波传输*/
+	#define RCD_STRAN_S			/*录波传输*/
+
+#elif defined GD_AREA_ZHONGSHAN_2020	//中山局2020要求
 	#define VER_NUM 				    30103			// 版本号30.101->30.103
 	#define PUB_SET_SECTION
     #define ADD_DEBUG_RECORD_FUN    //增加调试记录功能选项
@@ -197,13 +196,6 @@
 	#endif
 #endif
 
-
-#if (VER_NUM>=24101)// 广东南网2020送检版本(GD_AREA_TEST_2020) 以后的版本都带以下功能
-	#ifndef EV_CHZ_FG
-		#define EV_CHZ_FG 			//重合闸复归SOE
-	#endif
-#endif
-
 #if (VER_NUM>=28101 && VER_NUM<50101)
 	#if (VER_NUM<29101)
 		#define ADD_FD_GL_FX_BH_FUN          //分段过流段内分相保护功能

+ 0 - 12
dtu/dtu_main_t536/app/reclose.c

@@ -432,12 +432,6 @@ static void AR_Start(int sw,DWORD  dStep)
 			pSW->sta.bFlag.bQDFG=true;						//整组复归时有效202004
 			soe_record_ev(EV_AR_START+sw*EV_SW_NUM, 1, 0,0,0);//重合启动SOE         
 			//rcd_start(sw,RECORD_TYPE_CHZ, RECORD_LEN_TZQD); 	//录波类型:跳闸类
-		#ifdef EV_CHZ_FG
-			if(soe_check(EV_ARFG+sw*EV_SW_NUM)==true) //202004
-			{			
-				soe_record_ev(EV_ARFG+sw*EV_SW_NUM, 0, 0,0,0);  // 重合闸复归				
-			}
-		#endif
 		}        
 	}
 	else
@@ -730,12 +724,6 @@ static void AR_Reset(int sw,DWORD  dStep)
 	bFD1 = pSW->tTCHOKTime.boolTrip;
 	if(bFD1)
 	{
-	#ifdef EV_CHZ_FG
-		if(soe_check(EV_ARFG+sw*EV_SW_NUM)==false)
-		{			
-			soe_record_ev(EV_ARFG+sw*EV_SW_NUM, 1, 0,0,0);  // 重合闸复归				
-		}
-	#endif
 		if(pR->tCHZ.wAR_ActTimes)
 			rt_printf_time("重合闸复归\r\n");		
 		pSW->sta.bFlag.bCHDZ=false;