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/TankViewModel.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/TankViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/TankViewModel.cs index 7ed7abb..d3fcdf7 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/TankViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/TankViewModel.cs @@ -5,10 +5,10 @@ using System.Text; using System.Threading.Tasks; -namespace Hydro.MapView +namespace Yw.WinFrmUI.Q3d { [Serializable] - public class TankViewModel:NodeViewModel + public class TankViewModel : NodeViewModel { [Category("璁$畻鍙傛暟")] [DisplayName("鍒濆姘翠綅(m)")] @@ -55,7 +55,7 @@ public TankViewModel(string id, string elevation, string initlevel, string minlevel, string maxlevel, string diameter, string minvol, string volcurve, string overflow) { ID = id; - Elev = float.Parse(elevation); + Z = float.Parse(elevation); float d = 0; float.TryParse(initlevel, out d); InitLevel = d; @@ -75,7 +75,7 @@ { VolCurve = ""; Overflow = ""; - return $"{ID}\t{Elev}\t{InitLevel}\t{MinLevel}\t{MaxLevel}\t{Diameter}\t{MinVol}\t{VolCurve}\t{Overflow}\t;\t"; + return $"{ID}\t{Z}\t{InitLevel}\t{MinLevel}\t{MaxLevel}\t{Diameter}\t{MinVol}\t{VolCurve}\t{Overflow}\t;\t"; } } } -- Gitblit v1.9.3