拖拽断点问题 氧饱和度超出范围问题

术前绑定影像结论 复制粘贴
术前访视单回写ASA分级
CORN术中获得性压力性损伤风险评估量表分数计算
参数控制麻醉记录单用药线粗细 左侧药品名称大小
手术医生字母排序
This commit is contained in:
leomon 2023-05-02 12:05:22 +08:00
parent b8834330f9
commit 96c82888bb
32 changed files with 2371 additions and 616 deletions

View File

@ -31,7 +31,7 @@ namespace DataDictionary.UI
cboDosageUnit.DisplayMember = "Name";
cboDosageUnit.ValueMember = "Name";
cboDosageUnit.SelectedIndex = -1;
List<BasicDictionary> _channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径").SubItem;
List<BasicDictionary> _channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径","asc").SubItem;
_channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
txtChannel.DataSource = _channelList;
txtChannel.DisplayMember = "Name";

View File

@ -139,7 +139,7 @@ namespace AIMS.PublicUI.UI
{
if (ControlExtension._channelList == null)
{
ControlExtension._channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径").SubItem;
ControlExtension._channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径", "asc").SubItem;
ControlExtension._channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
ControlExtension._drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
ControlExtension._drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
@ -378,23 +378,24 @@ namespace AIMS.PublicUI.UI
if (_dataGridView.Rows.Count != 0 && _dataGridView.Rows[_dataGridView.Rows.Count - 1].Cells[3].EditedFormattedValue.ToString() == "")
{
_dataGridView.Rows.Insert(_dataGridView.Rows.Count - 1, dr);
if (dr.Cells[10].EditedFormattedValue.ToString() == "")
{
_dataGridView.CurrentCell = dr.Cells[10];
_dataGridView.BeginEdit(true);
}
}
else
{
_dataGridView.Rows.Add(dr);
if (dr.Cells[10].EditedFormattedValue.ToString() == "")
}
if (dr.Cells[5].EditedFormattedValue.ToString() == "吸入")
{
dr.Cells[7].Value = "%";//备注名称
_dataGridView.CurrentCell = dr.Cells[6];
_dataGridView.BeginEdit(true);
}
else if (dr.Cells[10].EditedFormattedValue.ToString() == "")
{
_dataGridView.CurrentCell = dr.Cells[10];
_dataGridView.BeginEdit(true);
}
}
}
}
/// <summary>
/// 向DataGridView填充入量数据
@ -758,8 +759,13 @@ namespace AIMS.PublicUI.UI
if (e.ColumnIndex == 8)
{
if (_dataGridView.CurrentCell == null || _dataGridView.CurrentRow.Cells[8].EditedFormattedValue.ToString() == "") return;
if (_dataGridView.CurrentRow.Cells[9].EditedFormattedValue.ToString() == "") _dataGridView.CurrentRow.Cells[9].Value = 85;
_dataGridView.CurrentRow.Cells[11].Value = null;
if (_dataGridView.CurrentRow.Cells[9].EditedFormattedValue.ToString() == "") _dataGridView.CurrentRow.Cells[9].Value = "ml/h";
//_dataGridView.CurrentRow.Cells[11].Value = null;
}
else if (e.ColumnIndex == 6)
{
if (_dataGridView.CurrentCell == null || _dataGridView.CurrentRow.Cells[6].EditedFormattedValue.ToString() == "") return;
if (_dataGridView.CurrentRow.Cells[7].EditedFormattedValue.ToString() == "") _dataGridView.CurrentRow.Cells[7].Value = "%";
}
}
/// <summary>
@ -1528,7 +1534,6 @@ namespace AIMS.PublicUI.UI
_dataGridView.CurrentRow.Cells[3].Tag = int.Parse(dgvYP.Rows[index].Cells["id"].Value.ToString());
_dataGridView.CurrentRow.Cells[3].Value = dgvYP.Rows[index].Cells["DrugName"].Value.ToString();//药品名称
_dataGridView.CurrentRow.Cells[11].Value = dgvYP.Rows[index].Cells["DoseUnit"].Value.ToString().Trim(); ;//备注名称
_dataGridView.CurrentRow.Cells[4].Value = dgvYP.Rows[index].Cells["Remark"].Value.ToString();
_dataGridView.CurrentRow.Cells[5].Value = dgvYP.Rows[index].Cells["Channel"].Value.ToString();
if (_dataGridView.CurrentRow.Cells[2].Value.ToString() == "血液制品")
@ -1539,6 +1544,10 @@ namespace AIMS.PublicUI.UI
{
_dataGridView.CurrentRow.Cells[12].ReadOnly = true;//血型
}
if (dgvYP.Rows[index].Cells["Channel"].Value.ToString() == "吸入")
_dataGridView.CurrentRow.Cells[7].Value = "%";//备注名称
else
_dataGridView.CurrentRow.Cells[11].Value = dgvYP.Rows[index].Cells["DoseUnit"].Value.ToString().Trim(); ;//备注名称
// if (dgvYP.Rows[index].Cells["DosageUnit"].Value.ToString() != "")
//{
// _dataGridView.CurrentRow.Cells[11].Value = BBasicDictionary.GetDrugsUntiIdByUnitName(dgvYP.Rows[index].Cells["DosageUnit"].Value.ToString().Trim());
@ -1554,6 +1563,9 @@ namespace AIMS.PublicUI.UI
index = 0;
dgvYP.Visible = false;
AddNewNullRows();
if (dgvYP.Rows[index].Cells["Channel"].Value.ToString() == "吸入")
_dataGridView.CurrentCell = _dataGridView.CurrentRow.Cells[6];
else
_dataGridView.CurrentCell = _dataGridView.CurrentRow.Cells[10];
_dataGridView.BeginEdit(false);
}

View File

@ -221,6 +221,7 @@ namespace AIMS.PublicUI.UI
this.dgvEvents.CurrentCellDirtyStateChanged += new System.EventHandler(this.dgvEvents_CurrentCellDirtyStateChanged);
this.dgvEvents.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvEvents_DataError);
this.dgvEvents.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgvEvents_EditingControlShowing);
this.dgvEvents.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvEvents_RowsAdded);
//
// TypeName
//

View File

@ -282,12 +282,29 @@ namespace AIMS.PublicUI.UI
//判断如果事件名称列内容发生变化时(输入关键字),设置显示查询结果的控件的位置及内容
if (dgvEvents.CurrentCell != null && dgvEvents.CurrentCell.Tag != null && dgvEvents.CurrentCell.ColumnIndex == 1)
{
if ("5660,61,154,10,11".Contains(dgvEvents.CurrentCell.Tag.ToString())) return;
//if ("5660,61,154,10,11".Contains(dgvEvents.CurrentCell.Tag.ToString())) return;
if (dgvEvents.CurrentCell.Tag != null && BEvents.SelectSingle(int.Parse(dgvEvents.CurrentCell.Tag.ToString())).Name != dgvEvents.CurrentCell.Value.ToString())
{
dgvEvents.CurrentCell.Tag = null;
}
}
if ( dgvEvents.CurrentCell.ColumnIndex == 1)
{
if (dgvEvents.Rows[e.RowIndex].Cells["BeginTime"].EditedFormattedValue.ToString() == "")
{
dgvEvents.Rows[e.RowIndex].Cells["BeginTime"].Value = DateTime.Now.ToString("yyyy-MM-dd HH:mm");//默认当前时间‘
TimeSpan tsp = DateTime.Now - _record.InRoomTime.Value;
if (tsp.TotalHours > 12)
{
DateTime begindate = new DateTime(_record.InRoomTime.Value.Year, _record.InRoomTime.Value.Month, _record.InRoomTime.Value.Day, DateTime.Now.Hour, DateTime.Now.Minute, 0);
if (begindate > _record.InRoomTime.Value)
{
begindate = DateTime.Now;
}
dgvEvents.Rows[e.RowIndex].Cells["BeginTime"].Value = begindate;
}
}
}
//if (dgvEvents.CurrentCell != null && dgvEvents.CurrentCell.ColumnIndex == 2 )
//{
// DataGridViewCell s = dgvEvents.CurrentCell as DataGridViewCell;
@ -333,58 +350,6 @@ namespace AIMS.PublicUI.UI
}
}
}
private bool ValidTimeTxt(string dgvTimeTxt, ref string message)
{
bool k = true;
if (dgvTimeTxt == "")
{
return k;
}
if (!dgvTimeTxt.Contains("-") || !dgvTimeTxt.Contains(":") || !dgvTimeTxt.Contains(" "))
{
return false;
}
if (dgvTimeTxt.IndexOf("-") < 1 || dgvTimeTxt.IndexOf(":") < 1 || dgvTimeTxt.IndexOf(" ") < 1)
{
return false;
}
try
{
string[] ym = dgvTimeTxt.Split(' ');
string[] sym = ym[0].Split('-');
string[] hm = ym[1].Split(':');
int month = Convert.ToInt16(sym[0]);
int day = Convert.ToInt16(sym[1]);
int hh = Convert.ToInt16(hm[0]);
int mm = Convert.ToInt16(hm[1]);
if (month > 12 || month < 0)
{
k = false;
message = "请填写正确的月份1-12";
}
if (day > 31 || day < 0)
{
k = false;
message = "请填写正确的日期1-31";
}
if (hh > 23 || hh < 0)
{
k = false;
message = "请填写正确的小时0-23";
}
if (mm > 59 || hh < 0)
{
k = false;
message = "请填写正确的小时0-59";
}
}
catch
{
k = false;
}
return k;
}
private void btnDelete_Click(object sender, EventArgs e)
{
if (dgvEvents.CurrentRow != null && dgvEvents.CurrentRow.Tag != null)
@ -402,7 +367,7 @@ namespace AIMS.PublicUI.UI
{
b = true;
}
if (objectName=="插管" || objectName=="拔管"|| objectName=="喉罩")
if (objectName == "插管" || objectName == "拔管" || objectName == "喉罩")
{
b = false;
}
@ -440,6 +405,13 @@ namespace AIMS.PublicUI.UI
}
//}
}
else
{
if (dgvEvents.CurrentRow.Cells["EventName"].Value != null)
{
dgvEvents.Rows.Remove(dgvEvents.CurrentRow);
}
}
}
private void btnSave_Click(object sender, EventArgs e)
@ -924,6 +896,24 @@ namespace AIMS.PublicUI.UI
}
}
}
private void dgvEvents_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e)
{
//if (dgvEvents.Rows[e.RowIndex].Cells["BeginTime"].EditedFormattedValue.ToString() == "")
//{
// dgvEvents.Rows[e.RowIndex].Cells["BeginTime"].Value = DateTime.Now.ToString("yyyy-MM-dd HH:mm");//默认当前时间‘
// TimeSpan tsp = DateTime.Now - _record.InRoomTime.Value;
// if (tsp.TotalHours > 12)
// {
// DateTime begindate = new DateTime(_record.InRoomTime.Value.Year, _record.InRoomTime.Value.Month, _record.InRoomTime.Value.Day, DateTime.Now.Hour, DateTime.Now.Minute, 0);
// if (begindate > _record.InRoomTime.Value)
// {
// begindate = DateTime.Now;
// }
// dgvEvents.Rows[e.RowIndex].Cells["BeginTime"].Value = begindate;
// }
//}
}
}
public class DataGridViewComboEditTipBoxColumn : DataGridViewComboBoxColumn

