|
@@ -225,7 +225,7 @@ namespace HealthMonitor.Service.Resolver |
|
|
|
|
|
|
|
|
/// 在highFreqSampleTimes>0一直异常(大于等于triggerHighFreqLow,少于等于triggerHighFreqHig), |
|
|
/// 在highFreqSampleTimes>0一直异常(大于等于triggerHighFreqLow,少于等于triggerHighFreqHig), |
|
|
/// 取所有值的平均值,推送胎心数据到api/v1/open/OpenIot/SetFetalHeartRateConfig |
|
|
/// 取所有值的平均值,推送胎心数据到api/v1/open/OpenIot/SetFetalHeartRateConfig |
|
|
if (highFreqSampleTimes > 0 && heartRate.LastUpdate >= (phrFreqstatus?.LastUpdate + TimeSpan.FromSeconds(highFreqSampleTimes))) |
|
|
|
|
|
|
|
|
if (highFreqSampleTimes > 0 && heartRate.LastUpdate >= (phrFreqstatus?.LastUpdate.AddSeconds(highFreqSampleTimes))) |
|
|
{ |
|
|
{ |
|
|
var filterPhr = phr |
|
|
var filterPhr = phr |
|
|
.Where(i => i.LastUpdate >= phrFreqstatus?.LastUpdate); |
|
|
.Where(i => i.LastUpdate >= phrFreqstatus?.LastUpdate); |
|
|