Explorar el Código

增加日志

datasub12_fetal_heart_rate_1
H Vs hace 2 semanas
padre
commit
5ad3ad09c1
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs

+ 1
- 0
HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs Ver fichero

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


Cargando…
Cancelar
Guardar