拖拽断点问题 氧饱和度超出范围问题
术前绑定影像结论 复制粘贴 术前访视单回写ASA分级 CORN术中获得性压力性损伤风险评估量表分数计算 参数控制麻醉记录单用药线粗细 左侧药品名称大小 手术医生字母排序
This commit is contained in:
parent
b8834330f9
commit
96c82888bb
@ -31,7 +31,7 @@ namespace DataDictionary.UI
|
|||||||
cboDosageUnit.DisplayMember = "Name";
|
cboDosageUnit.DisplayMember = "Name";
|
||||||
cboDosageUnit.ValueMember = "Name";
|
cboDosageUnit.ValueMember = "Name";
|
||||||
cboDosageUnit.SelectedIndex = -1;
|
cboDosageUnit.SelectedIndex = -1;
|
||||||
List<BasicDictionary> _channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径").SubItem;
|
List<BasicDictionary> _channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径","asc").SubItem;
|
||||||
_channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
_channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
txtChannel.DataSource = _channelList;
|
txtChannel.DataSource = _channelList;
|
||||||
txtChannel.DisplayMember = "Name";
|
txtChannel.DisplayMember = "Name";
|
||||||
|
|||||||
@ -139,7 +139,7 @@ namespace AIMS.PublicUI.UI
|
|||||||
{
|
{
|
||||||
if (ControlExtension._channelList == null)
|
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._channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
ControlExtension._drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
|
ControlExtension._drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
|
||||||
ControlExtension._drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
ControlExtension._drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
@ -378,20 +378,21 @@ namespace AIMS.PublicUI.UI
|
|||||||
if (_dataGridView.Rows.Count != 0 && _dataGridView.Rows[_dataGridView.Rows.Count - 1].Cells[3].EditedFormattedValue.ToString() == "")
|
if (_dataGridView.Rows.Count != 0 && _dataGridView.Rows[_dataGridView.Rows.Count - 1].Cells[3].EditedFormattedValue.ToString() == "")
|
||||||
{
|
{
|
||||||
_dataGridView.Rows.Insert(_dataGridView.Rows.Count - 1, dr);
|
_dataGridView.Rows.Insert(_dataGridView.Rows.Count - 1, dr);
|
||||||
if (dr.Cells[10].EditedFormattedValue.ToString() == "")
|
|
||||||
{
|
|
||||||
_dataGridView.CurrentCell = dr.Cells[10];
|
|
||||||
_dataGridView.BeginEdit(true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_dataGridView.Rows.Add(dr);
|
_dataGridView.Rows.Add(dr);
|
||||||
if (dr.Cells[10].EditedFormattedValue.ToString() == "")
|
}
|
||||||
{
|
if (dr.Cells[5].EditedFormattedValue.ToString() == "吸入")
|
||||||
_dataGridView.CurrentCell = dr.Cells[10];
|
{
|
||||||
_dataGridView.BeginEdit(true);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -758,8 +759,13 @@ namespace AIMS.PublicUI.UI
|
|||||||
if (e.ColumnIndex == 8)
|
if (e.ColumnIndex == 8)
|
||||||
{
|
{
|
||||||
if (_dataGridView.CurrentCell == null || _dataGridView.CurrentRow.Cells[8].EditedFormattedValue.ToString() == "") return;
|
if (_dataGridView.CurrentCell == null || _dataGridView.CurrentRow.Cells[8].EditedFormattedValue.ToString() == "") return;
|
||||||
if (_dataGridView.CurrentRow.Cells[9].EditedFormattedValue.ToString() == "") _dataGridView.CurrentRow.Cells[9].Value = 85;
|
if (_dataGridView.CurrentRow.Cells[9].EditedFormattedValue.ToString() == "") _dataGridView.CurrentRow.Cells[9].Value = "ml/h";
|
||||||
_dataGridView.CurrentRow.Cells[11].Value = null;
|
//_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>
|
/// <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].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[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[4].Value = dgvYP.Rows[index].Cells["Remark"].Value.ToString();
|
||||||
_dataGridView.CurrentRow.Cells[5].Value = dgvYP.Rows[index].Cells["Channel"].Value.ToString();
|
_dataGridView.CurrentRow.Cells[5].Value = dgvYP.Rows[index].Cells["Channel"].Value.ToString();
|
||||||
if (_dataGridView.CurrentRow.Cells[2].Value.ToString() == "血液制品")
|
if (_dataGridView.CurrentRow.Cells[2].Value.ToString() == "血液制品")
|
||||||
@ -1539,6 +1544,10 @@ namespace AIMS.PublicUI.UI
|
|||||||
{
|
{
|
||||||
_dataGridView.CurrentRow.Cells[12].ReadOnly = true;//血型
|
_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() != "")
|
// if (dgvYP.Rows[index].Cells["DosageUnit"].Value.ToString() != "")
|
||||||
//{
|
//{
|
||||||
// _dataGridView.CurrentRow.Cells[11].Value = BBasicDictionary.GetDrugsUntiIdByUnitName(dgvYP.Rows[index].Cells["DosageUnit"].Value.ToString().Trim());
|
// _dataGridView.CurrentRow.Cells[11].Value = BBasicDictionary.GetDrugsUntiIdByUnitName(dgvYP.Rows[index].Cells["DosageUnit"].Value.ToString().Trim());
|
||||||
@ -1554,7 +1563,10 @@ namespace AIMS.PublicUI.UI
|
|||||||
index = 0;
|
index = 0;
|
||||||
dgvYP.Visible = false;
|
dgvYP.Visible = false;
|
||||||
AddNewNullRows();
|
AddNewNullRows();
|
||||||
_dataGridView.CurrentCell = _dataGridView.CurrentRow.Cells[10];
|
if (dgvYP.Rows[index].Cells["Channel"].Value.ToString() == "吸入")
|
||||||
|
_dataGridView.CurrentCell = _dataGridView.CurrentRow.Cells[6];
|
||||||
|
else
|
||||||
|
_dataGridView.CurrentCell = _dataGridView.CurrentRow.Cells[10];
|
||||||
_dataGridView.BeginEdit(false);
|
_dataGridView.BeginEdit(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -221,6 +221,7 @@ namespace AIMS.PublicUI.UI
|
|||||||
this.dgvEvents.CurrentCellDirtyStateChanged += new System.EventHandler(this.dgvEvents_CurrentCellDirtyStateChanged);
|
this.dgvEvents.CurrentCellDirtyStateChanged += new System.EventHandler(this.dgvEvents_CurrentCellDirtyStateChanged);
|
||||||
this.dgvEvents.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvEvents_DataError);
|
this.dgvEvents.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvEvents_DataError);
|
||||||
this.dgvEvents.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgvEvents_EditingControlShowing);
|
this.dgvEvents.EditingControlShowing += new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgvEvents_EditingControlShowing);
|
||||||
|
this.dgvEvents.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvEvents_RowsAdded);
|
||||||
//
|
//
|
||||||
// TypeName
|
// TypeName
|
||||||
//
|
//
|
||||||
|
|||||||
@ -282,12 +282,29 @@ namespace AIMS.PublicUI.UI
|
|||||||
//判断如果事件名称列内容发生变化时(输入关键字),设置显示查询结果的控件的位置及内容
|
//判断如果事件名称列内容发生变化时(输入关键字),设置显示查询结果的控件的位置及内容
|
||||||
if (dgvEvents.CurrentCell != null && dgvEvents.CurrentCell.Tag != null && dgvEvents.CurrentCell.ColumnIndex == 1)
|
if (dgvEvents.CurrentCell != null && dgvEvents.CurrentCell.Tag != null && dgvEvents.CurrentCell.ColumnIndex == 1)
|
||||||
{
|
{
|
||||||
if ("56,60,61,154,10,11".Contains(dgvEvents.CurrentCell.Tag.ToString())) return;
|
//if ("56,60,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())
|
if (dgvEvents.CurrentCell.Tag != null && BEvents.SelectSingle(int.Parse(dgvEvents.CurrentCell.Tag.ToString())).Name != dgvEvents.CurrentCell.Value.ToString())
|
||||||
{
|
{
|
||||||
dgvEvents.CurrentCell.Tag = null;
|
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 )
|
//if (dgvEvents.CurrentCell != null && dgvEvents.CurrentCell.ColumnIndex == 2 )
|
||||||
//{
|
//{
|
||||||
// DataGridViewCell s = dgvEvents.CurrentCell as DataGridViewCell;
|
// 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)
|
private void btnDelete_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (dgvEvents.CurrentRow != null && dgvEvents.CurrentRow.Tag != null)
|
if (dgvEvents.CurrentRow != null && dgvEvents.CurrentRow.Tag != null)
|
||||||
@ -402,7 +367,7 @@ namespace AIMS.PublicUI.UI
|
|||||||
{
|
{
|
||||||
b = true;
|
b = true;
|
||||||
}
|
}
|
||||||
if (objectName=="插管" || objectName=="拔管"|| objectName=="喉罩")
|
if (objectName == "插管" || objectName == "拔管" || objectName == "喉罩")
|
||||||
{
|
{
|
||||||
b = false;
|
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)
|
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
|
public class DataGridViewComboEditTipBoxColumn : DataGridViewComboBoxColumn
|
||||||
|
|||||||
@ -113,7 +113,7 @@ namespace AIMS.PublicUI.UI
|
|||||||
{
|
{
|
||||||
if (ControlExtension._channelList == null)
|
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._channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
ControlExtension._drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
|
ControlExtension._drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
|
||||||
ControlExtension._drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
ControlExtension._drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
|
|||||||
@ -126,6 +126,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
ade.Unit = item.Cells[13].Value.ToString();
|
ade.Unit = item.Cells[13].Value.ToString();
|
||||||
ade.YAisx = int.Parse(item.Cells[14].Value.ToString());
|
ade.YAisx = int.Parse(item.Cells[14].Value.ToString());
|
||||||
ade.PhysioOrder = int.Parse(item.Cells[15].Value.ToString());
|
ade.PhysioOrder = int.Parse(item.Cells[15].Value.ToString());
|
||||||
|
ade.SymbolSize = float.Parse(item.Cells[16].Value.ToString());
|
||||||
PhysioDataConfig.UpdatePhysioDataConfig(ade);
|
PhysioDataConfig.UpdatePhysioDataConfig(ade);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
530
AIMS/OperationAanesthesia/frmPhysiosSetting.designer.cs
generated
530
AIMS/OperationAanesthesia/frmPhysiosSetting.designer.cs
generated
@ -30,31 +30,15 @@ namespace AIMS.OperationAanesthesia
|
|||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = 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));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmPhysiosSetting));
|
||||||
this.btnSave = new DevComponents.DotNetBar.ButtonX();
|
this.btnSave = new DevComponents.DotNetBar.ButtonX();
|
||||||
this.btnDelete = new DevComponents.DotNetBar.ButtonX();
|
this.btnDelete = new DevComponents.DotNetBar.ButtonX();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
|
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||||
this.label1 = new System.Windows.Forms.Label();
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl();
|
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.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
|
||||||
this.panelExZKZB = new DevComponents.DotNetBar.PanelEx();
|
this.panelExZKZB = new DevComponents.DotNetBar.PanelEx();
|
||||||
this.dgvSetting = new DevComponents.DotNetBar.Controls.DataGridViewX();
|
this.dgvSetting = new DevComponents.DotNetBar.Controls.DataGridViewX();
|
||||||
@ -74,10 +58,28 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.Unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.Unit = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
this.YAisx = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
|
this.YAisx = new DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn();
|
||||||
this.PhysioOrder = 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.spJHYCS = new DevComponents.DotNetBar.SuperTabItem();
|
||||||
this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
|
this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
|
||||||
this.panelJHYSJXS = new DevComponents.DotNetBar.PanelEx();
|
this.panelJHYSJXS = new DevComponents.DotNetBar.PanelEx();
|
||||||
this.spJHYSJXS = new DevComponents.DotNetBar.SuperTabItem();
|
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.colorDialog1 = new System.Windows.Forms.ColorDialog();
|
||||||
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
||||||
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||||
@ -92,18 +94,18 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.panel1.SuspendLayout();
|
this.panel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
|
||||||
this.superTabControl1.SuspendLayout();
|
this.superTabControl1.SuspendLayout();
|
||||||
this.superTabControlPanel3.SuspendLayout();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvMZTZ)).BeginInit();
|
|
||||||
this.superTabControlPanel1.SuspendLayout();
|
this.superTabControlPanel1.SuspendLayout();
|
||||||
this.panelExZKZB.SuspendLayout();
|
this.panelExZKZB.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvSetting)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgvSetting)).BeginInit();
|
||||||
this.superTabControlPanel2.SuspendLayout();
|
this.superTabControlPanel2.SuspendLayout();
|
||||||
|
this.superTabControlPanel3.SuspendLayout();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dgvMZTZ)).BeginInit();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// btnSave
|
// btnSave
|
||||||
//
|
//
|
||||||
this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
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.Name = "btnSave";
|
||||||
this.btnSave.Size = new System.Drawing.Size(87, 30);
|
this.btnSave.Size = new System.Drawing.Size(87, 30);
|
||||||
this.btnSave.TabIndex = 3;
|
this.btnSave.TabIndex = 3;
|
||||||
@ -113,7 +115,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
// btnDelete
|
// btnDelete
|
||||||
//
|
//
|
||||||
this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
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.Name = "btnDelete";
|
||||||
this.btnDelete.Size = new System.Drawing.Size(87, 30);
|
this.btnDelete.Size = new System.Drawing.Size(87, 30);
|
||||||
this.btnDelete.TabIndex = 4;
|
this.btnDelete.TabIndex = 4;
|
||||||
@ -123,6 +125,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
// panel1
|
// panel1
|
||||||
//
|
//
|
||||||
this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
|
this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||||
|
this.panel1.Controls.Add(this.panelEx1);
|
||||||
this.panel1.Controls.Add(this.label1);
|
this.panel1.Controls.Add(this.label1);
|
||||||
this.panel1.Controls.Add(this.btnDelete);
|
this.panel1.Controls.Add(this.btnDelete);
|
||||||
this.panel1.Controls.Add(this.btnSave);
|
this.panel1.Controls.Add(this.btnSave);
|
||||||
@ -133,11 +136,29 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.panel1.Size = new System.Drawing.Size(1152, 49);
|
this.panel1.Size = new System.Drawing.Size(1152, 49);
|
||||||
this.panel1.TabIndex = 5;
|
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
|
// label1
|
||||||
//
|
//
|
||||||
this.label1.AutoSize = true;
|
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.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.Name = "label1";
|
||||||
this.label1.Size = new System.Drawing.Size(88, 25);
|
this.label1.Size = new System.Drawing.Size(88, 25);
|
||||||
this.label1.TabIndex = 5;
|
this.label1.TabIndex = 5;
|
||||||
@ -160,9 +181,9 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||||
this.superTabControl1.ControlBox.MenuBox,
|
this.superTabControl1.ControlBox.MenuBox,
|
||||||
this.superTabControl1.ControlBox.CloseBox});
|
this.superTabControl1.ControlBox.CloseBox});
|
||||||
|
this.superTabControl1.Controls.Add(this.superTabControlPanel1);
|
||||||
this.superTabControl1.Controls.Add(this.superTabControlPanel2);
|
this.superTabControl1.Controls.Add(this.superTabControlPanel2);
|
||||||
this.superTabControl1.Controls.Add(this.superTabControlPanel3);
|
this.superTabControl1.Controls.Add(this.superTabControlPanel3);
|
||||||
this.superTabControl1.Controls.Add(this.superTabControlPanel1);
|
|
||||||
this.superTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.superTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
this.superTabControl1.Location = new System.Drawing.Point(0, 49);
|
this.superTabControl1.Location = new System.Drawing.Point(0, 49);
|
||||||
this.superTabControl1.Name = "superTabControl1";
|
this.superTabControl1.Name = "superTabControl1";
|
||||||
@ -177,202 +198,6 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.spMZSMTZ,
|
this.spMZSMTZ,
|
||||||
this.spJHYSJXS});
|
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
|
// superTabControlPanel1
|
||||||
//
|
//
|
||||||
this.superTabControlPanel1.Controls.Add(this.panelExZKZB);
|
this.superTabControlPanel1.Controls.Add(this.panelExZKZB);
|
||||||
@ -423,15 +248,16 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.IsDefalultShow,
|
this.IsDefalultShow,
|
||||||
this.Unit,
|
this.Unit,
|
||||||
this.YAisx,
|
this.YAisx,
|
||||||
this.PhysioOrder});
|
this.PhysioOrder,
|
||||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
this.SymbolSize});
|
||||||
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
|
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||||
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
|
||||||
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
|
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||||
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||||
this.dgvSetting.DefaultCellStyle = dataGridViewCellStyle6;
|
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||||
|
this.dgvSetting.DefaultCellStyle = dataGridViewCellStyle1;
|
||||||
this.dgvSetting.Dock = System.Windows.Forms.DockStyle.Fill;
|
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.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
||||||
this.dgvSetting.Location = new System.Drawing.Point(0, 0);
|
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.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
this.PhysioOrder.Width = 70;
|
this.PhysioOrder.Width = 70;
|
||||||
//
|
//
|
||||||
|
// SymbolSize
|
||||||
|
//
|
||||||
|
this.SymbolSize.DataPropertyName = "SymbolSize";
|
||||||
|
this.SymbolSize.HeaderText = "图例大小";
|
||||||
|
this.SymbolSize.Name = "SymbolSize";
|
||||||
|
//
|
||||||
// spJHYCS
|
// spJHYCS
|
||||||
//
|
//
|
||||||
this.spJHYCS.AttachedControl = this.superTabControlPanel1;
|
this.spJHYCS.AttachedControl = this.superTabControlPanel1;
|
||||||
@ -654,6 +486,203 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.spJHYSJXS.Name = "spJHYSJXS";
|
this.spJHYSJXS.Name = "spJHYSJXS";
|
||||||
this.spJHYSJXS.Text = "当前术间参数设置";
|
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
|
// imageList1
|
||||||
//
|
//
|
||||||
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
|
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
|
||||||
@ -751,6 +780,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.dataGridViewTextBoxColumn6.HeaderText = "上限";
|
this.dataGridViewTextBoxColumn6.HeaderText = "上限";
|
||||||
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
|
||||||
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
this.dataGridViewTextBoxColumn6.ReadOnly = true;
|
||||||
|
this.dataGridViewTextBoxColumn6.Visible = false;
|
||||||
this.dataGridViewTextBoxColumn6.Width = 70;
|
this.dataGridViewTextBoxColumn6.Width = 70;
|
||||||
//
|
//
|
||||||
// dataGridViewTextBoxColumn7
|
// dataGridViewTextBoxColumn7
|
||||||
@ -766,6 +796,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.dataGridViewTextBoxColumn8.DataPropertyName = "WarningHighLimit";
|
this.dataGridViewTextBoxColumn8.DataPropertyName = "WarningHighLimit";
|
||||||
this.dataGridViewTextBoxColumn8.HeaderText = "报警上限";
|
this.dataGridViewTextBoxColumn8.HeaderText = "报警上限";
|
||||||
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
|
||||||
|
this.dataGridViewTextBoxColumn8.ReadOnly = true;
|
||||||
this.dataGridViewTextBoxColumn8.Width = 60;
|
this.dataGridViewTextBoxColumn8.Width = 60;
|
||||||
//
|
//
|
||||||
// dataGridViewTextBoxColumn9
|
// dataGridViewTextBoxColumn9
|
||||||
@ -773,6 +804,7 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.dataGridViewTextBoxColumn9.DataPropertyName = "WarningLowLimit";
|
this.dataGridViewTextBoxColumn9.DataPropertyName = "WarningLowLimit";
|
||||||
this.dataGridViewTextBoxColumn9.HeaderText = "报警下限";
|
this.dataGridViewTextBoxColumn9.HeaderText = "报警下限";
|
||||||
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
|
||||||
|
this.dataGridViewTextBoxColumn9.Resizable = System.Windows.Forms.DataGridViewTriState.True;
|
||||||
this.dataGridViewTextBoxColumn9.Width = 60;
|
this.dataGridViewTextBoxColumn9.Width = 60;
|
||||||
//
|
//
|
||||||
// frmPhysiosSetting
|
// frmPhysiosSetting
|
||||||
@ -790,12 +822,12 @@ namespace AIMS.OperationAanesthesia
|
|||||||
this.panel1.PerformLayout();
|
this.panel1.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
|
||||||
this.superTabControl1.ResumeLayout(false);
|
this.superTabControl1.ResumeLayout(false);
|
||||||
this.superTabControlPanel3.ResumeLayout(false);
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvMZTZ)).EndInit();
|
|
||||||
this.superTabControlPanel1.ResumeLayout(false);
|
this.superTabControlPanel1.ResumeLayout(false);
|
||||||
this.panelExZKZB.ResumeLayout(false);
|
this.panelExZKZB.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.dgvSetting)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.dgvSetting)).EndInit();
|
||||||
this.superTabControlPanel2.ResumeLayout(false);
|
this.superTabControlPanel2.ResumeLayout(false);
|
||||||
|
this.superTabControlPanel3.ResumeLayout(false);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.dgvMZTZ)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -825,22 +857,6 @@ namespace AIMS.OperationAanesthesia
|
|||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
|
||||||
private System.Windows.Forms.ColorDialog colorDialog1;
|
private System.Windows.Forms.ColorDialog colorDialog1;
|
||||||
private System.Windows.Forms.ImageList imageList1;
|
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.SuperTabControlPanel superTabControlPanel3;
|
||||||
private DevComponents.DotNetBar.SuperTabItem spMZSMTZ;
|
private DevComponents.DotNetBar.SuperTabItem spMZSMTZ;
|
||||||
private DevComponents.DotNetBar.Controls.DataGridViewX dgvMZTZ;
|
private DevComponents.DotNetBar.Controls.DataGridViewX dgvMZTZ;
|
||||||
@ -858,5 +874,23 @@ namespace AIMS.OperationAanesthesia
|
|||||||
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn dataGridViewCheckBoxXColumn4;
|
private DevComponents.DotNetBar.Controls.DataGridViewCheckBoxXColumn dataGridViewCheckBoxXColumn4;
|
||||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
|
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
|
||||||
private DevComponents.DotNetBar.Controls.DataGridViewIntegerInputColumn dataGridViewIntegerInputColumn6;
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -117,48 +117,6 @@
|
|||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</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">
|
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
@ -207,6 +165,51 @@
|
|||||||
<metadata name="PhysioOrder.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="PhysioOrder.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
</metadata>
|
</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">
|
<metadata name="colorDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
@ -218,7 +221,7 @@
|
|||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABM
|
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABM
|
||||||
LgAAAk1TRnQBSQFMAgEBLwEAAWgBAAFoAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
LgAAAk1TRnQBSQFMAgEBLwEAAYABAAGAAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||||
AwABQAMAAcADAAEBAQABCAYAATAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
AwABQAMAAcADAAEBAQABCAYAATAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
||||||
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
||||||
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
||||||
|
|||||||
@ -38,7 +38,6 @@
|
|||||||
this.tsbExit = new System.Windows.Forms.ToolStripButton();
|
this.tsbExit = new System.Windows.Forms.ToolStripButton();
|
||||||
this.panel1 = new System.Windows.Forms.Panel();
|
this.panel1 = new System.Windows.Forms.Panel();
|
||||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||||
this.tokenEditor1 = new DevComponents.DotNetBar.Controls.TokenEditor();
|
|
||||||
this.label23 = new System.Windows.Forms.Label();
|
this.label23 = new System.Windows.Forms.Label();
|
||||||
this.label28 = new System.Windows.Forms.Label();
|
this.label28 = new System.Windows.Forms.Label();
|
||||||
this.txtOperationRemark = new System.Windows.Forms.TextBox();
|
this.txtOperationRemark = new System.Windows.Forms.TextBox();
|
||||||
@ -230,7 +229,6 @@
|
|||||||
//
|
//
|
||||||
// groupBox2
|
// groupBox2
|
||||||
//
|
//
|
||||||
this.groupBox2.Controls.Add(this.tokenEditor1);
|
|
||||||
this.groupBox2.Controls.Add(this.label23);
|
this.groupBox2.Controls.Add(this.label23);
|
||||||
this.groupBox2.Controls.Add(this.label28);
|
this.groupBox2.Controls.Add(this.label28);
|
||||||
this.groupBox2.Controls.Add(this.txtOperationRemark);
|
this.groupBox2.Controls.Add(this.txtOperationRemark);
|
||||||
@ -293,33 +291,6 @@
|
|||||||
this.groupBox2.TabStop = false;
|
this.groupBox2.TabStop = false;
|
||||||
this.groupBox2.Text = "手术基本信息";
|
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
|
// label23
|
||||||
//
|
//
|
||||||
this.label23.AutoSize = true;
|
this.label23.AutoSize = true;
|
||||||
@ -1379,6 +1350,5 @@
|
|||||||
public System.Windows.Forms.ToolStripButton tsbCancel;
|
public System.Windows.Forms.ToolStripButton tsbCancel;
|
||||||
private System.Windows.Forms.RadioButton rboRJ;
|
private System.Windows.Forms.RadioButton rboRJ;
|
||||||
public System.Windows.Forms.ComboBox cboPatientType;
|
public System.Windows.Forms.ComboBox cboPatientType;
|
||||||
private DevComponents.DotNetBar.Controls.TokenEditor tokenEditor1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -146,9 +146,6 @@ namespace AIMS.OperationFront.UI
|
|||||||
{
|
{
|
||||||
ApplyOperationInfo info = SelectOperationData[i];
|
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)
|
if (i == 0)
|
||||||
{
|
{
|
||||||
@ -1401,71 +1398,5 @@ namespace AIMS.OperationFront.UI
|
|||||||
dtpOrderOperationTime.Text = DateTime.Now.AddDays(1).ToString("yyyy-MM-dd HH:mm");
|
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);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
74
AIMS/OremrUserControl/ucDocument.Designer.cs
generated
74
AIMS/OremrUserControl/ucDocument.Designer.cs
generated
@ -58,9 +58,14 @@
|
|||||||
this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.toolStripMenuItem8 = 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();
|
this.toolStrip1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).BeginInit();
|
||||||
this.cmEdit.SuspendLayout();
|
this.cmEdit.SuspendLayout();
|
||||||
|
this.panelExPacs.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// toolStrip1
|
// toolStrip1
|
||||||
@ -301,10 +306,74 @@
|
|||||||
this.toolStripMenuItem8.Name = "toolStripMenuItem8";
|
this.toolStripMenuItem8.Name = "toolStripMenuItem8";
|
||||||
this.toolStripMenuItem8.Size = new System.Drawing.Size(121, 6);
|
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
|
// ucDocument
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.Controls.Add(this.panelExPacs);
|
||||||
this.Controls.Add(this.myEditControl);
|
this.Controls.Add(this.myEditControl);
|
||||||
this.Controls.Add(this.toolStrip1);
|
this.Controls.Add(this.toolStrip1);
|
||||||
this.Margin = new System.Windows.Forms.Padding(2);
|
this.Margin = new System.Windows.Forms.Padding(2);
|
||||||
@ -315,6 +384,7 @@
|
|||||||
this.toolStrip1.PerformLayout();
|
this.toolStrip1.PerformLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).EndInit();
|
||||||
this.cmEdit.ResumeLayout(false);
|
this.cmEdit.ResumeLayout(false);
|
||||||
|
this.panelExPacs.ResumeLayout(false);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
this.PerformLayout();
|
this.PerformLayout();
|
||||||
|
|
||||||
@ -349,5 +419,9 @@
|
|||||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
||||||
public System.Windows.Forms.ToolStrip toolStrip1;
|
public System.Windows.Forms.ToolStrip toolStrip1;
|
||||||
public DCSoft.Writer.Controls.WriterControl myEditControl;
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -87,6 +87,7 @@ namespace AIMS.OremrUserControl
|
|||||||
myEditControl.DocumentContentChanged += new WriterEventHandler(myEditControl_DocumentContentChanged);
|
myEditControl.DocumentContentChanged += new WriterEventHandler(myEditControl_DocumentContentChanged);
|
||||||
myEditControl.AfterExecuteCommand += new DCSoft.Writer.Commands.WriterCommandEventHandler(myEditControl_AfterExecuteCommand);
|
myEditControl.AfterExecuteCommand += new DCSoft.Writer.Commands.WriterCommandEventHandler(myEditControl_AfterExecuteCommand);
|
||||||
|
|
||||||
|
|
||||||
if (DModel.Id > 0)
|
if (DModel.Id > 0)
|
||||||
{
|
{
|
||||||
//加载文档
|
//加载文档
|
||||||
@ -418,7 +419,7 @@ namespace AIMS.OremrUserControl
|
|||||||
num++;
|
num++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (DModel.XmlFileName == "医保患者自费项目知情同意书")
|
else if (DModel.XmlFileName == "医保患者自费项目知情同意书")
|
||||||
{
|
{
|
||||||
frmDrugSel drugSel = new frmDrugSel();
|
frmDrugSel drugSel = new frmDrugSel();
|
||||||
drugSel.IsLoad = true;
|
drugSel.IsLoad = true;
|
||||||
@ -446,7 +447,7 @@ namespace AIMS.OremrUserControl
|
|||||||
num++;
|
num++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (DModel.XmlFileName == "特需医疗服务项目医患协议书")
|
else if (DModel.XmlFileName == "特需医疗服务项目医患协议书")
|
||||||
{
|
{
|
||||||
string Result = "";
|
string Result = "";
|
||||||
string Result2 = "";
|
string Result2 = "";
|
||||||
@ -476,7 +477,7 @@ namespace AIMS.OremrUserControl
|
|||||||
if (Result2 != "") field13.Text = Result2.ToString();
|
if (Result2 != "") field13.Text = Result2.ToString();
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (DModel.XmlFileName == "自费项目治疗同意书2")
|
else if (DModel.XmlFileName == "自费项目治疗同意书2")
|
||||||
{
|
{
|
||||||
string Result = "";
|
string Result = "";
|
||||||
string Result2 = "";
|
string Result2 = "";
|
||||||
@ -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)
|
private void tsbCheckout_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (tsbCheckout.Text == " 查看痕迹")
|
if (tsbCheckout.Text == " 查看痕迹")
|
||||||
|
|||||||
@ -167,44 +167,23 @@ namespace AIMS.PublicUI.UI
|
|||||||
dgvDrugsSQ.Rows[index].Cells[18].Value = cboDrug.Checked;
|
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()
|
private void Initial()
|
||||||
{
|
{
|
||||||
_channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径").SubItem;
|
if (ControlExtension._channelList == null)
|
||||||
_channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
{
|
||||||
_drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
|
ControlExtension._channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径", "asc").SubItem;
|
||||||
_drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
ControlExtension._channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
_dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem;
|
ControlExtension._drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem;
|
||||||
_dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
ControlExtension._drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
_bloodTypeList = BBasicDictionary.GetBasicDictionaryByName("血型").SubItem;
|
ControlExtension._dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem;
|
||||||
_bloodTypeList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
ControlExtension._dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
_VelocityUnit = BBasicDictionary.GetBasicDictionaryByName("速度单位").SubItem;
|
ControlExtension._bloodTypeList = BBasicDictionary.GetBasicDictionaryByName("血型").SubItem;
|
||||||
_VelocityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
ControlExtension._bloodTypeList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
_DensityUnit = BBasicDictionary.GetBasicDictionaryByName("浓度单位").SubItem;
|
ControlExtension._VelocityUnit = BBasicDictionary.GetBasicDictionaryByName("速度单位").SubItem;
|
||||||
_DensityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
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)
|
private void SetDGVEvent(DataGridView dgv)
|
||||||
@ -256,27 +235,27 @@ namespace AIMS.PublicUI.UI
|
|||||||
//dgvDrugsSQ.Rows[e.RowIndex].Cells[0].Value = imageList1.Images[0];
|
//dgvDrugsSQ.Rows[e.RowIndex].Cells[0].Value = imageList1.Images[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
channelCell.DataSource = _channelList;
|
channelCell.DataSource = ControlExtension._channelList;
|
||||||
channelCell.DisplayMember = "Name";
|
channelCell.DisplayMember = "Name";
|
||||||
channelCell.ValueMember = "Name";
|
channelCell.ValueMember = "Name";
|
||||||
|
|
||||||
dUnitCell.DataSource = _dUnitList;
|
dUnitCell.DataSource = ControlExtension._dUnitList;
|
||||||
dUnitCell.DisplayMember = "Name";
|
dUnitCell.DisplayMember = "Name";
|
||||||
dUnitCell.ValueMember = "Name";
|
dUnitCell.ValueMember = "Name";
|
||||||
|
|
||||||
drugEffectCell.DataSource = _drugEffectList;
|
drugEffectCell.DataSource = ControlExtension._drugEffectList;
|
||||||
drugEffectCell.DisplayMember = "Name";
|
drugEffectCell.DisplayMember = "Name";
|
||||||
drugEffectCell.ValueMember = "Id";
|
drugEffectCell.ValueMember = "Id";
|
||||||
|
|
||||||
DensityUnit.DataSource = _DensityUnit;
|
DensityUnit.DataSource = ControlExtension._DensityUnit;
|
||||||
DensityUnit.DisplayMember = "Name";
|
DensityUnit.DisplayMember = "Name";
|
||||||
DensityUnit.ValueMember = "Id";
|
DensityUnit.ValueMember = "Id";
|
||||||
|
|
||||||
BloodTypeCell.DataSource = _bloodTypeList;
|
BloodTypeCell.DataSource = ControlExtension._bloodTypeList;
|
||||||
BloodTypeCell.DisplayMember = "Name";
|
BloodTypeCell.DisplayMember = "Name";
|
||||||
BloodTypeCell.ValueMember = "Id";
|
BloodTypeCell.ValueMember = "Id";
|
||||||
|
|
||||||
VelocityUnit.DataSource = _VelocityUnit;
|
VelocityUnit.DataSource = ControlExtension._VelocityUnit;
|
||||||
VelocityUnit.DisplayMember = "Name";
|
VelocityUnit.DisplayMember = "Name";
|
||||||
VelocityUnit.ValueMember = "Id";
|
VelocityUnit.ValueMember = "Id";
|
||||||
}
|
}
|
||||||
@ -658,9 +637,12 @@ namespace AIMS.PublicUI.UI
|
|||||||
public List<OutputLiquids> _outputList;
|
public List<OutputLiquids> _outputList;
|
||||||
private void BindOutPut(List<FactOutputLiquids> FactOutputLiquidsList)
|
private void BindOutPut(List<FactOutputLiquids> FactOutputLiquidsList)
|
||||||
{
|
{
|
||||||
_dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem;
|
if (ControlExtension._channelList == null)
|
||||||
_dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
{
|
||||||
_outputList = BOutputLiquids.Select(" IsValid=1", 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 = "" });
|
_outputList.Insert(0, new OutputLiquids() { Id = -1, Name = "" });
|
||||||
if (FactOutputLiquidsList.Count > 0)
|
if (FactOutputLiquidsList.Count > 0)
|
||||||
{
|
{
|
||||||
@ -762,7 +744,7 @@ namespace AIMS.PublicUI.UI
|
|||||||
nameCell.Items.Add(item.Name);
|
nameCell.Items.Add(item.Name);
|
||||||
}
|
}
|
||||||
|
|
||||||
unitCell.DataSource = _dUnitList;
|
unitCell.DataSource = ControlExtension._dUnitList;
|
||||||
unitCell.DisplayMember = "Name";
|
unitCell.DisplayMember = "Name";
|
||||||
unitCell.ValueMember = "Name";
|
unitCell.ValueMember = "Name";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,12 +17,12 @@ namespace AIMSBLL
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="name">字典名称</param>
|
/// <param name="name">字典名称</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static BasicDictionary GetBasicDictionaryByName(string name)
|
public static BasicDictionary GetBasicDictionaryByName(string name,string Order="desc")
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
BasicDictionary bd = BBasicDictionary.SelectSingle(" IsValid=1 and ParentId=0 and Name=@name", new ParameterList("@name", name), RecursiveType.None, 0);
|
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 = "" });
|
//bd.SubItem.Insert(0, new BasicDictionary() { Id = -1, Name = "" });
|
||||||
return bd;
|
return bd;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -808,6 +808,20 @@ namespace DocumentManagement
|
|||||||
throw ex;
|
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>
|
/// <summary>
|
||||||
|
|||||||
@ -236,7 +236,31 @@ namespace DocumentManagement
|
|||||||
string strH = hf == null ? "" : hf.Text;
|
string strH = hf == null ? "" : hf.Text;
|
||||||
UpdateASA(Patient.ApplyId, strASA, strH);
|
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 asaname = "";
|
||||||
string niyme = "";
|
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)
|
public static void AddAnaesthesiaMethod(PatientRecord _operationRecord, string AnaesthesiaMethod)
|
||||||
{
|
{
|
||||||
if (AnaesthesiaMethod.Trim() == "" || AnaesthesiaMethod == "+")
|
if (AnaesthesiaMethod.Trim() == "" || AnaesthesiaMethod == "+")
|
||||||
|
|||||||
@ -12,6 +12,10 @@ using System.Windows.Forms;
|
|||||||
using System.Runtime.CompilerServices;
|
using System.Runtime.CompilerServices;
|
||||||
using System.Xml;
|
using System.Xml;
|
||||||
using HelperDB;
|
using HelperDB;
|
||||||
|
using AxNsoOfficeLib;
|
||||||
|
using System.Drawing;
|
||||||
|
using DocumentManagement.UI;
|
||||||
|
using System.Xml.Linq;
|
||||||
|
|
||||||
namespace DocumentManagement
|
namespace DocumentManagement
|
||||||
{
|
{
|
||||||
@ -154,6 +158,11 @@ namespace DocumentManagement
|
|||||||
MessageBox.Show(exp.StackTrace + ":" + exp.Message);
|
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)
|
void eetChk_MouseClick(object eventSender, ElementMouseEventArgs args)
|
||||||
@ -181,36 +190,76 @@ namespace DocumentManagement
|
|||||||
|
|
||||||
private void Eet_MouseDblClick(object eventSender, ElementMouseEventArgs args)
|
private void Eet_MouseDblClick(object eventSender, ElementMouseEventArgs args)
|
||||||
{
|
{
|
||||||
if (eventSender is XTextImageElement)
|
if (args.Element is XTextInputFieldElement)
|
||||||
{
|
{
|
||||||
frmSelectPersonDoc personDoc = new frmSelectPersonDoc();
|
var element = args.Element as XTextInputFieldElement;
|
||||||
personDoc.PersonType = (eventSender as XTextImageElement).Alt == "" ? "麻醉医生" : (eventSender as XTextImageElement).Alt;
|
if (element != null && element.Name == "Pacs")
|
||||||
personDoc.ShowDialog();
|
|
||||||
if (personDoc.SelectPersonData > 0)
|
|
||||||
{
|
{
|
||||||
int PersonId = personDoc.SelectPersonData;
|
var patientId = element.WriterControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
|
||||||
string SignatureStr = GetSignatureStr(PersonId);
|
&& (x as XTextInputFieldElement).ID == "KB20180604104209620").FirstOrDefault();
|
||||||
DCSoft.Drawing.XImageValue img = new DCSoft.Drawing.XImageValue();
|
ShowPacsText showPacsText = new ShowPacsText();
|
||||||
img.ImageDataBase64String = SignatureStr;
|
showPacsText.element = element;
|
||||||
(eventSender as XTextImageElement).Image = img;
|
showPacsText.PatientNo = patientId.Text;
|
||||||
(eventSender as XTextImageElement).Alt = "麻醉医生";
|
showPacsText.ShowDialog();
|
||||||
(eventSender as XTextImageElement).Title = PersonId.ToString();
|
//element.WriterControl.Parent as ucDocument.
|
||||||
(eventSender as XTextImageElement).EditorRefreshView();
|
}
|
||||||
|
}
|
||||||
|
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
|
else
|
||||||
{
|
{
|
||||||
//清空图片
|
frmSelectPersonDoc personDoc = new frmSelectPersonDoc();
|
||||||
(eventSender as XTextImageElement).Image = null;
|
personDoc.PersonType = (eventSender as XTextImageElement).Alt == "" ? "麻醉医生" : (eventSender as XTextImageElement).Alt;
|
||||||
(eventSender as XTextImageElement).Alt = "麻醉医生";
|
personDoc.ShowDialog();
|
||||||
(eventSender as XTextImageElement).Title = "";
|
if (personDoc.SelectPersonData > 0)
|
||||||
(eventSender as XTextImageElement).EditorRefreshView();
|
{
|
||||||
}
|
int PersonId = personDoc.SelectPersonData;
|
||||||
|
string SignatureStr = GetSignatureStr(PersonId);
|
||||||
|
DCSoft.Drawing.XImageValue img = new DCSoft.Drawing.XImageValue();
|
||||||
|
img.ImageDataBase64String = SignatureStr;
|
||||||
|
(eventSender as XTextImageElement).Image = img;
|
||||||
|
(eventSender as XTextImageElement).Alt = "麻醉医生";
|
||||||
|
(eventSender as XTextImageElement).Title = PersonId.ToString();
|
||||||
|
(eventSender as XTextImageElement).EditorRefreshView();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//清空图片
|
||||||
|
(eventSender as XTextImageElement).Image = null;
|
||||||
|
(eventSender as XTextImageElement).Alt = "麻醉医生";
|
||||||
|
(eventSender as XTextImageElement).Title = "";
|
||||||
|
(eventSender as XTextImageElement).EditorRefreshView();
|
||||||
|
}
|
||||||
|
|
||||||
//属性赋值判断
|
//属性赋值判断
|
||||||
// (eventSender as XTextImageElement).Image.Value==null 判断是否有图片 是否签名
|
// (eventSender as XTextImageElement).Image.Value==null 判断是否有图片 是否签名
|
||||||
// (eventSender as XTextImageElement).Alt =="签名" 改为已签名或签名ID
|
// (eventSender as XTextImageElement).Alt =="签名" 改为已签名或签名ID
|
||||||
// (eventSender as XTextImageElement).Title =="标题" 存储对应ca人员介质
|
// (eventSender as XTextImageElement).Title =="标题" 存储对应ca人员介质
|
||||||
// (eventSender as XTextImageElement).ID =="image3" 标识Id用于定位赋值图片
|
// (eventSender as XTextImageElement).ID =="image3" 标识Id用于定位赋值图片
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public string GetSignatureStr(int SelectPersonData)
|
public string GetSignatureStr(int SelectPersonData)
|
||||||
|
|||||||
@ -182,6 +182,12 @@
|
|||||||
<Compile Include="UI\frmViewSelect.Designer.cs">
|
<Compile Include="UI\frmViewSelect.Designer.cs">
|
||||||
<DependentUpon>frmViewSelect.cs</DependentUpon>
|
<DependentUpon>frmViewSelect.cs</DependentUpon>
|
||||||
</Compile>
|
</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">
|
<Compile Include="UI\ucClassify.cs">
|
||||||
<SubType>UserControl</SubType>
|
<SubType>UserControl</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@ -230,6 +236,9 @@
|
|||||||
<EmbeddedResource Include="UI\frmViewSelect.resx">
|
<EmbeddedResource Include="UI\frmViewSelect.resx">
|
||||||
<DependentUpon>frmViewSelect.cs</DependentUpon>
|
<DependentUpon>frmViewSelect.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="UI\ShowPacsText.resx">
|
||||||
|
<DependentUpon>ShowPacsText.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="UI\ucClassify.resx">
|
<EmbeddedResource Include="UI\ucClassify.resx">
|
||||||
<DependentUpon>ucClassify.cs</DependentUpon>
|
<DependentUpon>ucClassify.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
199
DocumentManagement/UI/ShowPacsText.Designer.cs
generated
Normal file
199
DocumentManagement/UI/ShowPacsText.Designer.cs
generated
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
53
DocumentManagement/UI/ShowPacsText.cs
Normal file
53
DocumentManagement/UI/ShowPacsText.cs
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
1271
DocumentManagement/UI/ShowPacsText.resx
Normal file
1271
DocumentManagement/UI/ShowPacsText.resx
Normal file
File diff suppressed because it is too large
Load Diff
@ -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 != "") 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 (HelpCode == "" && OpeRecord.DepartmentId != null) strSql += " AND p.DepId='" + OpeRecord.DepartmentId + "' ";
|
||||||
if (SelPerson != "") strSql += " AND p.Id not in (" + SelPerson + ") ";
|
if (SelPerson != "") strSql += " AND p.Id not in (" + SelPerson + ") ";
|
||||||
strSql += " order by PersonOrder asc";
|
strSql += " ORDER BY p.HelpCode ASC ";
|
||||||
}
|
}
|
||||||
else if (PersonType == "1")
|
else if (PersonType == "1")
|
||||||
{
|
{
|
||||||
|
|||||||
@ -177,6 +177,8 @@ namespace DrawGraph
|
|||||||
//超出的药画备注 镇痛药备注
|
//超出的药画备注 镇痛药备注
|
||||||
List<string> DrugListstr = new List<string>();
|
List<string> DrugListstr = new List<string>();
|
||||||
DrugListstr.Add("【手术用药】");
|
DrugListstr.Add("【手术用药】");
|
||||||
|
myOpeRecord.StandbyListstr = new List<string>();
|
||||||
|
myOpeRecord.StandbyListstr.Add("【备用药品】");
|
||||||
myOpeRecord.AfterDrugsListstr = new List<string>();
|
myOpeRecord.AfterDrugsListstr = new List<string>();
|
||||||
myOpeRecord.AfterDrugsListstr.Add("【术后镇痛药】");
|
myOpeRecord.AfterDrugsListstr.Add("【术后镇痛药】");
|
||||||
myOpeRecord.AnesBeforListstr = new List<string>();
|
myOpeRecord.AnesBeforListstr = new List<string>();
|
||||||
@ -196,9 +198,13 @@ namespace DrawGraph
|
|||||||
{
|
{
|
||||||
myOpeRecord.BeforeDrugs += string.Format("{0}{1} ", item.DrugName.Trim(), dose);
|
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 == "麻醉诱导用药")
|
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++;
|
x++;
|
||||||
}
|
}
|
||||||
else if (item.GiveDrugType == "术后镇痛药")
|
else if (item.GiveDrugType == "术后镇痛药")
|
||||||
@ -224,8 +230,8 @@ namespace DrawGraph
|
|||||||
for (int i = 0; i < _FactDrugList.Count; i++)
|
for (int i = 0; i < _FactDrugList.Count; i++)
|
||||||
{
|
{
|
||||||
FactDrug temp = _FactDrugList[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;
|
if (temp.ParentId > 0) continue;
|
||||||
bool isEqual = false;
|
bool isEqual = false;
|
||||||
bool isChildEqual = false;
|
bool isChildEqual = false;
|
||||||
|
|||||||
@ -185,7 +185,7 @@ namespace DrawGraph
|
|||||||
{
|
{
|
||||||
if (this.DensityUnit != null && this.DensityUnit != "") DensityStr += this.DensityUnit;
|
if (this.DensityUnit != null && this.DensityUnit != "") DensityStr += this.DensityUnit;
|
||||||
s = (DensityStr + " " + VelocityStr).Trim();
|
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 (this.VelocityUnit != null && this.VelocityUnit != "") s += this.VelocityUnit;
|
||||||
}
|
}
|
||||||
if ((EqualDose == null || EqualDose == ""))
|
if ((EqualDose == null || EqualDose == ""))
|
||||||
@ -265,10 +265,10 @@ namespace DrawGraph
|
|||||||
if (this.DrugChannel != null && this.DrugChannel != "") DrName += "(" + this.DrugChannel + ")";
|
if (this.DrugChannel != null && this.DrugChannel != "") DrName += "(" + this.DrugChannel + ")";
|
||||||
if (this.DosageUnit != null && this.DosageUnit != "") DrName += "(" + this.DosageUnit + ")";
|
if (this.DosageUnit != null && this.DosageUnit != "") DrName += "(" + this.DosageUnit + ")";
|
||||||
if (this.BloodType != null && this.BloodType != "") DrName += "(" + this.BloodType + ")";
|
if (this.BloodType != null && this.BloodType != "") DrName += "(" + this.BloodType + ")";
|
||||||
if (DrugKind.Contains("麻醉") || DrugKind.Contains("精神"))
|
if (DrugKind.Contains("麻") || DrugKind.Contains("精神"))
|
||||||
ZUtil.DrawText(DrName, x1, y, zgcAnas, TextPrefix.DN + this.DrugName + this.Id.ToString(), Color.Red, 5.75f);
|
ZUtil.DrawText(DrName, x1, y, zgcAnas, TextPrefix.DN + this.DrugName + this.Id.ToString(), Color.Red, 6f);
|
||||||
else
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1200,6 +1200,7 @@ namespace DrawGraph
|
|||||||
public List<string> AfterDrugsListstr = new List<string>();
|
public List<string> AfterDrugsListstr = new List<string>();
|
||||||
public List<string> AnesBeforListstr = new List<string>();
|
public List<string> AnesBeforListstr = new List<string>();
|
||||||
public List<string> FluidListstr = new List<string>();
|
public List<string> FluidListstr = new List<string>();
|
||||||
|
public List<string> StandbyListstr = new List<string>();
|
||||||
public List<string> PunctureAndIntubatio;
|
public List<string> PunctureAndIntubatio;
|
||||||
public List<PhysioDataConfig> PhysioConfigList;
|
public List<PhysioDataConfig> PhysioConfigList;
|
||||||
public List<PhysioDataConfig> PhysioAnesConfigList;
|
public List<PhysioDataConfig> PhysioAnesConfigList;
|
||||||
|
|||||||
@ -37,6 +37,7 @@ namespace DrawGraph
|
|||||||
private bool isDefalultShow;
|
private bool isDefalultShow;
|
||||||
private string unit;
|
private string unit;
|
||||||
private int physioOrder;
|
private int physioOrder;
|
||||||
|
private float symbolSize;
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -207,6 +208,11 @@ namespace DrawGraph
|
|||||||
get { return physioOrder; }
|
get { return physioOrder; }
|
||||||
set { physioOrder = value; }
|
set { physioOrder = value; }
|
||||||
}
|
}
|
||||||
|
public float SymbolSize
|
||||||
|
{
|
||||||
|
get { return symbolSize; }
|
||||||
|
set { symbolSize = value; }
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@ -291,7 +297,7 @@ namespace DrawGraph
|
|||||||
|
|
||||||
PointPairList ppl = new PointPairList();
|
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.YAxisIndex = this.YAisx;
|
||||||
curve.Label.IsVisible = this.isValid;
|
curve.Label.IsVisible = this.isValid;
|
||||||
@ -377,7 +383,7 @@ namespace DrawGraph
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isHave) return;
|
if (isHave) return;
|
||||||
if (APhysioParams.Count > 0)
|
if (APhysioParams.Count > 0 && IsSplit == true)
|
||||||
{
|
{
|
||||||
PhysioData pdTemp = pd.Clone();
|
PhysioData pdTemp = pd.Clone();
|
||||||
|
|
||||||
@ -413,7 +419,7 @@ namespace DrawGraph
|
|||||||
if (pdTrue == null)
|
if (pdTrue == null)
|
||||||
pdTrue = pd.Clone();
|
pdTrue = pd.Clone();
|
||||||
|
|
||||||
if (APhysioParams.Count > 0)
|
if (APhysioParams.Count > 0 && IsSplit == true)
|
||||||
{
|
{
|
||||||
PhysioData pdTemp = pd.Clone();
|
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>
|
||||||
/// 删除一点生理数据
|
/// 删除一点生理数据
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -844,11 +898,11 @@ namespace DrawGraph
|
|||||||
#region 动态体征方法
|
#region 动态体征方法
|
||||||
public static int UpdatePhysioDataConfig(PhysioDataConfig physioDataConfig)
|
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[]
|
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);
|
return DBHelper.ExecNonQuery(sql, para);
|
||||||
}
|
}
|
||||||
@ -882,6 +936,7 @@ namespace DrawGraph
|
|||||||
temp.Unit = DBHelper.GetString(reader["Unit"]);
|
temp.Unit = DBHelper.GetString(reader["Unit"]);
|
||||||
temp.PhysioOrder = DBHelper.GetInt(reader["PhysioOrder"]);
|
temp.PhysioOrder = DBHelper.GetInt(reader["PhysioOrder"]);
|
||||||
temp.YAisx = DBHelper.GetInt(reader["YAisx"]);
|
temp.YAisx = DBHelper.GetInt(reader["YAisx"]);
|
||||||
|
temp.SymbolSize = DBHelper.GetInt(reader["SymbolSize"]);
|
||||||
|
|
||||||
list.Add(temp);
|
list.Add(temp);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -313,35 +313,12 @@ namespace DrawGraph
|
|||||||
{
|
{
|
||||||
PhysioData pdTemp = rePD(sender, e);
|
PhysioData pdTemp = rePD(sender, e);
|
||||||
if (pdTemp == null) return;
|
if (pdTemp == null) return;
|
||||||
bool isHave = false;
|
DateTime insTime = GetRecordTime(pdTemp.RecordTime);
|
||||||
foreach (PointPair pp in myOpeRecord.SelPhysioConfig.APhysioParams)
|
CurPhysioData = pdTemp;
|
||||||
{
|
CurPhysioData.RecordTime = insTime;
|
||||||
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();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
myOpeRecord.SelPhysioConfig.ModifyAddItem(CurPhysioData, CurPhysioData);
|
||||||
|
ZedControl.Refresh();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -95,7 +95,7 @@ namespace DrawGraph
|
|||||||
int remarkRow = 0;
|
int remarkRow = 0;
|
||||||
int AllRemarkRow = 0;
|
int AllRemarkRow = 0;
|
||||||
float fontsize = 6f;
|
float fontsize = 6f;
|
||||||
int fontlength = 35;
|
int fontlength = 34;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
myOpeRecord.ClearEventstr(ZedControl);
|
myOpeRecord.ClearEventstr(ZedControl);
|
||||||
@ -168,6 +168,8 @@ namespace DrawGraph
|
|||||||
SetRemarkInfo(myOpeRecord.EventListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength);
|
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.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);
|
SetRemarkInfo(myOpeRecord.SapsListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength);
|
||||||
//出量备注
|
//出量备注
|
||||||
|
|||||||
@ -1,11 +1,8 @@
|
|||||||
using AIMSExtension;
|
using AIMSExtension;
|
||||||
using DevComponents.DotNetBar.Controls;
|
using DevComponents.DotNetBar.Controls;
|
||||||
using HelperDB;
|
using HelperDB;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace DrawGraph
|
namespace DrawGraph
|
||||||
@ -23,24 +20,41 @@ namespace DrawGraph
|
|||||||
{
|
{
|
||||||
case "OperationRecord.AnesthesiaDoctor": //麻醉医生
|
case "OperationRecord.AnesthesiaDoctor": //麻醉医生
|
||||||
PersonType = "2";
|
PersonType = "2";
|
||||||
|
tokenEditor.DropDownHeight = 120;
|
||||||
break;
|
break;
|
||||||
case "OperationRecord.OperationDoctor":
|
case "OperationRecord.OperationDoctor":
|
||||||
|
tokenEditor.DropDownHeight = 200;
|
||||||
PersonType = "0";
|
PersonType = "0";
|
||||||
break;
|
break;
|
||||||
case "OperationRecord.InstrumentNurse":
|
case "OperationRecord.InstrumentNurse":
|
||||||
|
tokenEditor.DropDownHeight = 120;
|
||||||
PersonType = "3";
|
PersonType = "3";
|
||||||
break;
|
break;
|
||||||
case "OperationRecord.Assistant1":
|
case "OperationRecord.Assistant1":
|
||||||
|
tokenEditor.DropDownHeight = 200;
|
||||||
PersonType = "0";
|
PersonType = "0";
|
||||||
break;
|
break;
|
||||||
case "OperationRecord.TourNurse":
|
case "OperationRecord.TourNurse":
|
||||||
|
tokenEditor.DropDownHeight = 120;
|
||||||
PersonType = "3";
|
PersonType = "3";
|
||||||
break;
|
break;
|
||||||
case "OperationRecord.OrtherDoctorId":
|
case "OperationRecord.OrtherDoctorId":
|
||||||
|
tokenEditor.DropDownHeight = 120;
|
||||||
PersonType = "4";
|
PersonType = "4";
|
||||||
break;
|
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 : ""));
|
DataTable dt = DBManage.GetDictDataTable(OpeRecord, txt.Text, aEdit.ControlTitleText, PersonType, (IsSearch == true ? aEdit.PackValue : ""));
|
||||||
|
|
||||||
tokenEditor.Tokens.Clear();
|
tokenEditor.Tokens.Clear();
|
||||||
|
|||||||
@ -382,11 +382,9 @@ namespace DrawGraph
|
|||||||
if (comboBox != null)
|
if (comboBox != null)
|
||||||
{
|
{
|
||||||
comboBox.DropDownWidth = comboBox.Width;
|
comboBox.DropDownWidth = comboBox.Width;
|
||||||
|
if (base.ClassDataSourceName == "OperationRecord.OpeRecordInfo.NeuroPlexusAround") //手术诊断
|
||||||
|
comboBox.MaxHeightLines = 1;
|
||||||
comboBox.SelectedTokens.Clear();
|
comboBox.SelectedTokens.Clear();
|
||||||
if (this.ControlTitleText == "诊断")
|
|
||||||
{
|
|
||||||
comboBox.SelectedTokens.Clear();
|
|
||||||
}
|
|
||||||
if (base.PackText.Contains(","))
|
if (base.PackText.Contains(","))
|
||||||
{
|
{
|
||||||
string[] strArray1 = base.PackValue.Split(',');
|
string[] strArray1 = base.PackValue.Split(',');
|
||||||
@ -397,6 +395,16 @@ namespace DrawGraph
|
|||||||
comboBox.SelectedTokens.Add(new DevComponents.DotNetBar.Controls.EditToken(strArray1[i], strArray[i]));
|
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 != "")
|
else if (base.PackText != "")
|
||||||
{
|
{
|
||||||
comboBox.SelectedTokens.Add(new DevComponents.DotNetBar.Controls.EditToken(base.PackValue, base.PackText));
|
comboBox.SelectedTokens.Add(new DevComponents.DotNetBar.Controls.EditToken(base.PackValue, base.PackText));
|
||||||
|
|||||||
@ -263,8 +263,6 @@ namespace DrawGraph
|
|||||||
zgcAnas.MasterPane.GraphObjList.Remove(zgcAnas.MasterPane.GraphObjList["B" + TextPrefix.AR + tagName]);
|
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;
|
double yAr = y + 0.005;
|
||||||
|
|
||||||
//当加药开始时间和结束时间相等
|
//当加药开始时间和结束时间相等
|
||||||
|
|||||||
@ -203,7 +203,7 @@ namespace DrawGraph
|
|||||||
public static void DrawLine2(double x1, double y1, double x2, double y2, ZedGraphControl zedGraph, string tag, Color LineColor)
|
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);
|
LineObj line = new LineObj(LineColor, x1, y1, x2, y2);
|
||||||
line.Line.Width = 2;
|
line.Line.Width = 1.5f;
|
||||||
line.IsVisible = true;
|
line.IsVisible = true;
|
||||||
line.ZOrder = ZOrder.A_InFront;
|
line.ZOrder = ZOrder.A_InFront;
|
||||||
line.Location.AlignH = AlignH.Left;
|
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)
|
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);
|
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.ZOrder = ZOrder.A_InFront;
|
||||||
arrow.Location.AlignH = AlignH.Left;
|
arrow.Location.AlignH = AlignH.Left;
|
||||||
arrow.Location.AlignV = AlignV.Top;
|
arrow.Location.AlignV = AlignV.Top;
|
||||||
@ -386,7 +386,7 @@ namespace DrawGraph
|
|||||||
/// <param name="zedGraph">ZedGraphControl</param>
|
/// <param name="zedGraph">ZedGraphControl</param>
|
||||||
/// <param name="tag">曲线标签</param>
|
/// <param name="tag">曲线标签</param>
|
||||||
/// <returns></returns>
|
/// <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);
|
LineItem curve = zedGraph.GraphPane.AddCurve(label, pointList, color, SymbolType.None);
|
||||||
if (!hasLine)
|
if (!hasLine)
|
||||||
@ -394,7 +394,7 @@ namespace DrawGraph
|
|||||||
curve.Line.IsVisible = false;
|
curve.Line.IsVisible = false;
|
||||||
}
|
}
|
||||||
curve.Tag = tag;
|
curve.Tag = tag;
|
||||||
new ZUtil().FillCurveSymbol(curve, symbolResName);
|
new ZUtil().FillCurveSymbol(curve, symbolResName,SymbolSize);
|
||||||
return curve;
|
return curve;
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -402,10 +402,10 @@ namespace DrawGraph
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="curve">要填充的LineItem</param>
|
/// <param name="curve">要填充的LineItem</param>
|
||||||
/// <param name="symbolResName">填充的图片文件在资源文件中的名字</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.Type = SymbolType.Circle;
|
||||||
curve.Symbol.Size = 6;
|
curve.Symbol.Size = SymbolSize;
|
||||||
curve.Symbol.Border.IsVisible = false;
|
curve.Symbol.Border.IsVisible = false;
|
||||||
|
|
||||||
curve.Symbol.Fill = new Fill(getImage(symbolResName), System.Drawing.Drawing2D.WrapMode.Clamp);
|
curve.Symbol.Fill = new Fill(getImage(symbolResName), System.Drawing.Drawing2D.WrapMode.Clamp);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user