浏览代码

增加日志

datasub12_fetal_heart_rate_1
H Vs 2 周前
父节点
当前提交
5ad3ad09c1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs

+ 1
- 0
HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs 查看文件

@@ -180,6 +180,7 @@ namespace HealthMonitor.Service.Resolver
var phr = daysPhr
.Where(p => p.LastUpdate <= heartRate.LastUpdate)
.ToList();
_logger.LogInformation($"{heartRate.Serialno} 当前数据在TD数据库:{phr.Select(i=>i.MessageId).Contains(heartRate.MessageId)}");
var nonFreqPhr = GetNonFreqPregnancyHeartRate(phr, highFreqSampleInterval);
if (nonFreqPhr.Count >= 30)
{


正在加载...
取消
保存