LingxinMeng 7 сар өмнө
parent
commit
70b8452b33

+ 3 - 2
aarch64/pjisuv/master/service/produce_window.go

@@ -1988,8 +1988,10 @@ func ProduceWindow() {
 								for _, f := range masterConfig.RuleOfFaultInfo1 {
 									faultLabel = f(data)
 									if faultLabel != "" {
+										for _, infoVec := range data.InfoVec {
+											c_log.GlobalLogger.Info("接收到故障码:", infoVec.ErrorCode)
+										}
 										saveTimeWindow(faultLabel, faultHappenTime, lastTimeWindow)
-
 										subscribersTimes[i] = time.Now()
 										goto TriggerSuccess
 									}
@@ -2077,7 +2079,6 @@ func ProduceWindow() {
 									faultLabel = f(data)
 									if faultLabel != "" {
 										saveTimeWindow(faultLabel, faultHappenTime, lastTimeWindow)
-
 										subscribersTimes[i] = time.Now()
 										goto TriggerSuccess
 									}