View File

@ -113,7 +113,7 @@ namespace AIMS.PublicUI.UI
{
if (ControlExtension._channelList == null)
{
ControlExtension._channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径").SubItem;
ControlExtension._channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径", "asc").SubItem;
ControlExtension._channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
ControlExtension._drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
ControlExtension._drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });

View File

@ -126,6 +126,7 @@ namespace AIMS.OperationAanesthesia
ade.Unit = item.Cells[13].Value.ToString();
ade.YAisx = int.Parse(item.Cells[14].Value.ToString());
ade.PhysioOrder = int.Parse(item.Cells[15].Value.ToString());
ade.SymbolSize = float.Parse(item.Cells[16].Value.ToString());
PhysioDataConfig.UpdatePhysioDataConfig(ade);
break;
}

View File

@ -30,31 +30,15 @@ namespace AIMS.OperationAanesthesia
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPhysiosSetting));
this.btnSave = new DevComponents.DotNetBar.ButtonX();
this.btnDelete = new DevComponents.DotNetBar.ButtonX();
this.panel1 = new System.Windows.Forms.Panel();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.label1 = new System.Windows.Forms.Label();
this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl();
this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.dgvMZTZ = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
this.dataGridViewLabelXColumn1 = new DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn();
this.dataGridViewIntegerInputColumn1 = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.dataGridViewIntegerInputColumn2 = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.dataGridViewIntegerInputColumn3 = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.dataGridViewIntegerInputColumn4 = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.dataGridViewCheckBoxXColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ShowText2 = new DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn();
this.dataGridViewCheckBoxXColumn4 = new DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn();
this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewIntegerInputColumn6 = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.spMZSMTZ = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.panelExZKZB = new DevComponents.DotNetBar.PanelEx();
this.dgvSetting = new DevComponents.DotNetBar.Controls.DataGridViewX();
@ -74,10 +58,28 @@ namespace AIMS.OperationAanesthesia
this.Unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.YAisx = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.PhysioOrder = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.SymbolSize = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.spJHYCS = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.panelJHYSJXS = new DevComponents.DotNetBar.PanelEx();
this.spJHYSJXS = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.dgvMZTZ = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn();
this.dataGridViewLabelXColumn1 = new DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn();
this.dataGridViewIntegerInputColumn1 = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.dataGridViewIntegerInputColumn2 = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.dataGridViewIntegerInputColumn3 = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.dataGridViewIntegerInputColumn4 = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.dataGridViewCheckBoxXColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ShowText2 = new DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn();
this.dataGridViewCheckBoxXColumn4 = new DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn();
this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewIntegerInputColumn6 = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
this.spMZSMTZ = new DevComponents.DotNetBar.SuperTabItem();
this.colorDialog1 = new System.Windows.Forms.ColorDialog();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -92,18 +94,18 @@ namespace AIMS.OperationAanesthesia
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
this.superTabControl1.SuspendLayout();
this.superTabControlPanel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvMZTZ)).BeginInit();
this.superTabControlPanel1.SuspendLayout();
this.panelExZKZB.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvSetting)).BeginInit();
this.superTabControlPanel2.SuspendLayout();
this.superTabControlPanel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvMZTZ)).BeginInit();
this.SuspendLayout();
//
// btnSave
//
this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnSave.Location = new System.Drawing.Point(742, 12);
this.btnSave.Location = new System.Drawing.Point(924, 12);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(87, 30);
this.btnSave.TabIndex = 3;
@ -113,7 +115,7 @@ namespace AIMS.OperationAanesthesia
// btnDelete
//
this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnDelete.Location = new System.Drawing.Point(849, 12);
this.btnDelete.Location = new System.Drawing.Point(1031, 12);
this.btnDelete.Name = "btnDelete";
this.btnDelete.Size = new System.Drawing.Size(87, 30);
this.btnDelete.TabIndex = 4;
@ -123,6 +125,7 @@ namespace AIMS.OperationAanesthesia
// panel1
//
this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
this.panel1.Controls.Add(this.panelEx1);
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.btnDelete);
this.panel1.Controls.Add(this.btnSave);
@ -133,11 +136,29 @@ namespace AIMS.OperationAanesthesia
this.panel1.Size = new System.Drawing.Size(1152, 49);
this.panel1.TabIndex = 5;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Location = new System.Drawing.Point(167, 7);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(732, 35);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.TabIndex = 6;
this.panelEx1.Visible = false;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(32, 12);
this.label1.Location = new System.Drawing.Point(24, 12);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(88, 25);
this.label1.TabIndex = 5;
@ -160,9 +181,9 @@ namespace AIMS.OperationAanesthesia
this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.superTabControl1.ControlBox.MenuBox,
this.superTabControl1.ControlBox.CloseBox});
this.superTabControl1.Controls.Add(this.superTabControlPanel1);
this.superTabControl1.Controls.Add(this.superTabControlPanel2);
this.superTabControl1.Controls.Add(this.superTabControlPanel3);
this.superTabControl1.Controls.Add(this.superTabControlPanel1);
this.superTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabControl1.Location = new System.Drawing.Point(0, 49);
this.superTabControl1.Name = "superTabControl1";
@ -177,202 +198,6 @@ namespace AIMS.OperationAanesthesia
this.spMZSMTZ,
this.spJHYSJXS});
//
// superTabControlPanel3
//
this.superTabControlPanel3.Controls.Add(this.dgvMZTZ);
this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabControlPanel3.Location = new System.Drawing.Point(0, 28);
this.superTabControlPanel3.Name = "superTabControlPanel3";
this.superTabControlPanel3.Size = new System.Drawing.Size(1152, 436);
this.superTabControlPanel3.TabIndex = 0;
this.superTabControlPanel3.TabItem = this.spMZSMTZ;
//
// dgvMZTZ
//
this.dgvMZTZ.AllowUserToAddRows = false;
this.dgvMZTZ.AllowUserToDeleteRows = false;
this.dgvMZTZ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvMZTZ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn10,
this.dataGridViewTextBoxColumn11,
this.dataGridViewTextBoxColumn12,
this.dataGridViewImageColumn1,
this.dataGridViewLabelXColumn1,
this.dataGridViewIntegerInputColumn1,
this.dataGridViewIntegerInputColumn2,
this.dataGridViewIntegerInputColumn3,
this.dataGridViewIntegerInputColumn4,
this.dataGridViewCheckBoxXColumn2,
this.ShowText2,
this.dataGridViewCheckBoxXColumn4,
this.dataGridViewTextBoxColumn13,
this.dataGridViewIntegerInputColumn6});
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvMZTZ.DefaultCellStyle = dataGridViewCellStyle5;
this.dgvMZTZ.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvMZTZ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvMZTZ.Location = new System.Drawing.Point(0, 0);
this.dgvMZTZ.Name = "dgvMZTZ";
this.dgvMZTZ.RowTemplate.Height = 23;
this.dgvMZTZ.Size = new System.Drawing.Size(1152, 436);
this.dgvMZTZ.TabIndex = 1;
//
// dataGridViewTextBoxColumn10
//
this.dataGridViewTextBoxColumn10.DataPropertyName = "Id";
this.dataGridViewTextBoxColumn10.HeaderText = "Id";
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
this.dataGridViewTextBoxColumn10.ReadOnly = true;
this.dataGridViewTextBoxColumn10.Visible = false;
//
// dataGridViewTextBoxColumn11
//
this.dataGridViewTextBoxColumn11.DataPropertyName = "Name";
this.dataGridViewTextBoxColumn11.HeaderText = "名称";
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
this.dataGridViewTextBoxColumn11.ReadOnly = true;
//
// dataGridViewTextBoxColumn12
//
this.dataGridViewTextBoxColumn12.DataPropertyName = "Enname";
this.dataGridViewTextBoxColumn12.HeaderText = "简码";
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
this.dataGridViewTextBoxColumn12.ReadOnly = true;
this.dataGridViewTextBoxColumn12.Width = 80;
//
// dataGridViewImageColumn1
//
this.dataGridViewImageColumn1.HeaderText = "图片";
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewImageColumn1.Visible = false;
this.dataGridViewImageColumn1.Width = 80;
//
// dataGridViewLabelXColumn1
//
this.dataGridViewLabelXColumn1.HeaderText = "线条颜色";
this.dataGridViewLabelXColumn1.Name = "dataGridViewLabelXColumn1";
this.dataGridViewLabelXColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewLabelXColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewLabelXColumn1.Visible = false;
//
// dataGridViewIntegerInputColumn1
//
//
//
//
this.dataGridViewIntegerInputColumn1.BackgroundStyle.Class = "DataGridViewNumericBorder";
this.dataGridViewIntegerInputColumn1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewIntegerInputColumn1.DataPropertyName = "HighLimit";
this.dataGridViewIntegerInputColumn1.HeaderText = "上限";
this.dataGridViewIntegerInputColumn1.Name = "dataGridViewIntegerInputColumn1";
this.dataGridViewIntegerInputColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewIntegerInputColumn1.Width = 70;
//
// dataGridViewIntegerInputColumn2
//
//
//
//
this.dataGridViewIntegerInputColumn2.BackgroundStyle.Class = "DataGridViewNumericBorder";
this.dataGridViewIntegerInputColumn2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewIntegerInputColumn2.DataPropertyName = "LowLimit";
this.dataGridViewIntegerInputColumn2.HeaderText = "下限";
this.dataGridViewIntegerInputColumn2.Name = "dataGridViewIntegerInputColumn2";
this.dataGridViewIntegerInputColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewIntegerInputColumn2.Width = 70;
//
// dataGridViewIntegerInputColumn3
//
//
//
//
this.dataGridViewIntegerInputColumn3.BackgroundStyle.Class = "DataGridViewNumericBorder";
this.dataGridViewIntegerInputColumn3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewIntegerInputColumn3.DataPropertyName = "WarningHighLimit";
this.dataGridViewIntegerInputColumn3.HeaderText = "报警上限";
this.dataGridViewIntegerInputColumn3.Name = "dataGridViewIntegerInputColumn3";
this.dataGridViewIntegerInputColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewIntegerInputColumn3.Width = 60;
//
// dataGridViewIntegerInputColumn4
//
//
//
//
this.dataGridViewIntegerInputColumn4.BackgroundStyle.Class = "DataGridViewNumericBorder";
this.dataGridViewIntegerInputColumn4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewIntegerInputColumn4.DataPropertyName = "WarningLowLimit";
this.dataGridViewIntegerInputColumn4.HeaderText = "报警下限";
this.dataGridViewIntegerInputColumn4.Name = "dataGridViewIntegerInputColumn4";
this.dataGridViewIntegerInputColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewIntegerInputColumn4.Width = 60;
//
// dataGridViewCheckBoxXColumn2
//
this.dataGridViewCheckBoxXColumn2.DataPropertyName = "YAisx";
this.dataGridViewCheckBoxXColumn2.HeaderText = "时间间隔";
this.dataGridViewCheckBoxXColumn2.Name = "dataGridViewCheckBoxXColumn2";
this.dataGridViewCheckBoxXColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewCheckBoxXColumn2.Width = 60;
//
// ShowText2
//
this.ShowText2.Checked = true;
this.ShowText2.CheckState = System.Windows.Forms.CheckState.Indeterminate;
this.ShowText2.CheckValue = "N";
this.ShowText2.DataPropertyName = "ShowText";
this.ShowText2.HeaderText = "是否数字验证";
this.ShowText2.Name = "ShowText2";
this.ShowText2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ShowText2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// dataGridViewCheckBoxXColumn4
//
this.dataGridViewCheckBoxXColumn4.Checked = true;
this.dataGridViewCheckBoxXColumn4.CheckState = System.Windows.Forms.CheckState.Indeterminate;
this.dataGridViewCheckBoxXColumn4.CheckValue = "N";
this.dataGridViewCheckBoxXColumn4.DataPropertyName = "IsDefalultShow";
this.dataGridViewCheckBoxXColumn4.HeaderText = "是否默认显示";
this.dataGridViewCheckBoxXColumn4.Name = "dataGridViewCheckBoxXColumn4";
this.dataGridViewCheckBoxXColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewCheckBoxXColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewCheckBoxXColumn4.Width = 80;
//
// dataGridViewTextBoxColumn13
//
this.dataGridViewTextBoxColumn13.DataPropertyName = "Unit";
this.dataGridViewTextBoxColumn13.HeaderText = "单位";
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
this.dataGridViewTextBoxColumn13.Width = 80;
//
// dataGridViewIntegerInputColumn6
//
//
//
//
this.dataGridViewIntegerInputColumn6.BackgroundStyle.Class = "DataGridViewNumericBorder";
this.dataGridViewIntegerInputColumn6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewIntegerInputColumn6.DataPropertyName = "PhysioOrder";
this.dataGridViewIntegerInputColumn6.HeaderText = "排序";
this.dataGridViewIntegerInputColumn6.Name = "dataGridViewIntegerInputColumn6";
this.dataGridViewIntegerInputColumn6.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewIntegerInputColumn6.Width = 70;
//
// spMZSMTZ
//
this.spMZSMTZ.AttachedControl = this.superTabControlPanel3;
this.spMZSMTZ.GlobalItem = false;
this.spMZSMTZ.Name = "spMZSMTZ";
this.spMZSMTZ.Text = "麻醉机参数设置";
//
// superTabControlPanel1
//
this.superTabControlPanel1.Controls.Add(this.panelExZKZB);
@ -423,15 +248,16 @@ namespace AIMS.OperationAanesthesia
this.IsDefalultShow,
this.Unit,
this.YAisx,
this.PhysioOrder});
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvSetting.DefaultCellStyle = dataGridViewCellStyle6;
this.PhysioOrder,
this.SymbolSize});
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvSetting.DefaultCellStyle = dataGridViewCellStyle1;
this.dgvSetting.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvSetting.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvSetting.Location = new System.Drawing.Point(0, 0);
@ -612,6 +438,12 @@ namespace AIMS.OperationAanesthesia
this.PhysioOrder.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.PhysioOrder.Width = 70;
//
// SymbolSize
//
this.SymbolSize.DataPropertyName = "SymbolSize";
this.SymbolSize.HeaderText = "图例大小";
this.SymbolSize.Name = "SymbolSize";
//
// spJHYCS
//
this.spJHYCS.AttachedControl = this.superTabControlPanel1;
@ -654,6 +486,203 @@ namespace AIMS.OperationAanesthesia
this.spJHYSJXS.Name = "spJHYSJXS";
this.spJHYSJXS.Text = "当前术间参数设置";
//
// superTabControlPanel3
//
this.superTabControlPanel3.Controls.Add(this.dgvMZTZ);
this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabControlPanel3.Location = new System.Drawing.Point(0, 28);
this.superTabControlPanel3.Name = "superTabControlPanel3";
this.superTabControlPanel3.Size = new System.Drawing.Size(1152, 436);
this.superTabControlPanel3.TabIndex = 0;
this.superTabControlPanel3.TabItem = this.spMZSMTZ;
//
// dgvMZTZ
//
this.dgvMZTZ.AllowUserToAddRows = false;
this.dgvMZTZ.AllowUserToDeleteRows = false;
this.dgvMZTZ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvMZTZ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn10,
this.dataGridViewTextBoxColumn11,
this.dataGridViewTextBoxColumn12,
this.dataGridViewImageColumn1,
this.dataGridViewLabelXColumn1,
this.dataGridViewIntegerInputColumn1,
this.dataGridViewIntegerInputColumn2,
this.dataGridViewIntegerInputColumn3,
this.dataGridViewIntegerInputColumn4,
this.dataGridViewCheckBoxXColumn2,
this.ShowText2,
this.dataGridViewCheckBoxXColumn4,
this.dataGridViewTextBoxColumn13,
this.dataGridViewIntegerInputColumn6});
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvMZTZ.DefaultCellStyle = dataGridViewCellStyle2;
this.dgvMZTZ.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvMZTZ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvMZTZ.Location = new System.Drawing.Point(0, 0);
this.dgvMZTZ.Name = "dgvMZTZ";
this.dgvMZTZ.RowTemplate.Height = 23;
this.dgvMZTZ.Size = new System.Drawing.Size(1152, 436);
this.dgvMZTZ.TabIndex = 1;
//
// dataGridViewTextBoxColumn10
//
this.dataGridViewTextBoxColumn10.DataPropertyName = "Id";
this.dataGridViewTextBoxColumn10.HeaderText = "Id";
this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
this.dataGridViewTextBoxColumn10.ReadOnly = true;
this.dataGridViewTextBoxColumn10.Visible = false;
this.dataGridViewTextBoxColumn10.Width = 80;
//
// dataGridViewTextBoxColumn11
//
this.dataGridViewTextBoxColumn11.DataPropertyName = "Name";
this.dataGridViewTextBoxColumn11.HeaderText = "名称";
this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
this.dataGridViewTextBoxColumn11.ReadOnly = true;
//
// dataGridViewTextBoxColumn12
//
this.dataGridViewTextBoxColumn12.DataPropertyName = "Enname";
this.dataGridViewTextBoxColumn12.HeaderText = "简码";
this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
this.dataGridViewTextBoxColumn12.ReadOnly = true;
this.dataGridViewTextBoxColumn12.Width = 80;
//
// dataGridViewImageColumn1
//
this.dataGridViewImageColumn1.HeaderText = "图片";
this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1";
this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewImageColumn1.Visible = false;
this.dataGridViewImageColumn1.Width = 80;
//
// dataGridViewLabelXColumn1
//
this.dataGridViewLabelXColumn1.HeaderText = "线条颜色";
this.dataGridViewLabelXColumn1.Name = "dataGridViewLabelXColumn1";
this.dataGridViewLabelXColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewLabelXColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewLabelXColumn1.Visible = false;
//
// dataGridViewIntegerInputColumn1
//
//
//
//
this.dataGridViewIntegerInputColumn1.BackgroundStyle.Class = "DataGridViewNumericBorder";
this.dataGridViewIntegerInputColumn1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewIntegerInputColumn1.DataPropertyName = "HighLimit";
this.dataGridViewIntegerInputColumn1.HeaderText = "上限";
this.dataGridViewIntegerInputColumn1.Name = "dataGridViewIntegerInputColumn1";
this.dataGridViewIntegerInputColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewIntegerInputColumn1.Width = 70;
//
// dataGridViewIntegerInputColumn2
//
//
//
//
this.dataGridViewIntegerInputColumn2.BackgroundStyle.Class = "DataGridViewNumericBorder";
this.dataGridViewIntegerInputColumn2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewIntegerInputColumn2.DataPropertyName = "LowLimit";
this.dataGridViewIntegerInputColumn2.HeaderText = "下限";
this.dataGridViewIntegerInputColumn2.Name = "dataGridViewIntegerInputColumn2";
this.dataGridViewIntegerInputColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewIntegerInputColumn2.Width = 70;
//
// dataGridViewIntegerInputColumn3
//
//
//
//
this.dataGridViewIntegerInputColumn3.BackgroundStyle.Class = "DataGridViewNumericBorder";
this.dataGridViewIntegerInputColumn3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewIntegerInputColumn3.DataPropertyName = "WarningHighLimit";
this.dataGridViewIntegerInputColumn3.HeaderText = "报警上限";
this.dataGridViewIntegerInputColumn3.Name = "dataGridViewIntegerInputColumn3";
this.dataGridViewIntegerInputColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewIntegerInputColumn3.Width = 60;
//
// dataGridViewIntegerInputColumn4
//
//
//
//
this.dataGridViewIntegerInputColumn4.BackgroundStyle.Class = "DataGridViewNumericBorder";
this.dataGridViewIntegerInputColumn4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewIntegerInputColumn4.DataPropertyName = "WarningLowLimit";
this.dataGridViewIntegerInputColumn4.HeaderText = "报警下限";
this.dataGridViewIntegerInputColumn4.Name = "dataGridViewIntegerInputColumn4";
this.dataGridViewIntegerInputColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewIntegerInputColumn4.Width = 60;
//
// dataGridViewCheckBoxXColumn2
//
this.dataGridViewCheckBoxXColumn2.DataPropertyName = "YAisx";
this.dataGridViewCheckBoxXColumn2.HeaderText = "时间间隔";
this.dataGridViewCheckBoxXColumn2.Name = "dataGridViewCheckBoxXColumn2";
this.dataGridViewCheckBoxXColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewCheckBoxXColumn2.Width = 60;
//
// ShowText2
//
this.ShowText2.Checked = true;
this.ShowText2.CheckState = System.Windows.Forms.CheckState.Indeterminate;
this.ShowText2.CheckValue = "N";
this.ShowText2.DataPropertyName = "ShowText";
this.ShowText2.HeaderText = "是否数字验证";
this.ShowText2.Name = "ShowText2";
this.ShowText2.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.ShowText2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// dataGridViewCheckBoxXColumn4
//
this.dataGridViewCheckBoxXColumn4.Checked = true;
this.dataGridViewCheckBoxXColumn4.CheckState = System.Windows.Forms.CheckState.Indeterminate;
this.dataGridViewCheckBoxXColumn4.CheckValue = "N";
this.dataGridViewCheckBoxXColumn4.DataPropertyName = "IsDefalultShow";
this.dataGridViewCheckBoxXColumn4.HeaderText = "是否默认显示";
this.dataGridViewCheckBoxXColumn4.Name = "dataGridViewCheckBoxXColumn4";
this.dataGridViewCheckBoxXColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewCheckBoxXColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.dataGridViewCheckBoxXColumn4.Width = 80;
//
// dataGridViewTextBoxColumn13
//
this.dataGridViewTextBoxColumn13.DataPropertyName = "Unit";
this.dataGridViewTextBoxColumn13.HeaderText = "单位";
this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
this.dataGridViewTextBoxColumn13.Width = 80;
//
// dataGridViewIntegerInputColumn6
//
//
//
//
this.dataGridViewIntegerInputColumn6.BackgroundStyle.Class = "DataGridViewNumericBorder";
this.dataGridViewIntegerInputColumn6.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.dataGridViewIntegerInputColumn6.DataPropertyName = "PhysioOrder";
this.dataGridViewIntegerInputColumn6.HeaderText = "排序";
this.dataGridViewIntegerInputColumn6.Name = "dataGridViewIntegerInputColumn6";
this.dataGridViewIntegerInputColumn6.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewIntegerInputColumn6.Width = 70;
//
// spMZSMTZ
//
this.spMZSMTZ.AttachedControl = this.superTabControlPanel3;
this.spMZSMTZ.GlobalItem = false;
this.spMZSMTZ.Name = "spMZSMTZ";
this.spMZSMTZ.Text = "麻醉机参数设置";
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
@ -751,6 +780,7 @@ namespace AIMS.OperationAanesthesia
this.dataGridViewTextBoxColumn6.HeaderText = "上限";
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
this.dataGridViewTextBoxColumn6.ReadOnly = true;
this.dataGridViewTextBoxColumn6.Visible = false;
this.dataGridViewTextBoxColumn6.Width = 70;
//
// dataGridViewTextBoxColumn7
@ -766,6 +796,7 @@ namespace AIMS.OperationAanesthesia
this.dataGridViewTextBoxColumn8.DataPropertyName = "WarningHighLimit";
this.dataGridViewTextBoxColumn8.HeaderText = "报警上限";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
this.dataGridViewTextBoxColumn8.ReadOnly = true;
this.dataGridViewTextBoxColumn8.Width = 60;
//
// dataGridViewTextBoxColumn9
@ -773,6 +804,7 @@ namespace AIMS.OperationAanesthesia
this.dataGridViewTextBoxColumn9.DataPropertyName = "WarningLowLimit";
this.dataGridViewTextBoxColumn9.HeaderText = "报警下限";
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
this.dataGridViewTextBoxColumn9.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewTextBoxColumn9.Width = 60;
//
// frmPhysiosSetting
@ -790,12 +822,12 @@ namespace AIMS.OperationAanesthesia
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
this.superTabControl1.ResumeLayout(false);
this.superTabControlPanel3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvMZTZ)).EndInit();
this.superTabControlPanel1.ResumeLayout(false);
this.panelExZKZB.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvSetting)).EndInit();
this.superTabControlPanel2.ResumeLayout(false);
this.superTabControlPanel3.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvMZTZ)).EndInit();
this.ResumeLayout(false);
}
@ -825,22 +857,6 @@ namespace AIMS.OperationAanesthesia
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
private System.Windows.Forms.ColorDialog colorDialog1;
private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn PName;
private System.Windows.Forms.DataGridViewTextBoxColumn Enname;
private System.Windows.Forms.DataGridViewImageColumn pImage;
private DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn color;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn HighLimit;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn lowLimit;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn WarningHighLimit;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn WarningLowLimit;
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn showimg;
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn showtext;
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn IsSplit;
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn IsDefalultShow;
private System.Windows.Forms.DataGridViewTextBoxColumn Unit;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn YAisx;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn PhysioOrder;
private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel3;
private DevComponents.DotNetBar.SuperTabItem spMZSMTZ;
private DevComponents.DotNetBar.Controls.DataGridViewX dgvMZTZ;
@ -858,5 +874,23 @@ namespace AIMS.OperationAanesthesia
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn dataGridViewCheckBoxXColumn4;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn dataGridViewIntegerInputColumn6;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn PName;
private System.Windows.Forms.DataGridViewTextBoxColumn Enname;
private System.Windows.Forms.DataGridViewImageColumn pImage;
private DevComponents.DotNetBar.Controls.DataGridViewLabelXColumn color;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn HighLimit;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn lowLimit;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn WarningHighLimit;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn WarningLowLimit;
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn showimg;
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn showtext;
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn IsSplit;
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn IsDefalultShow;
private System.Windows.Forms.DataGridViewTextBoxColumn Unit;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn YAisx;
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn PhysioOrder;
private System.Windows.Forms.DataGridViewTextBoxColumn SymbolSize;
private DevComponents.DotNetBar.PanelEx panelEx1;
}
}

