From 67abe8d2af8cf0a21d915ed62dcc4c738e9adcbc Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 30 八月 2024 18:39:00 +0800 Subject: [PATCH] 增加httpclient --- WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/TankViewModel.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 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..23a199d 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/TankViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Q3d.Core/MapView/Model/TankViewModel.cs @@ -5,7 +5,7 @@ using System.Text; using System.Threading.Tasks; -namespace Hydro.MapView +namespace Yw.WinFrmUI.Q3d { [Serializable] public class TankViewModel:NodeViewModel @@ -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