From 9129e4c0d558d1b903305b803fe8bb378066674e Mon Sep 17 00:00:00 2001 From: H Vs Date: Thu, 22 Aug 2024 09:52:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=81=E5=80=BC=E7=B3=BB=E6=95=B0=E5=88=86?= =?UTF-8?q?=E6=AF=8D=E5=8F=96=E8=BF=87=E6=BB=A4=E5=90=8E=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HealthMonitor.Service/Biz/db/TDengineService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HealthMonitor.Service/Biz/db/TDengineService.cs b/HealthMonitor.Service/Biz/db/TDengineService.cs index 6947bca..84db3c6 100644 --- a/HealthMonitor.Service/Biz/db/TDengineService.cs +++ b/HealthMonitor.Service/Biz/db/TDengineService.cs @@ -1164,8 +1164,8 @@ namespace HealthMonitor.Service.Biz.db if (map != null) { - statMaxValueFprCoefficient = (float)Math.Round((decimal)map.FetalHeartRateRange![1] / res.Max(), 3); - statMinValueFprCoefficient = (float)Math.Round((decimal)map.FetalHeartRateRange[0] / res.Min(), 3); + statMaxValueFprCoefficient = (float)Math.Round((decimal)map.FetalHeartRateRange![1] / closestToModeData.Max(), 3); + statMinValueFprCoefficient = (float)Math.Round((decimal)map.FetalHeartRateRange[0] / closestToModeData.Min(), 3); StatModeAvgFprCoefficient = (float)Math.Round((decimal)map.FetalHeartRateAverage / mode, 3); } }