View File

@ -117,48 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="dataGridViewTextBoxColumn10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewImageColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewLabelXColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewIntegerInputColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewIntegerInputColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewIntegerInputColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewIntegerInputColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxXColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ShowText2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxXColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewIntegerInputColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
@ -207,6 +165,51 @@
<metadata name="PhysioOrder.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="SymbolSize.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn10.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn11.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn12.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewImageColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewLabelXColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewIntegerInputColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewIntegerInputColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewIntegerInputColumn3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewIntegerInputColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxXColumn2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ShowText2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewCheckBoxXColumn4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn13.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewIntegerInputColumn6.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colorDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
@ -218,7 +221,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABM
LgAAAk1TRnQBSQFMAgEBLwEAAWgBAAFoAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
LgAAAk1TRnQBSQFMAgEBLwEAAYABAAGAAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAAcADAAEBAQABCAYAATAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA

View File

@ -38,7 +38,6 @@
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel1 = new System.Windows.Forms.Panel();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.tokenEditor1 = new DevComponents.DotNetBar.Controls.TokenEditor();
this.label23 = new System.Windows.Forms.Label();
this.label28 = new System.Windows.Forms.Label();
this.txtOperationRemark = new System.Windows.Forms.TextBox();
@ -230,7 +229,6 @@
//
// groupBox2
//
this.groupBox2.Controls.Add(this.tokenEditor1);
this.groupBox2.Controls.Add(this.label23);
this.groupBox2.Controls.Add(this.label28);
this.groupBox2.Controls.Add(this.txtOperationRemark);
@ -293,33 +291,6 @@
this.groupBox2.TabStop = false;
this.groupBox2.Text = "手术基本信息";
//
// tokenEditor1
//
//
//
//
this.tokenEditor1.BackgroundStyle.Class = "DateTimeInputBackground";
this.tokenEditor1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.tokenEditor1.DropDownButtonVisible = true;
this.tokenEditor1.DropDownWidth = 380;
this.tokenEditor1.Location = new System.Drawing.Point(925, 171);
this.tokenEditor1.MaxHeightLines = 3;
this.tokenEditor1.Name = "tokenEditor1";
this.tokenEditor1.Separators.Add(";");
this.tokenEditor1.Separators.Add(",");
this.tokenEditor1.Size = new System.Drawing.Size(619, 24);
this.tokenEditor1.TabIndex = 32;
this.tokenEditor1.SelectedTokensChanged += new System.EventHandler(this.tokenEditor1_SelectedTokensChanged);
this.tokenEditor1.TokenMouseEnter += new System.EventHandler(this.tokenEditor1_TokenMouseEnter);
this.tokenEditor1.TokenMouseLeave += new System.EventHandler(this.tokenEditor1_TokenMouseLeave);
this.tokenEditor1.TokenMouseClick += new System.Windows.Forms.MouseEventHandler(this.tokenEditor1_TokenMouseClick);
this.tokenEditor1.TokenMouseHover += new System.EventHandler(this.tokenEditor1_TokenMouseHover);
this.tokenEditor1.RemovingToken += new DevComponents.DotNetBar.Controls.RemovingTokenEventHandler(this.tokenEditor1_RemovingToken);
this.tokenEditor1.ValidateToken += new DevComponents.DotNetBar.Controls.ValidateTokenEventHandler(this.tokenEditor1_ValidateToken);
this.tokenEditor1.RegionChanged += new System.EventHandler(this.tokenEditor1_RegionChanged);
this.tokenEditor1.SizeChanged += new System.EventHandler(this.tokenEditor1_SizeChanged);
this.tokenEditor1.TextChanged += new System.EventHandler(this.tokenEditor1_TextChanged);
//
// label23
//
this.label23.AutoSize = true;
@ -1379,6 +1350,5 @@
public System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.RadioButton rboRJ;
public System.Windows.Forms.ComboBox cboPatientType;
private DevComponents.DotNetBar.Controls.TokenEditor tokenEditor1;
}
}

