From 772e6760f2d25a771fe314135d53d1e72373aab7 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期一, 17 二月 2025 18:09:02 +0800 Subject: [PATCH] 增加报告Chart --- WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/FactoryList.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/FactoryList.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/FactoryList.cs index 7ead92b..bf713d8 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/FactoryList.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/FactoryList.cs @@ -5,11 +5,11 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using static Yw.WinFrmUI.Q3d.ObjectEnum; -using static Yw.WinFrmUI.Q3d.MapViewEnum; using System.Windows.Forms; using Yw.WinFrmUI.Q3d; using Yw.WinFrmUI.Q3d; +using static Yw.WinFrmUI.Q3d.MapViewEnum; +using static Yw.WinFrmUI.Q3d.ObjectEnum; namespace Yw.WinFrmUI.Q3d { @@ -162,7 +162,7 @@ // 璇诲彇姘存车淇℃伅 var pumpType = (PumpType)Enum.Parse(typeof(PumpType), fields[1]); var pumpName = fields[2]; - currentPump = new PumpViewModel { Name = pumpName, Type = pumpType, 棰濆畾杞�� = double.Parse(fields[3]), 棰濆畾娴侀噺 = double.Parse(fields[4]), 棰濆畾鎵▼ = double.Parse(fields[5]), 棰濆畾鍔熺巼 = fields.Length > 6 ? double.Parse(fields[6]) : 75, 褰撳墠杞�� = fields.Length > 7 ? double.Parse(fields[7]) : 1500 }; + currentPump = new PumpViewModel { Name = pumpName, Type = pumpType, 棰濆畾杞�� = double.Parse(fields[3]), 棰濆畾娴侀噺 = double.Parse(fields[4]), 棰濆畾鎵▼ = double.Parse(fields[5]), 棰濆畾鍔熺巼 = fields.Length > 6 ? double.Parse(fields[6]) : 75, 褰撳墠杞�� = fields.Length > 7 ? double.Parse(fields[7]) : 1500 }; currentFactory.Pumps.Add(currentPump); currentDataset = null; -- Gitblit v1.9.3