Explorar el Código

调整

datasub12_fetal_heart_rate_0
H Vs hace 3 meses
padre
commit
dbc707e598
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      HealthMonitor.Service/Biz/db/TDengineService.cs

+ 1
- 1
HealthMonitor.Service/Biz/db/TDengineService.cs Ver fichero

@@ -1036,7 +1036,7 @@ namespace HealthMonitor.Service.Biz.db
// _logger.LogInformation($"{serialNo} 心率数据不足,无法计算其众数");
// return null;
//}
var listRes = filteredCollection.Select(i => new { last_update=i.LastUpdate,heart_rate=i.PregnancyHeartRate }).ToList();
var listRes = filteredCollection.Select(i => new { last_update=i.LastUpdate.ToString("yyyy-MM-dd HH:mm:ss"),heart_rate=i.PregnancyHeartRate }).ToList();
_logger.LogInformation($"highFreqSampleInterval:{highFreqSampleInterval},{serialNo} 去除高频数据后列表: {JsonConvert.SerializeObject(listRes)}");

_logger.LogInformation($"{serialNo} 去除高频数据后的数据集: " + string.Join(", ", res));


Cargando…
Cancelar
Guardar