View File

@ -146,9 +146,6 @@ namespace AIMS.OperationFront.UI
{
ApplyOperationInfo info = SelectOperationData[i];
Operation operation = BOperation.SelectSingle(info.OperationId); ;
tokenEditor1.SelectedTokens.Add(new DevComponents.DotNetBar.Controls.EditToken(operation.Id.ToString(), operation.Name));
tokenEditor1.EditTextBox.TextChanged += EditTextBox_TextChanged;
if (i == 0)
{
@ -1401,71 +1398,5 @@ namespace AIMS.OperationFront.UI
dtpOrderOperationTime.Text = DateTime.Now.AddDays(1).ToString("yyyy-MM-dd HH:mm");
}
}
private void tokenEditor1_ValidateToken(object sender, DevComponents.DotNetBar.Controls.ValidateTokenEventArgs ea)
{
if (ea.IsNewToken)
{
// Remember the keyword created
tokenEditor1.Tokens.Add(ea.Token);
}
}
private void tokenEditor1_TextChanged(object sender, EventArgs e)
{
string text= tokenEditor1.Text;
}
private void tokenEditor1_TokenMouseClick(object sender, MouseEventArgs e)
{
string text= tokenEditor1.Text;
}
private void tokenEditor1_SelectedTokensChanged(object sender, EventArgs e)
{
string text= tokenEditor1.Text;
}
private void tokenEditor1_SizeChanged(object sender, EventArgs e)
{
string text= tokenEditor1.Text;
}
private void tokenEditor1_RemovingToken(object sender, DevComponents.DotNetBar.Controls.RemovingTokenEventArgs ea)
{
string text= tokenEditor1.Text;
}
private void tokenEditor1_RegionChanged(object sender, EventArgs e)
{
string text= tokenEditor1.Text;
}
private void tokenEditor1_TokenMouseEnter(object sender, EventArgs e)
{
string text= tokenEditor1.Text;
}
private void tokenEditor1_TokenMouseHover(object sender, EventArgs e)
{
string text= tokenEditor1.Text;
}
private void tokenEditor1_TokenMouseLeave(object sender, EventArgs e)
{
string text= tokenEditor1.Text;
}
private void EditTextBox_TextChanged(object sender, EventArgs e)
{
TextBox txt = sender as TextBox;
if (txt.Text != "")
{
DevComponents.DotNetBar.Controls.EditToken edit = new DevComponents.DotNetBar.Controls.EditToken("programmingprogrammingprogrammingprogrammingprogrammingprogramming");
tokenEditor1.Tokens.Add(edit);
tokenEditor1.IsPopupOpen = true;
//tokenEditor1.ClientSize =new Size ( tokenEditor1.Width,100);
}
}
}
}

