Sfoglia il codice sorgente

增加日志

datasub12_fetal_heart_rate_1
H Vs 2 settimane fa
parent
commit
5ad3ad09c1
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs

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

@@ -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)
{


Loading…
Annulla
Salva