From 0f99d4d12f2eae29bbe343f4b3131f2faeccda5d Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期二, 14 一月 2025 17:31:20 +0800
Subject: [PATCH] 泵曲线修改

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroSinglePumpListItemExtendViewModel.cs |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroSinglePumpListItemExtendViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroSinglePumpListItemExtendViewModel.cs
index 3aa0f9a..0f8ee42 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroSinglePumpListItemExtendViewModel.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroSinglePumpListItemExtendViewModel.cs
@@ -66,11 +66,7 @@
                 {
                     return default;
                 }
-                if (!this.Vmo.RatedN.HasValue)
-                {
-                    return default;
-                }
-                return Math.Round(this.Hz / this.Vmo.RatedHz * this.Vmo.RatedN.Value, 1);
+                return Math.Round(this.Hz / this.Vmo.RatedHz * this.Vmo.RatedN, 1);
             }
         }
 

--
Gitblit v1.9.3