|
|
@@ -254,7 +254,8 @@ namespace HealthMonitor.Service.Resolver |
|
|
|
//_logger.LogInformation($"{heartRate.Serialno} 设置 stopHighFreqSampleCount {stopHighFreqSampleCount}"); |
|
|
|
|
|
|
|
//var lastPhr = phr.OrderByDescending(i => i.LastUpdate).Take(stopHighFreqSampleCount).ToList(); |
|
|
|
var lastPhr = phr.Where(i=>i.LastUpdate>= phrFreqstatus!.LastUpdate).Take(stopHighFreqSampleCount).ToList(); |
|
|
|
var lastPhr = phr.Where(i=>i.LastUpdate>= phrFreqstatus!.LastUpdate) |
|
|
|
.OrderByDescending(i => i.LastUpdate).Take(stopHighFreqSampleCount).ToList(); |
|
|
|
|
|
|
|
// 检查是否连续12个值都是正常的 |
|
|
|
if (lastPhr.Count >= stopHighFreqSampleCount && |
|
|
|