From 56a0d27a28b841e4b7e6ac2230e0d89895c0aa90 Mon Sep 17 00:00:00 2001 From: H Vs Date: Fri, 23 Aug 2024 09:46:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=80=E5=A4=A7=E5=80=BC=E6=9C=80=E5=B0=8F?= =?UTF-8?q?=E5=80=BC=E4=B8=A4=E8=BE=B9=E6=89=A9=E6=95=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HealthMonitor.Service/Biz/db/TDengineService.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/HealthMonitor.Service/Biz/db/TDengineService.cs b/HealthMonitor.Service/Biz/db/TDengineService.cs index 81cb78e..98bb35c 100644 --- a/HealthMonitor.Service/Biz/db/TDengineService.cs +++ b/HealthMonitor.Service/Biz/db/TDengineService.cs @@ -1161,8 +1161,9 @@ namespace HealthMonitor.Service.Biz.db // minValue = 60; // maxValue = 100; //} - // 最小值不能少于60 - minValue = minValue < 60 ? 60 : minValue; + // 最大值最小值两边扩散 + // 最小值不能大于60 + minValue = minValue > 60 ? 60 : minValue; // 最大值不能少于100 maxValue= maxValue < 100 ? 100 : maxValue;