|
|
|
@ -121,7 +121,7 @@ namespace Admin.Core.Tasks
|
|
|
|
|
record.PerfusionR = pressureR.ToString();
|
|
|
|
|
record.PerfusionL = pressureL.ToString();
|
|
|
|
|
record.PerfusionDuration = duration.ToString();
|
|
|
|
|
record.PerfusionResult =Convert.ToInt32(result);//灌注结果
|
|
|
|
|
record.PerfusionResult = (short)Convert.ToInt32(result);//灌注结果
|
|
|
|
|
|
|
|
|
|
var r = await _perfusionRecordServices.AddAsync(record);
|
|
|
|
|
if (r > 0)
|
|
|
|
@ -191,7 +191,7 @@ namespace Admin.Core.Tasks
|
|
|
|
|
}
|
|
|
|
|
Perfusion_Alarm alarm1 = new Perfusion_Alarm();
|
|
|
|
|
alarm1.PerfusionBoxcode = barCode;
|
|
|
|
|
alarm1.PerfusionStatus = alarm;
|
|
|
|
|
alarm1.PerfusionStatus = (short)alarm;
|
|
|
|
|
alarm1.PerfusionAlarm = alarmName;
|
|
|
|
|
alarm1.PerfusionCompleted = "1";//异常取消
|
|
|
|
|
await _perfusionAlarmServices.AddAsync(alarm1);
|
|
|
|
|