From 52cda933311188185c49705562c9bffe24a15be7 Mon Sep 17 00:00:00 2001 From: H Vs Date: Wed, 20 Nov 2024 10:07:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HealthMonitor.Service/Biz/db/TDengineService.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/HealthMonitor.Service/Biz/db/TDengineService.cs b/HealthMonitor.Service/Biz/db/TDengineService.cs index a7521c1..e3038a4 100644 --- a/HealthMonitor.Service/Biz/db/TDengineService.cs +++ b/HealthMonitor.Service/Biz/db/TDengineService.cs @@ -582,18 +582,18 @@ namespace HealthMonitor.Service.Biz.db .OrderByDescending(i => i.SystolicValue) .ThenByDescending(i => i.DiastolicValue) .ToList(); - _logger.LogInformation($"计算时间段排列数据集:{JsonConvert.SerializeObject(sortedList)}"); + //_logger.LogInformation($"计算时间段排列数据集:{JsonConvert.SerializeObject(sortedList)}"); // 去除最大值和最小值各一个(列表的头和尾) var trimmedList = sortedList? .Skip(1) .Take(sortedList.Count - 2) .ToList(); - _logger.LogInformation($"计算去除最大值和最小值各一个数据集:{JsonConvert.SerializeObject(trimmedList)}"); + //_logger.LogInformation($"计算去除最大值和最小值各一个数据集:{JsonConvert.SerializeObject(trimmedList)}"); // 去除异常值 var filteredList = trimmedList?.Where(bp => bp.SystolicValue < SafeType.SafeInt(systolicRefValue!)).ToList(); - _logger.LogInformation($"计算除异常值个数据集:{JsonConvert.SerializeObject(filteredList)}"); + //_logger.LogInformation($"计算除异常值个数据集:{JsonConvert.SerializeObject(filteredList)}"); if (filteredList?.Count < 2) { @@ -620,18 +620,18 @@ namespace HealthMonitor.Service.Biz.db .OrderByDescending(i => i.SystolicValue) .ThenByDescending(i => i.DiastolicValue) .ToList(); - _logger.LogInformation($"计算时间段排列数据集:{JsonConvert.SerializeObject(sortedList)}"); + //_logger.LogInformation($"计算时间段排列数据集:{JsonConvert.SerializeObject(sortedList)}"); // 去除最大值和最小值各一个(列表的头和尾) var trimmedList = sortedList? .Skip(1) .Take(sortedList.Count - 2) .ToList(); - _logger.LogInformation($"计算去除最大值和最小值各一个数据集:{JsonConvert.SerializeObject(trimmedList)}"); + //_logger.LogInformation($"计算去除最大值和最小值各一个数据集:{JsonConvert.SerializeObject(trimmedList)}"); var filteredList = trimmedList?.ToList(); - _logger.LogInformation($"计算除异常值个数据集:{JsonConvert.SerializeObject(filteredList)}"); + //_logger.LogInformation($"计算除异常值个数据集:{JsonConvert.SerializeObject(filteredList)}"); if (filteredList?.Count < 2) {