View File

@ -58,9 +58,14 @@
this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator();
this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripSeparator();
this.labPacs = new DevComponents.DotNetBar.LabelX();
this.txtPacs = new DevComponents.DotNetBar.Controls.TextBoxX();
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
this.panelExPacs = new DevComponents.DotNetBar.PanelEx();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).BeginInit();
this.cmEdit.SuspendLayout();
this.panelExPacs.SuspendLayout();
this.SuspendLayout();
//
// toolStrip1
@ -301,10 +306,74 @@
this.toolStripMenuItem8.Name = "toolStripMenuItem8";
this.toolStripMenuItem8.Size = new System.Drawing.Size(121, 6);
//
// labPacs
//
//
//
//
this.labPacs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.labPacs.Dock = System.Windows.Forms.DockStyle.Top;
this.labPacs.Location = new System.Drawing.Point(0, 0);
this.labPacs.Name = "labPacs";
this.labPacs.Size = new System.Drawing.Size(238, 23);
this.labPacs.TabIndex = 0;
this.labPacs.TextAlignment = System.Drawing.StringAlignment.Center;
//
// txtPacs
//
//
//
//
this.txtPacs.Border.Class = "TextBoxBorder";
this.txtPacs.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtPacs.Dock = System.Windows.Forms.DockStyle.Top;
this.txtPacs.Location = new System.Drawing.Point(0, 23);
this.txtPacs.Multiline = true;
this.txtPacs.Name = "txtPacs";
this.txtPacs.PreventEnterBeep = true;
this.txtPacs.Size = new System.Drawing.Size(238, 237);
this.txtPacs.TabIndex = 1;
//
// buttonX1
//
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.buttonX1.Dock = System.Windows.Forms.DockStyle.Fill;
this.buttonX1.Location = new System.Drawing.Point(0, 260);
this.buttonX1.Name = "buttonX1";
this.buttonX1.Size = new System.Drawing.Size(238, 27);
this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.buttonX1.TabIndex = 2;
this.buttonX1.Text = "关闭";
this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
//
// panelExPacs
//
this.panelExPacs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.panelExPacs.CanvasColor = System.Drawing.SystemColors.Control;
this.panelExPacs.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelExPacs.Controls.Add(this.buttonX1);
this.panelExPacs.Controls.Add(this.txtPacs);
this.panelExPacs.Controls.Add(this.labPacs);
this.panelExPacs.DisabledBackColor = System.Drawing.Color.Empty;
this.panelExPacs.Location = new System.Drawing.Point(615, 0);
this.panelExPacs.Name = "panelExPacs";
this.panelExPacs.Size = new System.Drawing.Size(238, 287);
this.panelExPacs.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelExPacs.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.panelExPacs.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.panelExPacs.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelExPacs.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelExPacs.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelExPacs.Style.GradientAngle = 90;
this.panelExPacs.TabIndex = 6;
this.panelExPacs.Visible = false;
//
// ucDocument
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.panelExPacs);
this.Controls.Add(this.myEditControl);
this.Controls.Add(this.toolStrip1);
this.Margin = new System.Windows.Forms.Padding(2);
@ -315,6 +384,7 @@
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).EndInit();
this.cmEdit.ResumeLayout(false);
this.panelExPacs.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
@ -349,5 +419,9 @@
private System.Windows.Forms.ToolStripButton toolStripButton1;
public System.Windows.Forms.ToolStrip toolStrip1;
public DCSoft.Writer.Controls.WriterControl myEditControl;
private DevComponents.DotNetBar.LabelX labPacs;
private DevComponents.DotNetBar.Controls.TextBoxX txtPacs;
private DevComponents.DotNetBar.ButtonX buttonX1;
public DevComponents.DotNetBar.PanelEx panelExPacs;
}
}

View File

@ -87,6 +87,7 @@ namespace AIMS.OremrUserControl
myEditControl.DocumentContentChanged += new WriterEventHandler(myEditControl_DocumentContentChanged);
myEditControl.AfterExecuteCommand += new DCSoft.Writer.Commands.WriterCommandEventHandler(myEditControl_AfterExecuteCommand);
if (DModel.Id > 0)
{
//加载文档
@ -500,6 +501,11 @@ namespace AIMS.OremrUserControl
}
}
private void buttonX1_Click(object sender, EventArgs e)
{
panelExPacs.Visible = false;
}
private void tsbCheckout_Click(object sender, EventArgs e)
{
if (tsbCheckout.Text == " 查看痕迹")

View File

@ -167,44 +167,23 @@ namespace AIMS.PublicUI.UI
dgvDrugsSQ.Rows[index].Cells[18].Value = cboDrug.Checked;
}
/// <summary>
/// 用药途径集合
/// </summary>
public List<BasicDictionary> _channelList;
/// <summary>
/// 剂量单位集合
/// </summary>
public List<BasicDictionary> _dUnitList;
/// <summary>
/// 速度单位集合
/// </summary>
public List<BasicDictionary> _VelocityUnit;
/// <summary>
/// 浓度单位集合
/// </summary>
public List<BasicDictionary> _DensityUnit;
/// <summary>
/// 加药方式集合
/// </summary>
public List<BasicDictionary> _drugEffectList;
/// <summary>
///血型集合
/// </summary>
public List<BasicDictionary> _bloodTypeList;
private void Initial()
{
_channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径").SubItem;
_channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
_drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
_drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
_dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem;
_dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
_bloodTypeList = BBasicDictionary.GetBasicDictionaryByName("血型").SubItem;
_bloodTypeList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
_VelocityUnit = BBasicDictionary.GetBasicDictionaryByName("速度单位").SubItem;
_VelocityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
_DensityUnit = BBasicDictionary.GetBasicDictionaryByName("浓度单位").SubItem;
_DensityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
if (ControlExtension._channelList == null)
{
ControlExtension._channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径", "asc").SubItem;
ControlExtension._channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
ControlExtension._drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
ControlExtension._drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
ControlExtension._dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem;
ControlExtension._dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
ControlExtension._bloodTypeList = BBasicDictionary.GetBasicDictionaryByName("血型").SubItem;
ControlExtension._bloodTypeList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
ControlExtension._VelocityUnit = BBasicDictionary.GetBasicDictionaryByName("速度单位").SubItem;
ControlExtension._VelocityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
ControlExtension._DensityUnit = BBasicDictionary.GetBasicDictionaryByName("浓度单位").SubItem;
ControlExtension._DensityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
}
}
private void SetDGVEvent(DataGridView dgv)
@ -256,27 +235,27 @@ namespace AIMS.PublicUI.UI
//dgvDrugsSQ.Rows[e.RowIndex].Cells[0].Value = imageList1.Images[0];
}
channelCell.DataSource = _channelList;
channelCell.DataSource = ControlExtension._channelList;
channelCell.DisplayMember = "Name";
channelCell.ValueMember = "Name";
dUnitCell.DataSource = _dUnitList;
dUnitCell.DataSource = ControlExtension._dUnitList;
dUnitCell.DisplayMember = "Name";
dUnitCell.ValueMember = "Name";
drugEffectCell.DataSource = _drugEffectList;
drugEffectCell.DataSource = ControlExtension._drugEffectList;
drugEffectCell.DisplayMember = "Name";
drugEffectCell.ValueMember = "Id";
DensityUnit.DataSource = _DensityUnit;
DensityUnit.DataSource = ControlExtension._DensityUnit;
DensityUnit.DisplayMember = "Name";
DensityUnit.ValueMember = "Id";
BloodTypeCell.DataSource = _bloodTypeList;
BloodTypeCell.DataSource = ControlExtension._bloodTypeList;
BloodTypeCell.DisplayMember = "Name";
BloodTypeCell.ValueMember = "Id";
VelocityUnit.DataSource = _VelocityUnit;
VelocityUnit.DataSource = ControlExtension._VelocityUnit;
VelocityUnit.DisplayMember = "Name";
VelocityUnit.ValueMember = "Id";
}
@ -658,8 +637,11 @@ namespace AIMS.PublicUI.UI
public List<OutputLiquids> _outputList;
private void BindOutPut(List<FactOutputLiquids> FactOutputLiquidsList)
{
_dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem;
_dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
if (ControlExtension._channelList == null)
{
ControlExtension._dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem;
ControlExtension._dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
}
_outputList = BOutputLiquids.Select(" IsValid=1", null);
_outputList.Insert(0, new OutputLiquids() { Id = -1, Name = "" });
if (FactOutputLiquidsList.Count > 0)
@ -762,7 +744,7 @@ namespace AIMS.PublicUI.UI
nameCell.Items.Add(item.Name);
}
unitCell.DataSource = _dUnitList;
unitCell.DataSource = ControlExtension._dUnitList;
unitCell.DisplayMember = "Name";
unitCell.ValueMember = "Name";
}

View File

@ -17,12 +17,12 @@ namespace AIMSBLL
/// </summary>
/// <param name="name">字典名称</param>
/// <returns></returns>
public static BasicDictionary GetBasicDictionaryByName(string name)
public static BasicDictionary GetBasicDictionaryByName(string name,string Order="desc")
{
try
{
BasicDictionary bd = BBasicDictionary.SelectSingle(" IsValid=1 and ParentId=0 and Name=@name", new ParameterList("@name", name), RecursiveType.None, 0);
bd.SubItem = BBasicDictionary.Select(" IsValid=1 and ParentId=@id Order by [Order] desc", new ParameterList("@Id", bd.Id), RecursiveType.None, 0);
bd.SubItem = BBasicDictionary.Select(" IsValid=1 and ParentId=@id Order by [Order] "+Order, new ParameterList("@Id", bd.Id), RecursiveType.None, 0);
//bd.SubItem.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
return bd;
}

View File

@ -808,6 +808,20 @@ namespace DocumentManagement
throw ex;
}
}
public static DataTable GetPacsResultItems(string patientNo)
{
try
{
StringBuilder strSql = new StringBuilder();
strSql.Append(" select * from PacsResult where");
strSql.Append(" PATIENTID = '" + patientNo + "' ");
return DbHelperSQL.GetDataTable(strSql.ToString());
}
catch (Exception ex)
{
throw ex;
}
}
/// <summary>

View File

