补充初始化

This commit is contained in:
2025-11-25 17:30:36 +08:00
parent b4d684a84c
commit 4c686e6b57
6 changed files with 107 additions and 56 deletions

View File

@@ -39,7 +39,13 @@ namespace BLWLogProduce.Services
.Replace("{8}", df.WebUser)
.Replace("{9}", df.Energy)
.Replace("{10}", df.RCU_OE)
.Replace("{15}",df.WireShark_UDPCapCount);
.Replace("{15}", df.WireShark_UDPCapCount)
.Replace("{16}", df.Process_TH1.ToString())
.Replace("{17}", df.Process_TH2.ToString())
.Replace("{18}", df.Process_TH3.ToString())
.Replace("{19}", df.Process_TH4.ToString())
.Replace("{20}", df.Process_TH5.ToString())
.Replace("{21}", df.TotalErrorPackageReceiveCount);
int a = 0;
int b = 0;
@@ -65,6 +71,12 @@ namespace BLWLogProduce.Services
WanBuJianKong(NewStringData, "1.txt");
File.WriteAllText("2.txt", NewStringData, Encoding.UTF8);
Console.WriteLine("here");
WaiBuJianKong.data.Process_Error = 0;
WaiBuJianKong.data.Process_TH1 = 0;
WaiBuJianKong.data.Process_TH2 = 0;
WaiBuJianKong.data.Process_TH3 = 0;
WaiBuJianKong.data.Process_TH4 = 0;
WaiBuJianKong.data.Process_TH5 = 0;
}
catch (Exception ex)
{