From b6da0632c9704414934df0817386976eca1548a2 Mon Sep 17 00:00:00 2001
From: qin <a@163.com>
Date: 星期五, 21 三月 2025 14:57:32 +0800
Subject: [PATCH] 数据分析优化

---
 WinFrmUI/IBox.WinFrmUI/Form/IBoxFormEnergyAnalysis.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormEnergyAnalysis.cs b/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormEnergyAnalysis.cs
index 1b1d9f3..f0ba076 100644
--- a/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormEnergyAnalysis.cs
+++ b/WinFrmUI/IBox.WinFrmUI/Form/IBoxFormEnergyAnalysis.cs
@@ -106,7 +106,7 @@
             {
                 if (IBoxHelper.Ping())
                 {
-                    var smsg = content.Split(new string[] { IBoxHelper.paramCode }, StringSplitOptions.RemoveEmptyEntries);
+                    var smsg = content.Split(new string[] { IBoxHelper.paramCode,IBoxHelper.startCode }, StringSplitOptions.RemoveEmptyEntries);
                     if (smsg.Length < 2)
                     {
                         return;

--
Gitblit v1.9.3