云心电打印服务新增字段P和qrs时限

This commit is contained in:
lxd 2024-12-27 09:55:59 +08:00
parent f419a45561
commit 5c7d6bf7b4
3 changed files with 12 additions and 4 deletions

View File

@ -219,9 +219,12 @@ namespace _1200Gxml心电图绘制
pointF = new PointF(secondPoint, height + _freePixs * 5); pointF = new PointF(secondPoint, height + _freePixs * 5);
_ecgGraphics.DrawString(diagInfoList[3], font, brush, pointF); //RV5+SV1 _ecgGraphics.DrawString(diagInfoList[3], font, brush, pointF); //RV5+SV1
//第三排 //第三排
//pointF = new PointF(secondPoint + 550, height + _freePixs * 5); pointF = new PointF(secondPoint + 550, height);
//_ecgGraphics.DrawString(diagInfoList[3], font, brush, pointF); //RV5+SV1 _ecgGraphics.DrawString(diagInfoList[7], font, brush, pointF); //qrs
//第三排
pointF = new PointF(secondPoint + 550, height + _freePixs * 1);
_ecgGraphics.DrawString(diagInfoList[13], font, brush, pointF); //p
//_ecgGraphics.DrawLine(_pen, 0, height + _freePixs * 5 + 54, _ecgCanvas.Width, height + _freePixs * 5 + 54);//第二条横线 //_ecgGraphics.DrawLine(_pen, 0, height + _freePixs * 5 + 54, _ecgCanvas.Width, height + _freePixs * 5 + 54);//第二条横线
//if (ConfigHelper.IsPrintQuickResponse && File.Exists(Application.StartupPath + "\\wx.gif")) //if (ConfigHelper.IsPrintQuickResponse && File.Exists(Application.StartupPath + "\\wx.gif"))
@ -284,6 +287,9 @@ namespace _1200Gxml心电图绘制
point = new PointF(_ecgCanvas.Width - LeadLenght, _freePixs * (num + 12) + 65); point = new PointF(_ecgCanvas.Width - LeadLenght, _freePixs * (num + 12) + 65);
_ecgGraphics.DrawString(diagInfoList[3], font, brush, point); //RV5+SV1 _ecgGraphics.DrawString(diagInfoList[3], font, brush, point); //RV5+SV1
point = new PointF(_ecgCanvas.Width - LeadLenght, _freePixs * (num + 13) + 65);
_ecgGraphics.DrawString(diagInfoList[13], font, brush, point); //p
//_ecgGraphics.DrawLine(_pen, 0, _freePixs * 3 + 48, _ecgCanvas.Width, _freePixs * 3 + 48); //_ecgGraphics.DrawLine(_pen, 0, _freePixs * 3 + 48, _ecgCanvas.Width, _freePixs * 3 + 48);
//if (ConfigHelper.IsPrintQuickResponse && File.Exists(Application.StartupPath + "\\wx.gif")) //if (ConfigHelper.IsPrintQuickResponse && File.Exists(Application.StartupPath + "\\wx.gif"))

View File

@ -42,7 +42,8 @@ namespace 心电图绘制
public string filepath { get; set; } public string filepath { get; set; }
public string orgname { get; set; } public string orgname { get; set; }
public string ptimelimit { get; set; }
} }
} }

View File

@ -135,7 +135,7 @@ namespace 心电图绘制
cpew.InitEcgParameter(_ecgBitMap, _ecgDataDicAfterFilter, _isQiBo, _paperSpeed, _amplitude); cpew.InitEcgParameter(_ecgBitMap, _ecgDataDicAfterFilter, _isQiBo, _paperSpeed, _amplitude);
//************************************************************************ //************************************************************************
var ecgInfoList = new string[13]; var ecgInfoList = new string[14];
ecgInfoList[0] = "姓名:" + info.name;//姓名 ecgInfoList[0] = "姓名:" + info.name;//姓名
ecgInfoList[1] = "性别:" + info.gender; ecgInfoList[1] = "性别:" + info.gender;
ecgInfoList[2] = "年龄:" + info.age; ecgInfoList[2] = "年龄:" + info.age;
@ -149,6 +149,7 @@ namespace 心电图绘制
ecgInfoList[10] = "病室:" + info.ward; ecgInfoList[10] = "病室:" + info.ward;
ecgInfoList[11] = "床号"; ecgInfoList[11] = "床号";
ecgInfoList[12] = "住院号:" + info.regid; ecgInfoList[12] = "住院号:" + info.regid;
ecgInfoList[13] = "P波时限" + info.ptimelimit + " ms";
SetAandP(); //设置增益和走速 SetAandP(); //设置增益和走速
var diagContent = info.diagContent; var diagContent = info.diagContent;