@ -236,7 +236,31 @@ namespace DocumentManagement
string strH = hf == null ? "" : hf.Text;
UpdateASA(Patient.ApplyId, strASA, strH);
}
if (XmlFileName == "麻醉术前访视评估记录")
else if (XmlFileName == "麻醉术前访视评估记录单")
{
string asaname = "";
string niyme = "";
var asa = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).Name == "asa");
foreach (var item in asa)
{
if ((item as XTextRadioBoxElement).Checked == true)
{
asaname = item.Text;
}
}
var niy = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).Name == "xgnfj");
foreach (var item in niy)
{
if ((item as XTextRadioBoxElement).Checked == true)
{
niyme = item.Text;
}
}
UpdateASA(Patient.ApplyId, asaname, niyme);
}
else if (XmlFileName == "麻醉术前访视评估记录")
{
string asaname = "";
string niyme = "";
@ -276,6 +300,77 @@ namespace DocumentManagement
}
}
public static void SetCocumentValue(string XmlFileName, XTextDocument Document)
{
try
{
if (XmlFileName == "手术患者压疮风险评估记录表")
{
int num = 0;
var asa = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "麻醉方式与手术体位" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (asa != null)
num += int.Parse(asa.FormulaValue);
string strASA = asa == null ? "" : asa.FormulaValue;
var hf = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "体型(BMI)" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (hf != null)
num += int.Parse(hf.FormulaValue);
var pf = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "皮肤" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (pf != null)
num += int.Parse(pf.FormulaValue);
var zthd = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "肢体活动" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (zthd != null)
num += int.Parse(zthd.FormulaValue);
var sssj = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "预计手术时间" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (sssj != null)
num += int.Parse(sssj.FormulaValue);
var gwjb = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "高危疾病" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (gwjb != null)
num += int.Parse(gwjb.FormulaValue);
var patientId = Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
&& (x as XTextInputFieldElement).ID == "field12").FirstOrDefault();
patientId.Text = (num > 0 ? num.ToString() : "");
}
if (XmlFileName == "手术患者压疮风险评估记录表")
{
int num = 0;
var asa = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "体温丢失因素" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (asa != null)
num += int.Parse(asa.FormulaValue);
string strASA = asa == null ? "" : asa.FormulaValue;
var hf = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "手术出血量" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (hf != null)
num += int.Parse(hf.FormulaValue);
var pf = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "压力剪切力改变" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (pf != null)
num += int.Parse(pf.FormulaValue);
var zthd = Document.RadioBoxes.ToArray().Where(x => x is XTextRadioBoxElement
&& (x as XTextRadioBoxElement).GroupName == "实际手术时间" && (x as XTextRadioBoxElement).Checked == true).FirstOrDefault();
if (zthd != null)
num += int.Parse(zthd.FormulaValue);
var patientId = Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
&& (x as XTextInputFieldElement).ID == "field14").FirstOrDefault();
patientId.Text = (num > 0 ? num.ToString() : "");
}
}
catch (Exception ex)
{
PublicMethod.WriteLog(ex);
}
}
public static void AddAnaesthesiaMethod(PatientRecord _operationRecord, string AnaesthesiaMethod)
{
if (AnaesthesiaMethod.Trim() == "" || AnaesthesiaMethod == "+")

View File

@ -12,6 +12,10 @@ using System.Windows.Forms;
using System.Runtime.CompilerServices;
using System.Xml;
using HelperDB;
using AxNsoOfficeLib;
using System.Drawing;
using DocumentManagement.UI;
using System.Xml.Linq;
namespace DocumentManagement
{
@ -154,6 +158,11 @@ namespace DocumentManagement
MessageBox.Show(exp.StackTrace + ":" + exp.Message);
}
}
if (eventSender is XTextRadioBoxElement)
{
var element = args.Element as XTextRadioBoxElement;
DocumentExtension.SetCocumentValue(element.WriterControl.Document.FileName, element.WriterControl.Document);
}
}
void eetChk_MouseClick(object eventSender, ElementMouseEventArgs args)
@ -181,7 +190,46 @@ namespace DocumentManagement
private void Eet_MouseDblClick(object eventSender, ElementMouseEventArgs args)
{
if (eventSender is XTextImageElement)
if (args.Element is XTextInputFieldElement)
{
var element = args.Element as XTextInputFieldElement;
if (element != null && element.Name == "Pacs")
{
var patientId = element.WriterControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
&& (x as XTextInputFieldElement).ID == "KB20180604104209620").FirstOrDefault();
ShowPacsText showPacsText = new ShowPacsText();
showPacsText.element = element;
showPacsText.PatientNo = patientId.Text;
showPacsText.ShowDialog();
//element.WriterControl.Parent as ucDocument.
}
}
else if (eventSender is XTextImageElement)
{
if ((eventSender as XTextImageElement).Alt == "双击选择图片")
{
OpenFileDialog openFileDialogEmpImage = new OpenFileDialog();
openFileDialogEmpImage.Filter = "*.bmp|*.bmp|*.png|*.png|*.jpg|*.jpg|*.tiff|*.tiff";//图片格式
if (openFileDialogEmpImage.ShowDialog() == DialogResult.OK)
{
try
{
string empUpLoadPictureRealPos = openFileDialogEmpImage.FileName;//实际的文件路径+文件名
String[] empImageData = empUpLoadPictureRealPos.Split('.');
//empImageData[1]:是上传的图片的后缀名
string empUpLoadPictureFormat = empImageData[1];
//赋值图片
(eventSender as XTextImageElement).Image = new DCSoft.Drawing.XImageValue(Image.FromFile(empUpLoadPictureRealPos));
(eventSender as XTextImageElement).Title = empImageData[0];
(eventSender as XTextImageElement).EditorRefreshView();
}
catch
{
MessageBox.Show("您选择的图片不能被读取或文件类型不对!", "错误信息", MessageBoxButtons.OK, MessageBoxIcon.Warning);
}
}
}
else
{
frmSelectPersonDoc personDoc = new frmSelectPersonDoc();
personDoc.PersonType = (eventSender as XTextImageElement).Alt == "" ? "麻醉医生" : (eventSender as XTextImageElement).Alt;
@ -213,6 +261,7 @@ namespace DocumentManagement
// (eventSender as XTextImageElement).ID =="image3" 标识Id用于定位赋值图片
}
}
}
public string GetSignatureStr(int SelectPersonData)
{
string SignatureStr = "";

View File

@ -182,6 +182,12 @@
<Compile Include="UI\frmViewSelect.Designer.cs">
<DependentUpon>frmViewSelect.cs</DependentUpon>
</Compile>
<Compile Include="UI\ShowPacsText.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="UI\ShowPacsText.Designer.cs">
<DependentUpon>ShowPacsText.cs</DependentUpon>
</Compile>
<Compile Include="UI\ucClassify.cs">
<SubType>UserControl</SubType>
</Compile>
@ -230,6 +236,9 @@
<EmbeddedResource Include="UI\frmViewSelect.resx">
<DependentUpon>frmViewSelect.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\ShowPacsText.resx">
<DependentUpon>ShowPacsText.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="UI\ucClassify.resx">
<DependentUpon>ucClassify.cs</DependentUpon>
</EmbeddedResource>

View File

@ -0,0 +1,199 @@
namespace DocumentManagement.UI
{
partial class ShowPacsText
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ShowPacsText));
this.dgvItems = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.item_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.item_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.result = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.reference = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.report_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.report_person = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
this.txtSelText = new DevComponents.DotNetBar.Controls.TextBoxX();
((System.ComponentModel.ISupportInitialize)(this.dgvItems)).BeginInit();
this.panelEx1.SuspendLayout();
this.SuspendLayout();
//
// dgvItems
//
this.dgvItems.AllowUserToAddRows = false;
this.dgvItems.AllowUserToDeleteRows = false;
this.dgvItems.BackgroundColor = System.Drawing.Color.White;
this.dgvItems.BorderStyle = System.Windows.Forms.BorderStyle.None;
this.dgvItems.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvItems.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.item_code,
this.item_name,
this.result,
this.reference,
this.report_time,
this.report_person});
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 9F);
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvItems.DefaultCellStyle = dataGridViewCellStyle1;
this.dgvItems.Dock = System.Windows.Forms.DockStyle.Top;
this.dgvItems.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvItems.Location = new System.Drawing.Point(0, 0);
this.dgvItems.Name = "dgvItems";
this.dgvItems.RowHeadersVisible = false;
this.dgvItems.RowTemplate.Height = 23;
this.dgvItems.Size = new System.Drawing.Size(960, 420);
this.dgvItems.TabIndex = 8;
this.dgvItems.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvItems_CellClick);
//
// item_code
//
this.item_code.DataPropertyName = "itemid";
this.item_code.HeaderText = "ID";
this.item_code.Name = "item_code";
this.item_code.Visible = false;
this.item_code.Width = 55;
//
// item_name
//
this.item_name.DataPropertyName = "itemname";
this.item_name.HeaderText = "项目名称";
this.item_name.Name = "item_name";
this.item_name.Width = 150;
//
// result
//
this.result.DataPropertyName = "imagepres";
this.result.HeaderText = "描述";
this.result.Name = "result";
this.result.Width = 500;
//
// reference
//
this.reference.DataPropertyName = "imageresult";
this.reference.HeaderText = "结果";
this.reference.Name = "reference";
this.reference.Width = 200;
//
// report_time
//
this.report_time.DataPropertyName = "checkdate";
this.report_time.HeaderText = "报告时间";
this.report_time.Name = "report_time";
this.report_time.Visible = false;
this.report_time.Width = 160;
//
// report_person
//
this.report_person.DataPropertyName = "examdoctor";
this.report_person.HeaderText = "报告人";
this.report_person.Name = "report_person";
this.report_person.Width = 80;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.Controls.Add(this.buttonX1);
this.panelEx1.Controls.Add(this.txtSelText);
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelEx1.Location = new System.Drawing.Point(0, 420);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(960, 30);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.TabIndex = 9;
//
// buttonX1
//
this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.buttonX1.Location = new System.Drawing.Point(832, 5);
this.buttonX1.Name = "buttonX1";
this.buttonX1.Size = new System.Drawing.Size(116, 23);
this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.buttonX1.TabIndex = 1;
this.buttonX1.Text = "确认";
this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
//
// txtSelText
//
//
//
//
this.txtSelText.Border.Class = "TextBoxBorder";
this.txtSelText.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtSelText.Location = new System.Drawing.Point(3, 5);
this.txtSelText.Name = "txtSelText";
this.txtSelText.PreventEnterBeep = true;
this.txtSelText.Size = new System.Drawing.Size(784, 21);
this.txtSelText.TabIndex = 0;
//
// ShowPacsText
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(960, 450);
this.Controls.Add(this.panelEx1);
this.Controls.Add(this.dgvItems);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "ShowPacsText";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "影像数据";
this.Load += new System.EventHandler(this.ShowPacsText_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvItems)).EndInit();
this.panelEx1.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private DevComponents.DotNetBar.Controls.DataGridViewX dgvItems;
private System.Windows.Forms.DataGridViewTextBoxColumn item_code;
private System.Windows.Forms.DataGridViewTextBoxColumn item_name;
private System.Windows.Forms.DataGridViewTextBoxColumn result;
private System.Windows.Forms.DataGridViewTextBoxColumn reference;
private System.Windows.Forms.DataGridViewTextBoxColumn report_time;
private System.Windows.Forms.DataGridViewTextBoxColumn report_person;
private DevComponents.DotNetBar.PanelEx panelEx1;
private DevComponents.DotNetBar.ButtonX buttonX1;
private DevComponents.DotNetBar.Controls.TextBoxX txtSelText;
}
}

