From dd4da9a651330fabe210618581299ac3536bda2f Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期六, 26 十月 2024 21:41:24 +0800
Subject: [PATCH] 修复下载问题

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/03-link/01-pipe/00-core/HydroPipeViewModel.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/03-link/01-pipe/00-core/HydroPipeViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/03-link/01-pipe/00-core/HydroPipeViewModel.cs
index 5e6bc79..150a49d 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/03-link/01-pipe/00-core/HydroPipeViewModel.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/03-link/01-pipe/00-core/HydroPipeViewModel.cs
@@ -17,7 +17,7 @@
         {
             this.Material = rhs.Material;
             this.Diameter = rhs.Diameter;
-            this.Length = rhs.Length;
+            this.Length = Math.Round(rhs.Length, 4);
             this.Roughness = rhs.Roughness;
             this.MinorLoss = rhs.MinorLoss;
 
@@ -31,7 +31,7 @@
         {
             this.Material = rhs.Material;
             this.Diameter = rhs.Diameter;
-            this.Length = rhs.Length;
+            this.Length = Math.Round(rhs.Length, 4);
             this.Roughness = rhs.Roughness;
             this.MinorLoss = rhs.MinorLoss;
 

--
Gitblit v1.9.3