Browse Source

调整日志

datasub12_fetal_heart_rate_0
H Vs 3 months ago
parent
commit
57c96fa544
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      HealthMonitor.WebApi/Worker.cs

+ 1
- 1
HealthMonitor.WebApi/Worker.cs View File

@@ -1074,7 +1074,7 @@ namespace HealthMonitor.WebApi
var isAbnormal = fetalHeartRate > upperAlarmThreshold ? 1 : (fetalHeartRate < lowerAlarmThreshold ? 2 : 0);
var phrFreqstatus = await _deviceCacheMgr.GetPregnancyHeartRateFreqStatusAsync(heartRate.Serialno);
if (phrFreqstatus == null) isAbnormal = 0;
var statsusDesc = (phrFreqstatus == null) ? "平常" : "高频";
var statsusDesc = (phrFreqstatus == null) ? $"MSG ID: {heartRate.MessageId} 平常" : "高频";
_logger.LogInformation($"{heartRate.Serialno} 在 {statsusDesc} 状态,生成胎心值:{fetalHeartRate},统计周期:{statStartTime.ToString("yyyy-MM-dd HH:mm:ss")}----{statEndTime.ToString("yyyy-MM-dd HH:mm:ss")}");
//if (!isFreq)
//{


Loading…
Cancel
Save