View File

@ -0,0 +1,53 @@
using DCSoft.Writer.Dom;
using DevComponents.DotNetBar.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DocumentManagement.UI
{
public partial class ShowPacsText : Form
{
public string PatientNo;
public XTextInputFieldElement element;
public ShowPacsText()
{
InitializeComponent();
}
private void ShowPacsText_Load(object sender, EventArgs e)
{
dgvItems.AutoGenerateColumns = false;
dgvItems.RowsDefaultCellStyle.WrapMode = DataGridViewTriState.True;
dgvItems.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders;
DataTable lisdate = DocumentDAL.GetPacsResultItems(PatientNo);
dgvItems.DataSource = lisdate;
}
private void dgvItems_CellClick(object sender, DataGridViewCellEventArgs e)
{
dgvItems.BeginEdit(true);
this.dgvItems.CellMouseUp -= new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvItems_CellMouseUp);
this.dgvItems.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvItems_CellMouseUp);
txtSelText.Text = "";
}
private void buttonX1_Click(object sender, EventArgs e)
{
element.Text = txtSelText.Text.Replace("\n","");
this.Close();
}
private void dgvItems_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e)
{
string SelectedText = ((System.Windows.Forms.TextBoxBase)((System.Windows.Forms.DataGridView)sender).EditingControl).SelectedText;
if (SelectedText != "")
txtSelText.Text = SelectedText;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -22,7 +22,7 @@ namespace DrawGraph
if (HelpCode != "") strSql += " AND (p.Name LIKE '%" + HelpCode + "%' OR p.HelpCode LIKE '%" + HelpCode + "%' OR p.No LIKE '%" + HelpCode + "%')";
if (HelpCode == "" && OpeRecord.DepartmentId != null) strSql += " AND p.DepId='" + OpeRecord.DepartmentId + "' ";
if (SelPerson != "") strSql += " AND p.Id not in (" + SelPerson + ") ";
strSql += " order by PersonOrder asc";
strSql += " ORDER BY p.HelpCode ASC ";
}
else if (PersonType == "1")
{

View File

@ -177,6 +177,8 @@ namespace DrawGraph
//超出的药画备注 镇痛药备注
List<string> DrugListstr = new List<string>();
DrugListstr.Add("【手术用药】");
myOpeRecord.StandbyListstr = new List<string>();
myOpeRecord.StandbyListstr.Add("【备用药品】");
myOpeRecord.AfterDrugsListstr = new List<string>();
myOpeRecord.AfterDrugsListstr.Add("【术后镇痛药】");
myOpeRecord.AnesBeforListstr = new List<string>();
@ -196,9 +198,13 @@ namespace DrawGraph
{
myOpeRecord.BeforeDrugs += string.Format("{0}{1} ", item.DrugName.Trim(), dose);
}
else if (item.DrugChannel == "备用")
{
myOpeRecord.StandbyListstr.Add(string.Format("{0}{1} {2} {3}{4}{5}", "", ((item.DrugBeginTime == item.DrugEndTime) ? item.DrugBeginTime.ToShortTimeString() : item.DrugBeginTime.ToShortTimeString()) + "->" + item.DrugEndTime.ToShortTimeString(), item.DrugName.Trim(), dose, "",""));
}
else if (item.GiveDrugType == "麻醉诱导用药")
{
myOpeRecord.AnesBeforListstr.Add(string.Format("{0}{1} {2} {3}{4}{5}", "", item.DrugName.Trim(),"(诱导)", dose, "", item.DrugChannel == null ? "" : " " + item.DrugChannel.ToString()));
myOpeRecord.AnesBeforListstr.Add(string.Format("{0}{1} {2} {3}{4}{5}", "", item.DrugName.Trim(), "", dose, "", item.DrugChannel == null ? "" : " " + item.DrugChannel.ToString()));
x++;
}
else if (item.GiveDrugType == "术后镇痛药")
@ -224,7 +230,7 @@ namespace DrawGraph
for (int i = 0; i < _FactDrugList.Count; i++)
{
FactDrug temp = _FactDrugList[i];
if (temp.GiveDrugType == "麻醉前用药" || temp.GiveDrugType == "术后镇痛药" || temp.DrugChannel == "备用"|| temp.GiveDrugType == "麻醉诱导用药") continue;
if (temp.GiveDrugType == "麻醉前用药" || temp.GiveDrugType == "术后镇痛药" || temp.DrugChannel == "备用" || temp.GiveDrugType == "麻醉诱导用药") continue;
//子药不画
if (temp.ParentId > 0) continue;
bool isEqual = false;

View File

@ -185,7 +185,7 @@ namespace DrawGraph
{
if (this.DensityUnit != null && this.DensityUnit != "") DensityStr += this.DensityUnit;
s = (DensityStr + " " + VelocityStr).Trim();
if (DensityStr != "" && VelocityStr != "") s = DensityStr + "/" + VelocityStr;
if (DensityStr != "" && VelocityStr != "") s = DensityStr + "|" + VelocityStr;
if (this.VelocityUnit != null && this.VelocityUnit != "") s += this.VelocityUnit;
}
if ((EqualDose == null || EqualDose == ""))
@ -265,10 +265,10 @@ namespace DrawGraph
if (this.DrugChannel != null && this.DrugChannel != "") DrName += "(" + this.DrugChannel + ")";
if (this.DosageUnit != null && this.DosageUnit != "") DrName += "(" + this.DosageUnit + ")";
if (this.BloodType != null && this.BloodType != "") DrName += "(" + this.BloodType + ")";
if (DrugKind.Contains("麻") || DrugKind.Contains("精神"))
ZUtil.DrawText(DrName, x1, y, zgcAnas, TextPrefix.DN + this.DrugName + this.Id.ToString(), Color.Red, 5.75f);
if (DrugKind.Contains("麻") || DrugKind.Contains("精神"))
ZUtil.DrawText(DrName, x1, y, zgcAnas, TextPrefix.DN + this.DrugName + this.Id.ToString(), Color.Red, 6f);
else
ZUtil.DrawText(DrName, x1, y, zgcAnas, TextPrefix.DN + this.DrugName + this.Id.ToString(), Color.Black, 5.75f);
ZUtil.DrawText(DrName, x1, y, zgcAnas, TextPrefix.DN + this.DrugName + this.Id.ToString(), Color.Black, 6f);
}
}
}

View File

@ -1200,6 +1200,7 @@ namespace DrawGraph
public List<string> AfterDrugsListstr = new List<string>();
public List<string> AnesBeforListstr = new List<string>();
public List<string> FluidListstr = new List<string>();
public List<string> StandbyListstr = new List<string>();
public List<string> PunctureAndIntubatio;
public List<PhysioDataConfig> PhysioConfigList;
public List<PhysioDataConfig> PhysioAnesConfigList;

View File

@ -37,6 +37,7 @@ namespace DrawGraph
private bool isDefalultShow;
private string unit;
private int physioOrder;
private float symbolSize;
/// <summary>
@ -207,6 +208,11 @@ namespace DrawGraph
get { return physioOrder; }
set { physioOrder = value; }
}
public float SymbolSize
{
get { return symbolSize; }
set { symbolSize = value; }
}
#endregion
@ -291,7 +297,7 @@ namespace DrawGraph
PointPairList ppl = new PointPairList();
curve = ZUtil.AddCurve(Name, ppl, conveColor, imgPath, true, zgcAnas, TextPrefix.PI + Name + Id.ToString());
curve = ZUtil.AddCurve(Name, ppl, conveColor, imgPath, true, zgcAnas, TextPrefix.PI + Name + Id.ToString(), SymbolSize);
curve.YAxisIndex = this.YAisx;
curve.Label.IsVisible = this.isValid;
@ -377,7 +383,7 @@ namespace DrawGraph
}
}
if (isHave) return;
if (APhysioParams.Count > 0)
if (APhysioParams.Count > 0 && IsSplit == true)
{
PhysioData pdTemp = pd.Clone();
@ -413,7 +419,7 @@ namespace DrawGraph
if (pdTrue == null)
pdTrue = pd.Clone();
if (APhysioParams.Count > 0)
if (APhysioParams.Count > 0 && IsSplit == true)
{
PhysioData pdTemp = pd.Clone();
@ -600,6 +606,54 @@ namespace DrawGraph
}
}
public void ModifyAddItem(PhysioData oldPd, PhysioData newPd)
{
//如果是负数则不执行操作
if (newPd.Value < 0 && oldPd.PhysioDataConfigId != newPd.PhysioDataConfigId)
return;
if (newPd.Value < lowLimit)
{
newPd.ValueString = lowLimit.ToString();
}
if (newPd.Value > highLimit && newPd.Value < double.MaxValue)
{
newPd.ValueString = highLimit.ToString();
}
int index = indexOf(newPd);
if (index == -1)
{
if (APhysioParams.Count > 0)
{
PhysioData pdTemp = newPd.Clone();
//当前点的前一个点加步长时间的结点
PhysioData pdQD = reMPhysioData(pdTemp);
//插入的点大于之前点5分钟以上
if (DateTime.Compare(newPd.RecordTime, pdQD.RecordTime.AddMinutes(1)) > 0)
{
this.APhysioParams.Add(pdTemp);
PhysioDataService.UpdatePhysioData(pdTemp, pdTemp, PublicMethod.OperatorName);
if (ShowText == true)
{
DrawTextPhysioData(pdTemp);
}
}
}
this.APhysioParams.Add(newPd);
}
else
{
newPd.ValueString = newPd.Value.ToString();
this.APhysioParams[index].Y = newPd.Y;
}
Sort();
curve.Points = APhysioParams;
PhysioDataService.UpdatePhysioData(oldPd, newPd, PublicMethod.OperatorName);
if (ShowText == true)
{
delAddObj(oldPd);
DrawTextPhysioData(newPd);
}
}
/// <summary>
/// 删除一点生理数据
/// </summary>
@ -844,11 +898,11 @@ namespace DrawGraph
#region
public static int UpdatePhysioDataConfig(PhysioDataConfig physioDataConfig)
{
string sql = "Update PhysioDataConfig set HighLimit=@HighLimit, LowLimit=@LowLimit,ShowImg=@ShowImg, ShowText=@ShowText, WarningHighLimit=@WarningHighLimit, WarningLowLimit=@WarningLowLimit, IsSplit=@IsSplit, IsDefalultShow=@IsDefalultShow, Unit=@Unit, PhysioOrder=@PhysioOrder, YAisx=@YAisx where Id=@Id";
string sql = "Update PhysioDataConfig set HighLimit=@HighLimit, LowLimit=@LowLimit,ShowImg=@ShowImg, ShowText=@ShowText, WarningHighLimit=@WarningHighLimit, WarningLowLimit=@WarningLowLimit, IsSplit=@IsSplit, IsDefalultShow=@IsDefalultShow, Unit=@Unit, PhysioOrder=@PhysioOrder, YAisx=@YAisx, SymbolSize=@SymbolSize where Id=@Id";
SqlParameter[] para = new SqlParameter[]
{
new SqlParameter("@Id",physioDataConfig.Id), new SqlParameter("@HighLimit",physioDataConfig.HighLimit), new SqlParameter("@LowLimit",physioDataConfig.LowLimit), new SqlParameter("@ShowImg",physioDataConfig.ShowImg), new SqlParameter("@ShowText",physioDataConfig.ShowText), new SqlParameter("@WarningHighLimit",physioDataConfig.WarningHighLimit), new SqlParameter("@WarningLowLimit",physioDataConfig.WarningLowLimit), new SqlParameter("@IsSplit",physioDataConfig.IsSplit), new SqlParameter("@IsDefalultShow",physioDataConfig.IsDefalultShow), new SqlParameter("@Unit",physioDataConfig.Unit), new SqlParameter("@PhysioOrder",physioDataConfig.PhysioOrder), new SqlParameter("@YAisx",physioDataConfig.YAisx)
new SqlParameter("@Id",physioDataConfig.Id), new SqlParameter("@HighLimit",physioDataConfig.HighLimit), new SqlParameter("@LowLimit",physioDataConfig.LowLimit), new SqlParameter("@ShowImg",physioDataConfig.ShowImg), new SqlParameter("@ShowText",physioDataConfig.ShowText), new SqlParameter("@WarningHighLimit",physioDataConfig.WarningHighLimit), new SqlParameter("@WarningLowLimit",physioDataConfig.WarningLowLimit), new SqlParameter("@IsSplit",physioDataConfig.IsSplit), new SqlParameter("@IsDefalultShow",physioDataConfig.IsDefalultShow), new SqlParameter("@Unit",physioDataConfig.Unit), new SqlParameter("@PhysioOrder",physioDataConfig.PhysioOrder), new SqlParameter("@YAisx",physioDataConfig.YAisx), new SqlParameter("@SymbolSize",physioDataConfig.SymbolSize)
};
return DBHelper.ExecNonQuery(sql, para);
}
@ -882,6 +936,7 @@ namespace DrawGraph
temp.Unit = DBHelper.GetString(reader["Unit"]);
temp.PhysioOrder = DBHelper.GetInt(reader["PhysioOrder"]);
temp.YAisx = DBHelper.GetInt(reader["YAisx"]);
temp.SymbolSize = DBHelper.GetInt(reader["SymbolSize"]);
list.Add(temp);
}

