浏览代码

调整时间

datasub12_fetal_heart_rate_0
H Vs 3 个月前
父节点
当前提交
e578a5023d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs

+ 1
- 1
HealthMonitor.Service/Resolver/PregnancyHeartRateResolver.cs 查看文件

@@ -225,7 +225,7 @@ namespace HealthMonitor.Service.Resolver

/// 在highFreqSampleTimes>0一直异常(大于等于triggerHighFreqLow,少于等于triggerHighFreqHig),
/// 取所有值的平均值,推送胎心数据到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
.Where(i => i.LastUpdate >= phrFreqstatus?.LastUpdate);


正在加载...
取消
保存