Browse Source

增加日志

datasub12_fetal_heart_rate_1
H Vs 2 weeks ago
parent
commit
5ad3ad09c1
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs

+ 1
- 0
HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs View File

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


Loading…
Cancel
Save