View File

@ -313,35 +313,12 @@ namespace DrawGraph
{
PhysioData pdTemp = rePD(sender, e);
if (pdTemp == null) return;
bool isHave = false;
foreach (PointPair pp in myOpeRecord.SelPhysioConfig.APhysioParams)
{
if (pdTemp.isEquert(myOpeRecord.SelPhysioConfig.PointPairToPhysioData(pp)) && myOpeRecord.SelPhysioConfig.PointPairToPhysioData(pp).Value != Double.MaxValue)
{
isHave = true;
}
}
if (!isHave)
{
AnesOpeStatue = DoAnesOpeStatus.ADDPD;
DateTime insTime = GetRecordTime(pdTemp.RecordTime);
pdTemp.RecordTime = insTime;
myOpeRecord.SelPhysioConfig.AddPointItem(pdTemp);
//ZedControl.AxisChange();
ZedControl.Refresh();
}
else
{
PhysioData newPd = myOpeRecord.SelPhysioConfig.MoveItem(pdTemp);
if (newPd != null)//&& CurPhysioData.Value != newPd.Value
{
CurPhysioData = newPd;
myOpeRecord.SelPhysioConfig.ModifyItem(CurPhysioData, CurPhysioData);
//ZedControl.AxisChange();
ZedControl.Refresh();
}
CurPhysioData = pdTemp;
CurPhysioData.RecordTime = insTime;
}
myOpeRecord.SelPhysioConfig.ModifyAddItem(CurPhysioData, CurPhysioData);
ZedControl.Refresh();
}
}
else

View File

@ -95,7 +95,7 @@ namespace DrawGraph
int remarkRow = 0;
int AllRemarkRow = 0;
float fontsize = 6f;
int fontlength = 35;
int fontlength = 34;
try
{
myOpeRecord.ClearEventstr(ZedControl);
@ -168,6 +168,8 @@ namespace DrawGraph
SetRemarkInfo(myOpeRecord.EventListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength);
//用药备注
SetRemarkInfo(myOpeRecord.DrugsListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength);
//备用药
SetRemarkInfo(myOpeRecord.StandbyListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength);
//液体备注
SetRemarkInfo(myOpeRecord.SapsListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength);
//出量备注

View File

@ -1,11 +1,8 @@
using AIMSExtension;
using DevComponents.DotNetBar.Controls;
using HelperDB;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DrawGraph
@ -23,24 +20,41 @@ namespace DrawGraph
{
case "OperationRecord.AnesthesiaDoctor": //麻醉医生
PersonType = "2";
tokenEditor.DropDownHeight = 120;
break;
case "OperationRecord.OperationDoctor":
tokenEditor.DropDownHeight = 200;
PersonType = "0";
break;
case "OperationRecord.InstrumentNurse":
tokenEditor.DropDownHeight = 120;
PersonType = "3";
break;
case "OperationRecord.Assistant1":
tokenEditor.DropDownHeight = 200;
PersonType = "0";
break;
case "OperationRecord.TourNurse":
tokenEditor.DropDownHeight = 120;
PersonType = "3";
break;
case "OperationRecord.OrtherDoctorId":
tokenEditor.DropDownHeight = 120;
PersonType = "4";
break;
case "OperationRecord.Applydiagnose": //手术诊断
tokenEditor.DropDownHeight = 340;
break;
case "OperationRecord.Applyoperation": //手术诊断
tokenEditor.DropDownHeight = 340;
break;
case "OperationRecord.Operation": //手术诊断
tokenEditor.DropDownHeight = 340;
break;
default:
tokenEditor.DropDownHeight = 200;
break;
}
DataTable dt = DBManage.GetDictDataTable(OpeRecord, txt.Text, aEdit.ControlTitleText, PersonType, (IsSearch == true ? aEdit.PackValue : ""));
tokenEditor.Tokens.Clear();

View File

@ -382,11 +382,9 @@ namespace DrawGraph
if (comboBox != null)
{
comboBox.DropDownWidth = comboBox.Width;
if (base.ClassDataSourceName == "OperationRecord.OpeRecordInfo.NeuroPlexusAround") //手术诊断
comboBox.MaxHeightLines = 1;
comboBox.SelectedTokens.Clear();
if (this.ControlTitleText == "诊断")
{
comboBox.SelectedTokens.Clear();
}
if (base.PackText.Contains(","))
{
string[] strArray1 = base.PackValue.Split(',');
@ -397,6 +395,16 @@ namespace DrawGraph
comboBox.SelectedTokens.Add(new DevComponents.DotNetBar.Controls.EditToken(strArray1[i], strArray[i]));
}
}
else if (base.PackText.Contains("+") && this.ControlTitleText == "麻醉方式")//
{
string[] strArray1 = base.PackValue.Split('+');
string[] strArray = base.PackText.Split('+');
for (int i = 0; i < strArray.Length; i++)
{
comboBox.SelectedTokens.Add(new DevComponents.DotNetBar.Controls.EditToken(strArray1[i], strArray[i]));
}
}
else if (base.PackText != "")
{
comboBox.SelectedTokens.Add(new DevComponents.DotNetBar.Controls.EditToken(base.PackValue, base.PackText));

View File

@ -263,8 +263,6 @@ namespace DrawGraph
zgcAnas.MasterPane.GraphObjList.Remove(zgcAnas.MasterPane.GraphObjList["B" + TextPrefix.AR + tagName]);
}
//double yAr = y + 0.002;
//double yAr = y + 0.009;
double yAr = y + 0.005;
//当加药开始时间和结束时间相等

View File

@ -203,7 +203,7 @@ namespace DrawGraph
public static void DrawLine2(double x1, double y1, double x2, double y2, ZedGraphControl zedGraph, string tag, Color LineColor)
{
LineObj line = new LineObj(LineColor, x1, y1, x2, y2);
line.Line.Width = 2;
line.Line.Width = 1.5f;
line.IsVisible = true;
line.ZOrder = ZOrder.A_InFront;
line.Location.AlignH = AlignH.Left;
@ -228,7 +228,7 @@ namespace DrawGraph
public static void DrawArrow(Color c, float fontSize, double x1, double y1, double x2, double y2, ZedGraphControl zedGraph, bool hasArrowHead, string tag, bool IsArrowHead)
{
ArrowObj arrow = new ArrowObj(c, 7f, x1, y1, x2, y2);
arrow.Line.Width = 2;
arrow.Line.Width = 1.5f;
arrow.ZOrder = ZOrder.A_InFront;
arrow.Location.AlignH = AlignH.Left;
arrow.Location.AlignV = AlignV.Top;
@ -386,7 +386,7 @@ namespace DrawGraph
/// <param name="zedGraph">ZedGraphControl</param>
/// <param name="tag">曲线标签</param>
/// <returns></returns>
public static LineItem AddCurve(string label, IPointList pointList, Color color, string symbolResName, bool hasLine, ZedGraphControl zedGraph, string tag)
public static LineItem AddCurve(string label, IPointList pointList, Color color, string symbolResName, bool hasLine, ZedGraphControl zedGraph, string tag,float SymbolSize)
{
LineItem curve = zedGraph.GraphPane.AddCurve(label, pointList, color, SymbolType.None);
if (!hasLine)
@ -394,7 +394,7 @@ namespace DrawGraph
curve.Line.IsVisible = false;
}
curve.Tag = tag;
new ZUtil().FillCurveSymbol(curve, symbolResName);
new ZUtil().FillCurveSymbol(curve, symbolResName,SymbolSize);
return curve;
}
/// <summary>
@ -402,10 +402,10 @@ namespace DrawGraph
/// </summary>
/// <param name="curve">要填充的LineItem</param>
/// <param name="symbolResName">填充的图片文件在资源文件中的名字</param>
public void FillCurveSymbol(LineItem curve, string symbolResName)
public void FillCurveSymbol(LineItem curve, string symbolResName,float SymbolSize)
{
curve.Symbol.Type = SymbolType.Circle;
curve.Symbol.Size = 6;
curve.Symbol.Size = SymbolSize;
curve.Symbol.Border.IsVisible = false;
curve.Symbol.Fill = new Fill(getImage(symbolResName), System.Drawing.Drawing2D.WrapMode.Clamp);