diff --git a/AIMS/AIMS.csproj b/AIMS/AIMS.csproj
index d2fe09f..14e1e49 100644
--- a/AIMS/AIMS.csproj
+++ b/AIMS/AIMS.csproj
@@ -291,6 +291,12 @@
frmOperationCharg2.cs
+
+ Form
+
+
+ frmNotesRecordExport.cs
+
Form
@@ -966,6 +972,9 @@
frmOperationCharg2.cs
+
+ frmNotesRecordExport.cs
+
frmReportExport.cs
@@ -1261,19 +1270,18 @@
Settings.settings
True
-
+
PreserveNewest
-
+
+
+
+
+
+
PreserveNewest
-
- PreserveNewest
-
-
- PreserveNewest
-
-
+
PreserveNewest
diff --git a/AIMS/FormMainManage.cs b/AIMS/FormMainManage.cs
index 2ab0e5e..4f55125 100644
--- a/AIMS/FormMainManage.cs
+++ b/AIMS/FormMainManage.cs
@@ -166,6 +166,8 @@ namespace AIMS
sideNavItem.Symbol = "\uf044";
if (menuSec.Name == "ھ")
sideNavItem.Symbol = "\uf044";
+ if (menuSec.Name == "ҵǼ")
+ sideNavItem.Symbol = "\uf044";
if (menuSec.Name == "ռ¼")
sideNavItem.Symbol = "\uf15c";
if (menuSec.Name == "ѯ")
diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs b/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs
index 8cc9f68..c1323ac 100644
--- a/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs
+++ b/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs
@@ -2259,8 +2259,8 @@ namespace AIMS.OperationAanesthesia
{
if (_record.AnalgesiaRecord != null)
{
- _record.AnalgesiaRecord.ProhibitedDrinkingTime = "4";
- _record.AnalgesiaRecord.ProhibitedEatingTime = "14";
+ _record.AnalgesiaRecord.ProhibitedDrinkingTime = "2";
+ _record.AnalgesiaRecord.ProhibitedEatingTime = "8";
_record.AnalgesiaRecord.MouthOpeningDegree = "Ⅲ指";
_record.AnalgesiaRecord.AirwayAssessment = "Ⅰ级";
_record.AnalgesiaRecord.ASAClassification = "Ⅰ级";
@@ -2268,7 +2268,7 @@ namespace AIMS.OperationAanesthesia
_record.AnalgesiaRecord.HeartFunction = "Ⅰ级";
_record.AnalgesiaRecord.Consciousness = "清醒";
- _record.AnalgesiaRecord.NutritionalDevelopment = "良";
+ _record.AnalgesiaRecord.NutritionalDevelopment = "中";
_record.AnalgesiaRecord.Pregnancy = "无";
_record.AnalgesiaRecord.LooseDenture = "无";
_record.AnalgesiaRecord.DifficultyOpeningMouth = "无";
@@ -2286,7 +2286,7 @@ namespace AIMS.OperationAanesthesia
string Doctor = DBManage.GetDictionaryValuesById(_record.AnesthesiaDoctor, "人员");
_record.AnalgesiaRecord.PostoperativeMonitoringDoctor = Doctor ;//评估者麻醉师
_record.AnalgesiaRecord.Evaluator = Doctor ;//评估者麻醉师
- _record.AnalgesiaRecord.AssessmentTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm");
+ _record.AnalgesiaRecord.AssessmentTime = DateTime.Now.AddHours(1).ToString("yyyy-MM-dd HH:mm");
BOperationRecordAnalgesia.Update(_record.AnalgesiaRecord);
ReviewEvent();
}
diff --git a/AIMS/OperationAanesthesia/frmRecoverPatient.cs b/AIMS/OperationAanesthesia/frmRecoverPatient.cs
index d8d6137..9c6c66e 100644
--- a/AIMS/OperationAanesthesia/frmRecoverPatient.cs
+++ b/AIMS/OperationAanesthesia/frmRecoverPatient.cs
@@ -10,6 +10,7 @@ using System.Text;
using System.Windows.Forms;
using AIMSBLL;
using AIMSModel;
+using static System.Windows.Forms.VisualStyles.VisualStyleElement.TaskbarClock;
namespace AIMS.OperationAanesthesia
{
@@ -59,7 +60,7 @@ namespace AIMS.OperationAanesthesia
}
private void FillDgv()
- {
+ {
if (supTabPatient.SelectedTab.Name == "待复苏")
{
DateTime dateTime = DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString());
@@ -112,7 +113,7 @@ namespace AIMS.OperationAanesthesia
{
dgv2.Rows.Clear();
DataTable dtt = SelectPatient.GetRecoverPatientOutDataTable
- (DateTime.Parse(dtpBeginTime.Value.ToString("yyyy-MM-dd 00:00:00").ToString()),DateTime.Parse(dtpEndTime.Value.ToString("yyyy-MM-dd 23:59:59").ToString()));
+ (DateTime.Parse(dtpBeginTime.Value.ToString("yyyy-MM-dd 00:00:00").ToString()), DateTime.Parse(dtpEndTime.Value.ToString("yyyy-MM-dd 23:59:59").ToString()));
foreach (DataRow dr in dtt.Rows)
{
dgv2.Rows.Add(dr["Id"].ToString(),
@@ -162,10 +163,16 @@ namespace AIMS.OperationAanesthesia
Events EventsObj = BEvents.GetModelByName("入室");
if (EventsObj.Name != null)
{
+ OperationRecord _record = null;
+ DateTime Time = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00"));
+ BOperationRecord.SelectSingle(frmAnasRecord.PatientId , 1, ref _record);
+ if (_record != null && _record.OutRoomTime != null)
+ Time = DateTime.Parse(_record.OutRoomTime.Value.AddMinutes(1).ToString("yyyy-MM-dd HH:mm:00"));
+
FactEvents FactEventsObj = new FactEvents();
FactEventsObj.EventId = EventsObj.Id;
FactEventsObj.EventTypeId = 2;
- FactEventsObj.EventBeginTime = DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00"));
+ FactEventsObj.EventBeginTime = Time;
FactEventsObj.EventEndTime = FactEventsObj.EventBeginTime;
FactEventsObj.IsContinue = 0;
FactEventsObj.PatientId = frmAnasRecord.PatientId;
diff --git a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.cs b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.cs
index 2e63425..b54bd61 100644
--- a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.cs
+++ b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.cs
@@ -274,6 +274,13 @@ namespace AIMS.OperationAanesthesia
MessageBox.Show("当前手术已停止 ,请确认后重新选择!", "系统提示");
return;
}
+ if (operA.State == 5 || operA.State == 6)
+ {
+ MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示");
+ FillDgv();
+ return;
+ }
+
if (uc.lblAnesDoctors.Text != "麻醉医生:" && uc.lblAnesDoctors.Text.Trim() != "麻醉医生")
{
diff --git a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs
index 48d80ca..5fa1d4d 100644
--- a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs
+++ b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs
@@ -284,12 +284,20 @@ namespace AIMS.OperationAanesthesia
return;
}
+ if (operA.State == 5 || operA.State == 6)
+ {
+ MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示");
+ FillDgv();
+ return;
+ }
+
if (uc.lblAnesDoctors.Text != "麻醉医生:" && uc.lblAnesDoctors.Text.Trim() != "麻醉医生")
{
MessageBox.Show("当前手术已安排麻醉师,请于麻醉师转入后操作", "系统提示");
return;
}
+
//DataTable dtOperationRecord = SelectPatient.GetTodayDoOpePatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()));
//foreach (DataRow row in dtOperationRecord.Rows)
//{
diff --git a/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs b/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs
index 8d4c525..764dde9 100644
--- a/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs
+++ b/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs
@@ -255,8 +255,16 @@ namespace AIMS.OperationAanesthesia
if (operA.State == 11)
{
MessageBox.Show("当前手术已停止 ,请确认后重新选择!", "系统提示");
+ FillDgv();
return;
}
+ if (operA.State == 5 || operA.State == 6)
+ {
+ MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示");
+ FillDgv();
+ return;
+ }
+
if (operA.OrderOperationTime.Value.Date != DateTime.Now.Date)// && operA.OrderOperationTime.Value.Hour < 20)
{
MessageBox.Show("该手术预约时间不是当前日期 ,请确认后重新选择!", "系统提示");
diff --git a/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs b/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs
index 0a93ea4..dbf71e4 100644
--- a/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs
+++ b/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs
@@ -263,6 +263,14 @@ namespace AIMS.OperationAanesthesia
if (operA.State == 11)
{
MessageBox.Show("当前手术已停止 ,请确认后重新选择!", "系统提示");
+ FillDgv();
+ return;
+ }
+
+ if (operA.State == 5 || operA.State == 6)
+ {
+ MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示");
+ FillDgv();
return;
}
diff --git a/AIMS/OperationAfter/frmNotesRecordExport.cs b/AIMS/OperationAfter/frmNotesRecordExport.cs
new file mode 100644
index 0000000..5fecc6f
--- /dev/null
+++ b/AIMS/OperationAfter/frmNotesRecordExport.cs
@@ -0,0 +1,243 @@
+using AIMS.OperationAanesthesia;
+using AIMS.OperationAfter.UI;
+using AIMSBLL;
+using AIMSExtension;
+using AIMSModel;
+using DocumentManagement;
+using DrawGraph;
+using Microsoft.Office.Interop.Excel;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Diagnostics;
+using System.Linq;
+using System.Reflection;
+using System.Text;
+using System.Windows.Forms;
+
+namespace AIMS
+{
+ public partial class frmNotesRecordExport : Form
+ {
+ public SysConfig exportConfig;
+ public string DataGridViewPath = "";
+ public DataGridView selectdgv;
+ public frmNotesRecordExport()
+ {
+ InitializeComponent();
+ dgvtReport.AutoGenerateColumns = false;
+ dgvtReport2.AutoGenerateColumns = false;
+ dgvtReport3.AutoGenerateColumns = false;
+ }
+
+ private void frmOperationDruggCheck_Load(object sender, EventArgs e)
+ {
+ try
+ {
+ dtpOpeTime.Value = DateTime.Now;
+ dtpEnd.Value = dtpOpeTime.Value;
+
+ dtpOpeTime2.Value = DateTime.Now;
+ dtpEnd2.Value = dtpOpeTime.Value;
+
+ dtpOpeTime3.Value = DateTime.Now;
+ dtpEnd3.Value = dtpOpeTime.Value;
+ }
+ catch (Exception exp)
+ {
+ PublicMethod.WriteLog(exp);
+ }
+ }
+
+ private void toolStripButton1_Click(object sender, EventArgs e)
+ {
+ string fileName = superTabControl1.SelectedTab.Text;
+ GoldPrinter.ExcelAccess excel = new GoldPrinter.ExcelAccess();
+ string strFileName = fileName + ".xlt"; //模板文件名
+ string strExcelTemplateFile = System.Windows.Forms.Application.StartupPath;
+ strExcelTemplateFile += @"\Template\" + strFileName;
+ excel.Open(strExcelTemplateFile); //用模板文件
+
+ int rowNum = 6;
+ if (selectdgv.Columns.Count == 8)
+ {
+ for (int i = 0; i < selectdgv.Rows.Count; i++)
+ {
+ DataGridViewRow dr = selectdgv.Rows[i];
+ excel.GetRange(rowNum, "A", rowNum, "G").Value = new string[]{
+ ( dr.Cells[1].EditedFormattedValue.ToString()),
+ ( dr.Cells[2].EditedFormattedValue.ToString()),
+ dr.Cells[3].EditedFormattedValue.ToString(),
+ ( dr.Cells[4].EditedFormattedValue.ToString() ) ,
+ (dr.Cells[5].EditedFormattedValue.ToString() ),
+ (dr.Cells[6].EditedFormattedValue.ToString() ),
+ (dr.Cells[7].EditedFormattedValue.ToString() ) };
+ rowNum++;
+ }
+ }
+ else
+ {
+ rowNum = 7;
+ for (int i = 0; i < selectdgv.Rows.Count; i++)
+ {
+ DataGridViewRow dr = selectdgv.Rows[i];
+ excel.GetRange(rowNum, "A", rowNum, "H").Value = new string[]{
+ ( dr.Cells[1].EditedFormattedValue.ToString()),
+ ( dr.Cells[2].EditedFormattedValue.ToString()),
+ dr.Cells[3].EditedFormattedValue.ToString(),
+ ( dr.Cells[4].EditedFormattedValue.ToString() ) ,
+ (dr.Cells[5].EditedFormattedValue.ToString() ),
+ (dr.Cells[6].EditedFormattedValue.ToString() ),
+ (dr.Cells[7].EditedFormattedValue.ToString() ) ,
+ (dr.Cells[8].EditedFormattedValue.ToString() ) };
+ rowNum++;
+ }
+
+ }
+ excel.PrintPreview();
+ excel.Close();
+ this.Focus();
+ }
+
+ private void LoadNoteData(string beginTime, string endTime, string notename)
+ {
+ System.Data.DataTable dataResult = BNotesRecords.GetMonthDayTable(beginTime, endTime);
+ List nrecords = BNotesRecord.Select(" NoteName = '" + notename + "' and RecordTime>='" + beginTime + "' and RecordTime<'" + endTime + "' ", null);
+ List records = new List();
+ for (int i = 0; i < dataResult.Rows.Count; i++)
+ {
+ DateTime RecordTime = Convert.ToDateTime(dataResult.Rows[i][0]);
+ NotesRecord record = new NotesRecord();
+ record.RecordTime = RecordTime;
+ foreach (var item in nrecords)
+ {
+ if (item.RecordTime == RecordTime)
+ {
+ record = item;
+ continue;
+ }
+ }
+ records.Add(record);
+ }
+ selectdgv.DataSource = records;
+ }
+
+ private void NewMethod(string notename)
+ {
+ for (int i = 0; i < selectdgv.Rows.Count; i++)
+ {
+ DataGridViewRow dr = selectdgv.Rows[i];
+ NotesRecord record = new NotesRecord();
+ record.NoteName = notename;
+ record.RecordTime = Convert.ToDateTime(dr.Cells[1].EditedFormattedValue.ToString());
+ record.Content1 = dr.Cells[2].EditedFormattedValue.ToString();
+ record.Content2 = dr.Cells[3].EditedFormattedValue.ToString();
+ record.Content3 = dr.Cells[4].EditedFormattedValue.ToString();
+ record.Content4 = dr.Cells[5].EditedFormattedValue.ToString();
+ record.Content5 = dr.Cells[6].EditedFormattedValue.ToString();
+ record.ExecWork = dr.Cells[7].EditedFormattedValue.ToString();
+ record.OperatorId = PublicMethod.OperatorId;
+ record.OperatorTime = DateTime.Now;
+ record.Remark = "";
+ BNotesRecord.Delete(" NoteName = '" + notename + "' and RecordTime='" + record.RecordTime + "'", null);
+ BNotesRecord.Insert(record);
+ }
+ MessageBox.Show("保存成功!");
+ }
+ private void btn冰箱监测_Click(object sender, EventArgs e)
+ {
+ selectdgv = dgvtReport2;
+ string beginTime = Convert.ToDateTime(dtpOpeTime2.Value).ToString("yyyy-MM-dd 00:00:00");
+ string endTime = Convert.ToDateTime(dtpEnd2.Value).AddDays(1).ToString("yyyy-MM-dd 00:00:00");
+
+ LoadNoteData(beginTime, endTime, "冰箱监测");
+ }
+ private void btn冰箱监测Save_Click(object sender, EventArgs e)
+ {
+ NewMethod("冰箱监测");
+ }
+ private void dgvtReport2_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+ {
+ DialogResult dialog = MessageBox.Show("是否批量填写数据?", "系统提示", MessageBoxButtons.YesNo);
+ if (dialog == DialogResult.Yes)
+ {
+ string batchNo = dgvtReport2.Rows[e.RowIndex].Cells[e.ColumnIndex].EditedFormattedValue.ToString();
+ for (int i = 0; i < dgvtReport2.Rows.Count; i++)
+ {
+ dgvtReport2.Rows[i].Cells[e.ColumnIndex].Value = batchNo;
+ }
+ }
+ }
+ private void dgvtReport2_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
+ {
+ //隔行换色
+ this.dgvtReport2.RowsDefaultCellStyle.BackColor = System.Drawing.Color.White;//设置背景为白色
+ this.dgvtReport2.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(242)))), (((int)(((byte)242)))));//青色
+ }
+
+ private void btn麻醉贵重物品清点本_Click(object sender, EventArgs e)
+ {
+ selectdgv = dgvtReport3;
+ string beginTime = Convert.ToDateTime(dtpOpeTime3.Value).ToString("yyyy-MM-dd 00:00:00");
+ string endTime = Convert.ToDateTime(dtpEnd3.Value).AddDays(1).ToString("yyyy-MM-dd 00:00:00");
+
+ LoadNoteData(beginTime, endTime, "麻醉贵重物品清点本");
+ }
+
+ private void btn麻醉贵重物品清点本Save_Click(object sender, EventArgs e)
+ {
+ NewMethod("麻醉贵重物品清点本");
+ }
+ private void dgvtReport3_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+ {
+ DialogResult dialog = MessageBox.Show("是否批量填写数据?", "系统提示", MessageBoxButtons.YesNo);
+ if (dialog == DialogResult.Yes)
+ {
+ string batchNo = dgvtReport3.Rows[e.RowIndex].Cells[e.ColumnIndex].EditedFormattedValue.ToString();
+ for (int i = 0; i < dgvtReport3.Rows.Count; i++)
+ {
+ dgvtReport3.Rows[i].Cells[e.ColumnIndex].Value = batchNo;
+ }
+ }
+ }
+ private void dgvtReport3_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
+ {
+ //隔行换色
+ this.dgvtReport3.RowsDefaultCellStyle.BackColor = System.Drawing.Color.White;//设置背景为白色
+ this.dgvtReport3.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(242)))), (((int)(((byte)242)))));//青色
+ }
+
+ private void btn手术例数按月统计_Click(object sender, EventArgs e)
+ {
+ selectdgv = dgvtReport;
+ string beginTime = Convert.ToDateTime(dtpOpeTime.Value).ToString("yyyy-MM-dd 00:00:00");
+ string endTime = Convert.ToDateTime(dtpEnd.Value).AddDays(1).ToString("yyyy-MM-dd 00:00:00");
+
+ LoadNoteData(beginTime, endTime, "麻醉机及心电监护仪使用消毒记录");
+ }
+
+ private void buttonX1_Click(object sender, EventArgs e)
+ {
+ NewMethod("麻醉机及心电监护仪使用消毒记录");
+ }
+ private void dgvtReport_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+ {
+ DialogResult dialog = MessageBox.Show("是否批量填写数据?", "系统提示", MessageBoxButtons.YesNo);
+ if (dialog == DialogResult.Yes)
+ {
+ string batchNo = dgvtReport.Rows[e.RowIndex].Cells[e.ColumnIndex].EditedFormattedValue.ToString();
+ for (int i = 0; i < dgvtReport.Rows.Count; i++)
+ {
+ dgvtReport.Rows[i].Cells[e.ColumnIndex].Value = batchNo;
+ }
+ }
+ }
+ private void dgvtReport_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
+ {
+ //隔行换色
+ this.dgvtReport.RowsDefaultCellStyle.BackColor = System.Drawing.Color.White;//设置背景为白色
+ this.dgvtReport.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(242)))), (((int)(((byte)242)))));//青色
+ }
+ }
+}
diff --git a/AIMS/OperationAfter/frmNotesRecordExport.designer.cs b/AIMS/OperationAfter/frmNotesRecordExport.designer.cs
new file mode 100644
index 0000000..5ec3e80
--- /dev/null
+++ b/AIMS/OperationAfter/frmNotesRecordExport.designer.cs
@@ -0,0 +1,1128 @@
+namespace AIMS
+{
+ partial class frmNotesRecordExport
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+ this.toolStrip1 = new System.Windows.Forms.ToolStrip();
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
+ this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl();
+ this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
+ this.dgvtReport = new System.Windows.Forms.DataGridView();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.dtpEnd = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.dtpOpeTime = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.label24 = new System.Windows.Forms.Label();
+ this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
+ this.btn手术例数按月统计 = new DevComponents.DotNetBar.ButtonX();
+ this.labDate = new System.Windows.Forms.Label();
+ this.R1 = new DevComponents.DotNetBar.SuperTabItem();
+ this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel();
+ this.dgvtReport3 = new System.Windows.Forms.DataGridView();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.btn麻醉贵重物品清点本Save = new DevComponents.DotNetBar.ButtonX();
+ this.dtpEnd3 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.dtpOpeTime3 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.label3 = new System.Windows.Forms.Label();
+ this.btn麻醉贵重物品清点本 = new DevComponents.DotNetBar.ButtonX();
+ this.label4 = new System.Windows.Forms.Label();
+ this.R3 = new DevComponents.DotNetBar.SuperTabItem();
+ this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
+ this.dgvtReport2 = new System.Windows.Forms.DataGridView();
+ this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.RecordTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.ExecWork = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.btn冰箱监测Save = new DevComponents.DotNetBar.ButtonX();
+ this.dtpEnd2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.dtpOpeTime2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.label1 = new System.Windows.Forms.Label();
+ this.btn冰箱监测 = new DevComponents.DotNetBar.ButtonX();
+ this.label2 = new System.Windows.Forms.Label();
+ this.R2 = new DevComponents.DotNetBar.SuperTabItem();
+ this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.toolStrip1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
+ this.superTabControl1.SuspendLayout();
+ this.superTabControlPanel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvtReport)).BeginInit();
+ this.panel2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).BeginInit();
+ this.superTabControlPanel3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvtReport3)).BeginInit();
+ this.panel3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd3)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime3)).BeginInit();
+ this.superTabControlPanel2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvtReport2)).BeginInit();
+ this.panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd2)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime2)).BeginInit();
+ this.SuspendLayout();
+ //
+ // toolStrip1
+ //
+ this.toolStrip1.BackColor = System.Drawing.Color.AliceBlue;
+ this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25);
+ this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolStripButton1});
+ this.toolStrip1.Location = new System.Drawing.Point(0, 0);
+ this.toolStrip1.Name = "toolStrip1";
+ this.toolStrip1.Size = new System.Drawing.Size(1350, 49);
+ this.toolStrip1.TabIndex = 37;
+ this.toolStrip1.Text = "toolStrip1";
+ //
+ // toolStripButton1
+ //
+ this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.toolStripButton1.Image = global::AIMS.Properties.Resources.图标_手术排程;
+ this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton1.Name = "toolStripButton1";
+ this.toolStripButton1.Size = new System.Drawing.Size(72, 46);
+ this.toolStripButton1.Text = "打印登记本";
+ this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+ this.toolStripButton1.ToolTipText = "打印登记本";
+ this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
+ //
+ // superTabControl1
+ //
+ this.superTabControl1.BackColor = System.Drawing.Color.White;
+ //
+ //
+ //
+ //
+ //
+ //
+ this.superTabControl1.ControlBox.CloseBox.Name = "";
+ //
+ //
+ //
+ this.superTabControl1.ControlBox.MenuBox.Name = "";
+ this.superTabControl1.ControlBox.Name = "";
+ this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.superTabControl1.ControlBox.MenuBox,
+ this.superTabControl1.ControlBox.CloseBox});
+ this.superTabControl1.Controls.Add(this.superTabControlPanel1);
+ this.superTabControl1.Controls.Add(this.superTabControlPanel3);
+ this.superTabControl1.Controls.Add(this.superTabControlPanel2);
+ this.superTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.superTabControl1.ForeColor = System.Drawing.Color.Black;
+ this.superTabControl1.Location = new System.Drawing.Point(0, 49);
+ this.superTabControl1.Name = "superTabControl1";
+ this.superTabControl1.ReorderTabsEnabled = true;
+ this.superTabControl1.SelectedTabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
+ this.superTabControl1.SelectedTabIndex = 0;
+ this.superTabControl1.Size = new System.Drawing.Size(1350, 492);
+ this.superTabControl1.TabFont = new System.Drawing.Font("微软雅黑", 10F);
+ this.superTabControl1.TabIndex = 38;
+ this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.R1,
+ this.R3,
+ this.R2});
+ this.superTabControl1.Text = "superTabControl1";
+ //
+ // superTabControlPanel1
+ //
+ this.superTabControlPanel1.Controls.Add(this.dgvtReport);
+ this.superTabControlPanel1.Controls.Add(this.panel2);
+ this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.superTabControlPanel1.Location = new System.Drawing.Point(0, 32);
+ this.superTabControlPanel1.Name = "superTabControlPanel1";
+ this.superTabControlPanel1.Size = new System.Drawing.Size(1350, 460);
+ this.superTabControlPanel1.TabIndex = 1;
+ this.superTabControlPanel1.TabItem = this.R1;
+ //
+ // dgvtReport
+ //
+ this.dgvtReport.AllowUserToAddRows = false;
+ this.dgvtReport.AllowUserToResizeColumns = false;
+ this.dgvtReport.AllowUserToResizeRows = false;
+ this.dgvtReport.BackgroundColor = System.Drawing.Color.White;
+ this.dgvtReport.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ this.dgvtReport.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+ this.dgvtReport.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvtReport.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.dataGridViewTextBoxColumn17,
+ this.dataGridViewTextBoxColumn18,
+ this.dataGridViewTextBoxColumn19,
+ this.dataGridViewTextBoxColumn20,
+ this.dataGridViewTextBoxColumn21,
+ this.dataGridViewTextBoxColumn22,
+ this.dataGridViewTextBoxColumn23,
+ this.dataGridViewTextBoxColumn24});
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F);
+ dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvtReport.DefaultCellStyle = dataGridViewCellStyle2;
+ this.dgvtReport.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvtReport.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
+ this.dgvtReport.GridColor = System.Drawing.Color.Black;
+ this.dgvtReport.Location = new System.Drawing.Point(0, 45);
+ this.dgvtReport.MultiSelect = false;
+ this.dgvtReport.Name = "dgvtReport";
+ dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvtReport.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
+ this.dgvtReport.RowHeadersVisible = false;
+ this.dgvtReport.RowTemplate.Height = 23;
+ this.dgvtReport.ShowCellErrors = false;
+ this.dgvtReport.ShowCellToolTips = false;
+ this.dgvtReport.Size = new System.Drawing.Size(1350, 415);
+ this.dgvtReport.TabIndex = 396;
+ this.dgvtReport.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvtReport_CellDoubleClick);
+ this.dgvtReport.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvtReport_RowPostPaint);
+ //
+ // panel2
+ //
+ this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.panel2.Controls.Add(this.dtpEnd);
+ this.panel2.Controls.Add(this.dtpOpeTime);
+ this.panel2.Controls.Add(this.label24);
+ this.panel2.Controls.Add(this.buttonX2);
+ this.panel2.Controls.Add(this.buttonX1);
+ this.panel2.Controls.Add(this.btn手术例数按月统计);
+ this.panel2.Controls.Add(this.labDate);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.panel2.Location = new System.Drawing.Point(0, 0);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(1350, 45);
+ this.panel2.TabIndex = 390;
+ //
+ // dtpEnd
+ //
+ //
+ //
+ //
+ this.dtpEnd.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpEnd.ButtonDropDown.Visible = true;
+ this.dtpEnd.CustomFormat = "yyyy-MM-dd";
+ this.dtpEnd.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpEnd.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.dtpEnd.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpEnd.IsPopupCalendarOpen = false;
+ this.dtpEnd.Location = new System.Drawing.Point(224, 9);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpEnd.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpEnd.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpEnd.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd.Name = "dtpEnd";
+ this.dtpEnd.Size = new System.Drawing.Size(114, 23);
+ this.dtpEnd.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpEnd.TabIndex = 472;
+ //
+ // dtpOpeTime
+ //
+ //
+ //
+ //
+ this.dtpOpeTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpOpeTime.ButtonDropDown.Visible = true;
+ this.dtpOpeTime.CustomFormat = "yyyy-MM-dd";
+ this.dtpOpeTime.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpOpeTime.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.dtpOpeTime.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpOpeTime.IsPopupCalendarOpen = false;
+ this.dtpOpeTime.Location = new System.Drawing.Point(91, 9);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpOpeTime.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpOpeTime.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpOpeTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime.Name = "dtpOpeTime";
+ this.dtpOpeTime.Size = new System.Drawing.Size(114, 23);
+ this.dtpOpeTime.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpOpeTime.TabIndex = 471;
+ //
+ // label24
+ //
+ this.label24.AutoSize = true;
+ this.label24.Location = new System.Drawing.Point(208, 11);
+ this.label24.Name = "label24";
+ this.label24.Size = new System.Drawing.Size(15, 20);
+ this.label24.TabIndex = 470;
+ this.label24.Text = "-";
+ //
+ // buttonX2
+ //
+ this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.buttonX2.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.buttonX2.Location = new System.Drawing.Point(548, 7);
+ this.buttonX2.Name = "buttonX2";
+ this.buttonX2.Size = new System.Drawing.Size(90, 29);
+ this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.buttonX2.TabIndex = 467;
+ this.buttonX2.Text = "导入";
+ //
+ // buttonX1
+ //
+ this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.buttonX1.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.buttonX1.Location = new System.Drawing.Point(452, 7);
+ this.buttonX1.Name = "buttonX1";
+ this.buttonX1.Size = new System.Drawing.Size(90, 29);
+ this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.buttonX1.TabIndex = 467;
+ this.buttonX1.Text = "保存";
+ this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
+ //
+ // btn手术例数按月统计
+ //
+ this.btn手术例数按月统计.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn手术例数按月统计.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn手术例数按月统计.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.btn手术例数按月统计.Location = new System.Drawing.Point(356, 7);
+ this.btn手术例数按月统计.Name = "btn手术例数按月统计";
+ this.btn手术例数按月统计.Size = new System.Drawing.Size(90, 29);
+ this.btn手术例数按月统计.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn手术例数按月统计.TabIndex = 467;
+ this.btn手术例数按月统计.Text = "查询";
+ this.btn手术例数按月统计.Click += new System.EventHandler(this.btn手术例数按月统计_Click);
+ //
+ // labDate
+ //
+ this.labDate.AutoSize = true;
+ this.labDate.Location = new System.Drawing.Point(17, 9);
+ this.labDate.Name = "labDate";
+ this.labDate.Size = new System.Drawing.Size(68, 20);
+ this.labDate.TabIndex = 421;
+ this.labDate.Text = "查询时间:";
+ //
+ // R1
+ //
+ this.R1.AttachedControl = this.superTabControlPanel1;
+ this.R1.GlobalItem = false;
+ this.R1.Name = "R1";
+ this.R1.Text = "麻醉机及心电监护仪使用消毒记录";
+ //
+ // superTabControlPanel3
+ //
+ this.superTabControlPanel3.Controls.Add(this.dgvtReport3);
+ this.superTabControlPanel3.Controls.Add(this.panel3);
+ this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.superTabControlPanel3.Location = new System.Drawing.Point(0, 32);
+ this.superTabControlPanel3.Name = "superTabControlPanel3";
+ this.superTabControlPanel3.Size = new System.Drawing.Size(1350, 460);
+ this.superTabControlPanel3.TabIndex = 0;
+ this.superTabControlPanel3.TabItem = this.R3;
+ //
+ // dgvtReport3
+ //
+ this.dgvtReport3.AllowUserToAddRows = false;
+ this.dgvtReport3.AllowUserToResizeColumns = false;
+ this.dgvtReport3.AllowUserToResizeRows = false;
+ this.dgvtReport3.BackgroundColor = System.Drawing.Color.White;
+ this.dgvtReport3.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ this.dgvtReport3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
+ this.dgvtReport3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvtReport3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.dataGridViewTextBoxColumn9,
+ this.dataGridViewTextBoxColumn10,
+ this.dataGridViewTextBoxColumn11,
+ this.dataGridViewTextBoxColumn12,
+ this.dataGridViewTextBoxColumn13,
+ this.dataGridViewTextBoxColumn14,
+ this.dataGridViewTextBoxColumn15,
+ this.Content6,
+ this.dataGridViewTextBoxColumn16});
+ dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F);
+ dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvtReport3.DefaultCellStyle = dataGridViewCellStyle5;
+ this.dgvtReport3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvtReport3.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
+ this.dgvtReport3.GridColor = System.Drawing.Color.Black;
+ this.dgvtReport3.Location = new System.Drawing.Point(0, 45);
+ this.dgvtReport3.MultiSelect = false;
+ this.dgvtReport3.Name = "dgvtReport3";
+ dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvtReport3.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
+ this.dgvtReport3.RowHeadersVisible = false;
+ this.dgvtReport3.RowTemplate.Height = 23;
+ this.dgvtReport3.ShowCellErrors = false;
+ this.dgvtReport3.ShowCellToolTips = false;
+ this.dgvtReport3.Size = new System.Drawing.Size(1350, 415);
+ this.dgvtReport3.TabIndex = 395;
+ this.dgvtReport3.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvtReport3_CellDoubleClick);
+ this.dgvtReport3.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvtReport3_RowPostPaint);
+ //
+ // panel3
+ //
+ this.panel3.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.panel3.Controls.Add(this.btn麻醉贵重物品清点本Save);
+ this.panel3.Controls.Add(this.dtpEnd3);
+ this.panel3.Controls.Add(this.dtpOpeTime3);
+ this.panel3.Controls.Add(this.label3);
+ this.panel3.Controls.Add(this.btn麻醉贵重物品清点本);
+ this.panel3.Controls.Add(this.label4);
+ this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.panel3.Location = new System.Drawing.Point(0, 0);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(1350, 45);
+ this.panel3.TabIndex = 394;
+ //
+ // btn麻醉贵重物品清点本Save
+ //
+ this.btn麻醉贵重物品清点本Save.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn麻醉贵重物品清点本Save.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn麻醉贵重物品清点本Save.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.btn麻醉贵重物品清点本Save.Location = new System.Drawing.Point(452, 7);
+ this.btn麻醉贵重物品清点本Save.Name = "btn麻醉贵重物品清点本Save";
+ this.btn麻醉贵重物品清点本Save.Size = new System.Drawing.Size(90, 29);
+ this.btn麻醉贵重物品清点本Save.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn麻醉贵重物品清点本Save.TabIndex = 474;
+ this.btn麻醉贵重物品清点本Save.Text = "保存";
+ this.btn麻醉贵重物品清点本Save.Click += new System.EventHandler(this.btn麻醉贵重物品清点本Save_Click);
+ //
+ // dtpEnd3
+ //
+ //
+ //
+ //
+ this.dtpEnd3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd3.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpEnd3.ButtonDropDown.Visible = true;
+ this.dtpEnd3.CustomFormat = "yyyy-MM-dd";
+ this.dtpEnd3.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpEnd3.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.dtpEnd3.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpEnd3.IsPopupCalendarOpen = false;
+ this.dtpEnd3.Location = new System.Drawing.Point(224, 9);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpEnd3.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpEnd3.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd3.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpEnd3.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd3.Name = "dtpEnd3";
+ this.dtpEnd3.Size = new System.Drawing.Size(114, 23);
+ this.dtpEnd3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpEnd3.TabIndex = 472;
+ //
+ // dtpOpeTime3
+ //
+ //
+ //
+ //
+ this.dtpOpeTime3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime3.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpOpeTime3.ButtonDropDown.Visible = true;
+ this.dtpOpeTime3.CustomFormat = "yyyy-MM-dd";
+ this.dtpOpeTime3.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpOpeTime3.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.dtpOpeTime3.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpOpeTime3.IsPopupCalendarOpen = false;
+ this.dtpOpeTime3.Location = new System.Drawing.Point(91, 9);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpOpeTime3.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpOpeTime3.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime3.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpOpeTime3.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime3.Name = "dtpOpeTime3";
+ this.dtpOpeTime3.Size = new System.Drawing.Size(114, 23);
+ this.dtpOpeTime3.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpOpeTime3.TabIndex = 471;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(208, 11);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(15, 20);
+ this.label3.TabIndex = 470;
+ this.label3.Text = "-";
+ //
+ // btn麻醉贵重物品清点本
+ //
+ this.btn麻醉贵重物品清点本.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn麻醉贵重物品清点本.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn麻醉贵重物品清点本.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.btn麻醉贵重物品清点本.Location = new System.Drawing.Point(356, 7);
+ this.btn麻醉贵重物品清点本.Name = "btn麻醉贵重物品清点本";
+ this.btn麻醉贵重物品清点本.Size = new System.Drawing.Size(90, 29);
+ this.btn麻醉贵重物品清点本.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn麻醉贵重物品清点本.TabIndex = 467;
+ this.btn麻醉贵重物品清点本.Text = "查询";
+ this.btn麻醉贵重物品清点本.Click += new System.EventHandler(this.btn麻醉贵重物品清点本_Click);
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(17, 9);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(68, 20);
+ this.label4.TabIndex = 421;
+ this.label4.Text = "查询时间:";
+ //
+ // R3
+ //
+ this.R3.AttachedControl = this.superTabControlPanel3;
+ this.R3.GlobalItem = false;
+ this.R3.Name = "R3";
+ this.R3.Text = "麻醉贵重物品清点本";
+ //
+ // superTabControlPanel2
+ //
+ this.superTabControlPanel2.Controls.Add(this.dgvtReport2);
+ this.superTabControlPanel2.Controls.Add(this.panel1);
+ this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.superTabControlPanel2.Location = new System.Drawing.Point(0, 32);
+ this.superTabControlPanel2.Name = "superTabControlPanel2";
+ this.superTabControlPanel2.Size = new System.Drawing.Size(1350, 460);
+ this.superTabControlPanel2.TabIndex = 0;
+ this.superTabControlPanel2.TabItem = this.R2;
+ //
+ // dgvtReport2
+ //
+ this.dgvtReport2.AllowUserToAddRows = false;
+ this.dgvtReport2.AllowUserToResizeColumns = false;
+ this.dgvtReport2.AllowUserToResizeRows = false;
+ this.dgvtReport2.BackgroundColor = System.Drawing.Color.White;
+ this.dgvtReport2.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ this.dgvtReport2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
+ this.dgvtReport2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvtReport2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.Id,
+ this.RecordTime,
+ this.Content1,
+ this.Content2,
+ this.Content3,
+ this.Content4,
+ this.Content5,
+ this.ExecWork});
+ dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F);
+ dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvtReport2.DefaultCellStyle = dataGridViewCellStyle8;
+ this.dgvtReport2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvtReport2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
+ this.dgvtReport2.GridColor = System.Drawing.Color.Black;
+ this.dgvtReport2.Location = new System.Drawing.Point(0, 45);
+ this.dgvtReport2.MultiSelect = false;
+ this.dgvtReport2.Name = "dgvtReport2";
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvtReport2.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;
+ this.dgvtReport2.RowHeadersVisible = false;
+ this.dgvtReport2.RowTemplate.Height = 23;
+ this.dgvtReport2.ShowCellErrors = false;
+ this.dgvtReport2.ShowCellToolTips = false;
+ this.dgvtReport2.Size = new System.Drawing.Size(1350, 415);
+ this.dgvtReport2.TabIndex = 393;
+ this.dgvtReport2.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvtReport2_CellDoubleClick);
+ this.dgvtReport2.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvtReport2_RowPostPaint);
+ //
+ // Id
+ //
+ this.Id.DataPropertyName = "Id";
+ this.Id.HeaderText = "Id";
+ this.Id.Name = "Id";
+ this.Id.Visible = false;
+ //
+ // RecordTime
+ //
+ this.RecordTime.DataPropertyName = "RecordTime";
+ this.RecordTime.HeaderText = "日期";
+ this.RecordTime.Name = "RecordTime";
+ //
+ // Content1
+ //
+ this.Content1.DataPropertyName = "Content1";
+ this.Content1.HeaderText = "班次";
+ this.Content1.Name = "Content1";
+ //
+ // Content2
+ //
+ this.Content2.DataPropertyName = "Content2";
+ this.Content2.HeaderText = "监测温度";
+ this.Content2.Name = "Content2";
+ //
+ // Content3
+ //
+ this.Content3.DataPropertyName = "Content3";
+ this.Content3.HeaderText = "监测人";
+ this.Content3.Name = "Content3";
+ //
+ // Content4
+ //
+ this.Content4.DataPropertyName = "Content4";
+ this.Content4.HeaderText = "除霜人";
+ this.Content4.Name = "Content4";
+ //
+ // Content5
+ //
+ this.Content5.DataPropertyName = "Content5";
+ this.Content5.HeaderText = "消毒人";
+ this.Content5.Name = "Content5";
+ //
+ // ExecWork
+ //
+ this.ExecWork.DataPropertyName = "ExecWork";
+ this.ExecWork.HeaderText = "主任";
+ this.ExecWork.Name = "ExecWork";
+ //
+ // panel1
+ //
+ this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.panel1.Controls.Add(this.btn冰箱监测Save);
+ this.panel1.Controls.Add(this.dtpEnd2);
+ this.panel1.Controls.Add(this.dtpOpeTime2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Controls.Add(this.btn冰箱监测);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(1350, 45);
+ this.panel1.TabIndex = 392;
+ //
+ // btn冰箱监测Save
+ //
+ this.btn冰箱监测Save.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn冰箱监测Save.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn冰箱监测Save.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.btn冰箱监测Save.Location = new System.Drawing.Point(452, 7);
+ this.btn冰箱监测Save.Name = "btn冰箱监测Save";
+ this.btn冰箱监测Save.Size = new System.Drawing.Size(90, 29);
+ this.btn冰箱监测Save.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn冰箱监测Save.TabIndex = 474;
+ this.btn冰箱监测Save.Text = "保存";
+ this.btn冰箱监测Save.Click += new System.EventHandler(this.btn冰箱监测Save_Click);
+ //
+ // dtpEnd2
+ //
+ //
+ //
+ //
+ this.dtpEnd2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpEnd2.ButtonDropDown.Visible = true;
+ this.dtpEnd2.CustomFormat = "yyyy-MM-dd";
+ this.dtpEnd2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpEnd2.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.dtpEnd2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpEnd2.IsPopupCalendarOpen = false;
+ this.dtpEnd2.Location = new System.Drawing.Point(224, 9);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpEnd2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpEnd2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpEnd2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd2.Name = "dtpEnd2";
+ this.dtpEnd2.Size = new System.Drawing.Size(114, 23);
+ this.dtpEnd2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpEnd2.TabIndex = 472;
+ //
+ // dtpOpeTime2
+ //
+ //
+ //
+ //
+ this.dtpOpeTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpOpeTime2.ButtonDropDown.Visible = true;
+ this.dtpOpeTime2.CustomFormat = "yyyy-MM-dd";
+ this.dtpOpeTime2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpOpeTime2.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.dtpOpeTime2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpOpeTime2.IsPopupCalendarOpen = false;
+ this.dtpOpeTime2.Location = new System.Drawing.Point(91, 9);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpOpeTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpOpeTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpOpeTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime2.Name = "dtpOpeTime2";
+ this.dtpOpeTime2.Size = new System.Drawing.Size(114, 23);
+ this.dtpOpeTime2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpOpeTime2.TabIndex = 471;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(208, 11);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(15, 20);
+ this.label1.TabIndex = 470;
+ this.label1.Text = "-";
+ //
+ // btn冰箱监测
+ //
+ this.btn冰箱监测.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn冰箱监测.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn冰箱监测.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.btn冰箱监测.Location = new System.Drawing.Point(356, 7);
+ this.btn冰箱监测.Name = "btn冰箱监测";
+ this.btn冰箱监测.Size = new System.Drawing.Size(90, 29);
+ this.btn冰箱监测.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn冰箱监测.TabIndex = 467;
+ this.btn冰箱监测.Text = "查询";
+ this.btn冰箱监测.Click += new System.EventHandler(this.btn冰箱监测_Click);
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(17, 9);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(68, 20);
+ this.label2.TabIndex = 421;
+ this.label2.Text = "查询时间:";
+ //
+ // R2
+ //
+ this.R2.AttachedControl = this.superTabControlPanel2;
+ this.R2.GlobalItem = false;
+ this.R2.Name = "R2";
+ this.R2.Text = "冰箱监测";
+ //
+ // dataGridViewTextBoxColumn1
+ //
+ this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
+ this.dataGridViewTextBoxColumn1.HeaderText = "Id";
+ this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
+ this.dataGridViewTextBoxColumn1.Visible = false;
+ //
+ // dataGridViewTextBoxColumn2
+ //
+ this.dataGridViewTextBoxColumn2.DataPropertyName = "RecordTime";
+ this.dataGridViewTextBoxColumn2.HeaderText = "日期";
+ this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
+ //
+ // dataGridViewTextBoxColumn3
+ //
+ this.dataGridViewTextBoxColumn3.DataPropertyName = "Content1";
+ this.dataGridViewTextBoxColumn3.HeaderText = "班次";
+ this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
+ //
+ // dataGridViewTextBoxColumn4
+ //
+ this.dataGridViewTextBoxColumn4.DataPropertyName = "Content2";
+ this.dataGridViewTextBoxColumn4.HeaderText = "监测温度";
+ this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
+ //
+ // dataGridViewTextBoxColumn5
+ //
+ this.dataGridViewTextBoxColumn5.DataPropertyName = "Content3";
+ this.dataGridViewTextBoxColumn5.HeaderText = "监测人";
+ this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
+ //
+ // dataGridViewTextBoxColumn6
+ //
+ this.dataGridViewTextBoxColumn6.DataPropertyName = "Content4";
+ this.dataGridViewTextBoxColumn6.HeaderText = "除霜人";
+ this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
+ //
+ // dataGridViewTextBoxColumn7
+ //
+ this.dataGridViewTextBoxColumn7.DataPropertyName = "Content5";
+ this.dataGridViewTextBoxColumn7.HeaderText = "消毒人";
+ this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
+ //
+ // dataGridViewTextBoxColumn8
+ //
+ this.dataGridViewTextBoxColumn8.DataPropertyName = "ExecWork";
+ this.dataGridViewTextBoxColumn8.HeaderText = "主任";
+ this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
+ //
+ // dataGridViewTextBoxColumn9
+ //
+ this.dataGridViewTextBoxColumn9.DataPropertyName = "Id";
+ this.dataGridViewTextBoxColumn9.HeaderText = "Id";
+ this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
+ this.dataGridViewTextBoxColumn9.Visible = false;
+ //
+ // dataGridViewTextBoxColumn10
+ //
+ this.dataGridViewTextBoxColumn10.DataPropertyName = "RecordTime";
+ this.dataGridViewTextBoxColumn10.HeaderText = "日期";
+ this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
+ //
+ // dataGridViewTextBoxColumn11
+ //
+ this.dataGridViewTextBoxColumn11.DataPropertyName = "Content1";
+ this.dataGridViewTextBoxColumn11.HeaderText = "麻醉机(5)";
+ this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
+ //
+ // dataGridViewTextBoxColumn12
+ //
+ this.dataGridViewTextBoxColumn12.DataPropertyName = "Content2";
+ this.dataGridViewTextBoxColumn12.HeaderText = "心电监护仪(5)";
+ this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
+ this.dataGridViewTextBoxColumn12.Width = 130;
+ //
+ // dataGridViewTextBoxColumn13
+ //
+ this.dataGridViewTextBoxColumn13.DataPropertyName = "Content3";
+ this.dataGridViewTextBoxColumn13.HeaderText = "可视喉镜(1)";
+ this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
+ //
+ // dataGridViewTextBoxColumn14
+ //
+ this.dataGridViewTextBoxColumn14.DataPropertyName = "Content4";
+ this.dataGridViewTextBoxColumn14.HeaderText = "电子注药泵(7)";
+ this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
+ this.dataGridViewTextBoxColumn14.Width = 130;
+ //
+ // dataGridViewTextBoxColumn15
+ //
+ this.dataGridViewTextBoxColumn15.DataPropertyName = "Content5";
+ this.dataGridViewTextBoxColumn15.HeaderText = "掌上超声(1)";
+ this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
+ //
+ // Content6
+ //
+ this.Content6.DataPropertyName = "Content6";
+ this.Content6.HeaderText = "Matepad华为(1)";
+ this.Content6.Name = "Content6";
+ this.Content6.Width = 150;
+ //
+ // dataGridViewTextBoxColumn16
+ //
+ this.dataGridViewTextBoxColumn16.DataPropertyName = "ExecWork";
+ this.dataGridViewTextBoxColumn16.HeaderText = "确认 签字";
+ this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
+ //
+ // dataGridViewTextBoxColumn17
+ //
+ this.dataGridViewTextBoxColumn17.DataPropertyName = "Id";
+ this.dataGridViewTextBoxColumn17.HeaderText = "Id";
+ this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
+ this.dataGridViewTextBoxColumn17.Visible = false;
+ //
+ // dataGridViewTextBoxColumn18
+ //
+ this.dataGridViewTextBoxColumn18.DataPropertyName = "RecordTime";
+ this.dataGridViewTextBoxColumn18.HeaderText = "日期";
+ this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
+ //
+ // dataGridViewTextBoxColumn19
+ //
+ this.dataGridViewTextBoxColumn19.DataPropertyName = "Content1";
+ this.dataGridViewTextBoxColumn19.HeaderText = "1号麻醉机及监护仪";
+ this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
+ this.dataGridViewTextBoxColumn19.Width = 140;
+ //
+ // dataGridViewTextBoxColumn20
+ //
+ this.dataGridViewTextBoxColumn20.DataPropertyName = "Content2";
+ this.dataGridViewTextBoxColumn20.HeaderText = "2号麻醉机及监护仪";
+ this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
+ this.dataGridViewTextBoxColumn20.Width = 140;
+ //
+ // dataGridViewTextBoxColumn21
+ //
+ this.dataGridViewTextBoxColumn21.DataPropertyName = "Content3";
+ this.dataGridViewTextBoxColumn21.HeaderText = "3号麻醉机及监护仪";
+ this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
+ this.dataGridViewTextBoxColumn21.Width = 140;
+ //
+ // dataGridViewTextBoxColumn22
+ //
+ this.dataGridViewTextBoxColumn22.DataPropertyName = "Content4";
+ this.dataGridViewTextBoxColumn22.HeaderText = "4号麻醉机及监护仪";
+ this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22";
+ this.dataGridViewTextBoxColumn22.Width = 140;
+ //
+ // dataGridViewTextBoxColumn23
+ //
+ this.dataGridViewTextBoxColumn23.DataPropertyName = "Content5";
+ this.dataGridViewTextBoxColumn23.HeaderText = "5号麻醉机及监护仪";
+ this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23";
+ this.dataGridViewTextBoxColumn23.Width = 140;
+ //
+ // dataGridViewTextBoxColumn24
+ //
+ this.dataGridViewTextBoxColumn24.DataPropertyName = "ExecWork";
+ this.dataGridViewTextBoxColumn24.HeaderText = "确认签字";
+ this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24";
+ //
+ // frmNotesRecordExport
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(1350, 541);
+ this.Controls.Add(this.superTabControl1);
+ this.Controls.Add(this.toolStrip1);
+ this.Name = "frmNotesRecordExport";
+ this.Text = "科室登记";
+ this.Load += new System.EventHandler(this.frmOperationDruggCheck_Load);
+ this.toolStrip1.ResumeLayout(false);
+ this.toolStrip1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
+ this.superTabControl1.ResumeLayout(false);
+ this.superTabControlPanel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dgvtReport)).EndInit();
+ this.panel2.ResumeLayout(false);
+ this.panel2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).EndInit();
+ this.superTabControlPanel3.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dgvtReport3)).EndInit();
+ this.panel3.ResumeLayout(false);
+ this.panel3.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd3)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime3)).EndInit();
+ this.superTabControlPanel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dgvtReport2)).EndInit();
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd2)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime2)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.ToolStrip toolStrip1;
+ private System.Windows.Forms.ToolStripButton toolStripButton1;
+ private DevComponents.DotNetBar.SuperTabControl superTabControl1;
+ private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1;
+ private DevComponents.DotNetBar.SuperTabItem R1;
+ private System.Windows.Forms.Panel panel2;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime;
+ public System.Windows.Forms.Label label24;
+ private DevComponents.DotNetBar.ButtonX btn手术例数按月统计;
+ public System.Windows.Forms.Label labDate;
+ private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2;
+ private System.Windows.Forms.DataGridView dgvtReport2;
+ private System.Windows.Forms.Panel panel1;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd2;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime2;
+ public System.Windows.Forms.Label label1;
+ private DevComponents.DotNetBar.ButtonX btn冰箱监测;
+ public System.Windows.Forms.Label label2;
+ private DevComponents.DotNetBar.SuperTabItem R2;
+ private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel3;
+ private DevComponents.DotNetBar.SuperTabItem R3;
+ private DevComponents.DotNetBar.ButtonX buttonX2;
+ private DevComponents.DotNetBar.ButtonX buttonX1;
+ private DevComponents.DotNetBar.ButtonX btn冰箱监测Save;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Id;
+ private System.Windows.Forms.DataGridViewTextBoxColumn RecordTime;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Content1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Content2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Content3;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Content4;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Content5;
+ private System.Windows.Forms.DataGridViewTextBoxColumn ExecWork;
+ private System.Windows.Forms.DataGridView dgvtReport3;
+ private System.Windows.Forms.Panel panel3;
+ private DevComponents.DotNetBar.ButtonX btn麻醉贵重物品清点本Save;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd3;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime3;
+ public System.Windows.Forms.Label label3;
+ private DevComponents.DotNetBar.ButtonX btn麻醉贵重物品清点本;
+ public System.Windows.Forms.Label label4;
+ private System.Windows.Forms.DataGridView dgvtReport;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Content6;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;
+ }
+}
\ No newline at end of file
diff --git a/AIMS/OperationAfter/frmNotesRecordExport.resx b/AIMS/OperationAfter/frmNotesRecordExport.resx
new file mode 100644
index 0000000..d8b3977
--- /dev/null
+++ b/AIMS/OperationAfter/frmNotesRecordExport.resx
@@ -0,0 +1,198 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
\ No newline at end of file
diff --git a/AIMS/Template/冰箱监测.xlt b/AIMS/Template/冰箱监测.xlt
new file mode 100644
index 0000000..e56f886
Binary files /dev/null and b/AIMS/Template/冰箱监测.xlt differ
diff --git a/AIMS/Template/麻醉机及心电监护仪使用消毒记录.xlt b/AIMS/Template/麻醉机及心电监护仪使用消毒记录.xlt
new file mode 100644
index 0000000..53503b6
Binary files /dev/null and b/AIMS/Template/麻醉机及心电监护仪使用消毒记录.xlt differ
diff --git a/AIMS/Template/麻醉贵重物品清点本.xlt b/AIMS/Template/麻醉贵重物品清点本.xlt
new file mode 100644
index 0000000..1440513
Binary files /dev/null and b/AIMS/Template/麻醉贵重物品清点本.xlt differ
diff --git a/AIMSEntity/AIMSEntity.csproj b/AIMSEntity/AIMSEntity.csproj
index a1e39d3..ac44133 100644
--- a/AIMSEntity/AIMSEntity.csproj
+++ b/AIMSEntity/AIMSEntity.csproj
@@ -53,14 +53,19 @@
+
+
+
+
+
@@ -340,6 +345,7 @@
+
@@ -433,6 +439,7 @@
+
@@ -506,6 +513,7 @@
+
diff --git a/AIMSEntity/BLL/AutoGenerate/BNotesRecord.cs b/AIMSEntity/BLL/AutoGenerate/BNotesRecord.cs
new file mode 100644
index 0000000..3e16692
--- /dev/null
+++ b/AIMSEntity/BLL/AutoGenerate/BNotesRecord.cs
@@ -0,0 +1,160 @@
+using System;
+using AIMSDAL;
+using AIMSModel;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace AIMSBLL
+{
+ public partial class BNotesRecord
+ {
+ #region 插入实体操作部份
+ ///
+ /// 插入实体
+ ///
+ /// 实体类对象
+ /// 标识列值或影响的记录行数
+ public static int Insert(NotesRecord notesRecord)
+ {
+ return DNotesRecord.Insert(notesRecord);
+ }
+ #endregion
+
+ #region 删除实体操作
+ ///
+ /// 删除实体
+ ///
+ /// 实体类对象
+ /// 影响的记录行数
+ public static int Delete(NotesRecord notesRecord)
+ {
+ return DNotesRecord.Delete(notesRecord);
+ }
+ ///
+ /// 根据对象查询语句删除
+ ///
+ /// 对象查询语句
+ /// 参数列表
+ /// 影响的记录行数
+ public static int Delete(string oql, ParameterList parameters)
+ {
+ return DNotesRecord.Delete(oql,parameters);
+ }
+ #endregion
+
+ #region 更新实体操作
+
+ ///
+ /// 更新实体
+ ///
+ /// 实体类对象
+ /// 影响的记录行数
+ public static int Update(NotesRecord notesRecord)
+ {
+ return DNotesRecord.Update(notesRecord);
+ }
+
+ ///
+ /// 根据对象查询语句更新实体
+ ///
+ /// 对象查询语句
+ /// 参数列表
+ /// 影响的记录行数
+ public static int Update(string oql, ParameterList parameters)
+ {
+ return DNotesRecord.Update(oql,parameters);
+ }
+ #endregion
+
+ #region 查询实体集合
+ ///
+ /// \查询实体集合
+ ///
+ /// 实体类对象集合
+ public static List Select()
+ {
+ return DNotesRecord.Select();
+ }
+ ///
+ /// 递归查询实体集合
+ ///
+ /// 递归类型
+ /// 递归深度
+ /// 实体类对象集合
+ public static List Select(RecursiveType recursiveType, int recursiveDepth)
+ {
+ return DNotesRecord.Select(recursiveType, recursiveDepth);
+ }
+
+ ///
+ /// 根据对象查询语句查询实体集合
+ ///
+ /// 对象查询语句
+ /// 参数列表
+ /// 实体类对象集合
+ public static List Select(string oql, ParameterList parameters)
+ {
+ return DNotesRecord.Select(oql, parameters);
+ }
+
+ ///
+ /// 根据对象查询语句递归查询实体集合
+ ///
+ /// 对象查询语句
+ /// 参数列表
+ /// 递归类型
+ /// 递归深度
+ /// 实体类对象集合
+ public static List Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth)
+ {
+ return DNotesRecord.Select(oql, parameters, recursiveType, recursiveDepth);
+ }
+ #endregion
+
+ #region 查询单个实体
+ ///
+ /// 更据对象查询语句查询单个实体
+ ///
+ /// 对象查询语句
+ /// 参数列表
+ /// 实体对象
+ public static NotesRecord SelectSingle(string oql, ParameterList parameters)
+ {
+ return DNotesRecord.SelectSingle(oql, parameters);
+ }
+ ///
+ /// 更据对象查询语句递归查询单个实体
+ ///
+ /// 对象查询语句
+ /// 参数列表
+ /// 递归类型
+ /// 递归深度
+ /// 实体对象
+ public static NotesRecord SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
+ {
+ return DNotesRecord.SelectSingle(oql, parameters, recursiveType, recursiveDepth);
+ }
+
+ ///
+ /// 按主键字段查询特定实体
+ ///
+ /// 主键值
+ /// 实体类对象
+ public static NotesRecord SelectSingle(int? id)
+ {
+ return DNotesRecord.SelectSingle(id);
+ }
+
+ ///
+ /// 更据主键递归查询单个实体
+ ///
+ /// 递归类型
+ /// 递归深度
+ /// 实体对象
+ public static NotesRecord SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth)
+ {
+ return DNotesRecord.SelectSingle(id, recursiveType, recursiveDepth);
+ }
+ #endregion
+ }
+}
diff --git a/AIMSEntity/BLL/Extension/BNotesRecord.cs b/AIMSEntity/BLL/Extension/BNotesRecord.cs
new file mode 100644
index 0000000..f635178
--- /dev/null
+++ b/AIMSEntity/BLL/Extension/BNotesRecord.cs
@@ -0,0 +1,12 @@
+using System;
+using AIMSDAL;
+using AIMSModel;
+using AIMSObjectQuery;
+using System.Collections;
+using System.Collections.Generic;
+namespace AIMSBLL
+{
+ public partial class BNotesRecord
+ {
+ }
+}
diff --git a/AIMSEntity/BLL/Extension/BOperationTemplate.cs b/AIMSEntity/BLL/Extension/BOperationTemplate.cs
index ed74400..3f8665d 100644
--- a/AIMSEntity/BLL/Extension/BOperationTemplate.cs
+++ b/AIMSEntity/BLL/Extension/BOperationTemplate.cs
@@ -170,32 +170,42 @@ namespace AIMSBLL
DataRow[] Eventdr = dt.Select("ItemKindName='事件'");
foreach (DataRow dr in Eventdr)
{
+ bool istrue = false;
int EventId = int.Parse(dr["ItemId"].ToString());
- if (BFactEvents.IsValid(EventId))
+ foreach (var item in _record.FactEventsList)
{
- FactEvents FactEventObj = new FactEvents();
- FactEventObj.PatientId = PatientId;
- FactEventObj.EventId = EventId;
- TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(drugMinTime);
- TimeSpan EndTimets = DateTime.Parse(dr["EndTime"].ToString()).Subtract(drugMinTime);
-
- FactEventObj.EventBeginTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds);
- FactEventObj.EventEndTime = InRoomTime.AddSeconds(EndTimets.TotalSeconds);
- if (dr["BeginTime"].ToString() == dr["EndTime"].ToString())
+ if (item.EventId == EventId)
{
- FactEventObj.IsContinue = 0;
+ istrue = true;
+ break;
}
- else
- {
- FactEventObj.IsContinue = 1;
- }
- FactEventObj.EventTypeId = TypeId;
-
- FactEventObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
- FactEventObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
- FactEventObj.OperateDate = NewInRoomTime;
- BFactEvents.Add(FactEventObj);
}
+ if (istrue == true) continue;
+ //if (BFactEvents.IsValid(EventId))
+ //{
+ FactEvents FactEventObj = new FactEvents();
+ FactEventObj.PatientId = PatientId;
+ FactEventObj.EventId = EventId;
+ TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(drugMinTime);
+ TimeSpan EndTimets = DateTime.Parse(dr["EndTime"].ToString()).Subtract(drugMinTime);
+
+ FactEventObj.EventBeginTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds);
+ FactEventObj.EventEndTime = InRoomTime.AddSeconds(EndTimets.TotalSeconds);
+ if (dr["BeginTime"].ToString() == dr["EndTime"].ToString())
+ {
+ FactEventObj.IsContinue = 0;
+ }
+ else
+ {
+ FactEventObj.IsContinue = 1;
+ }
+ FactEventObj.EventTypeId = TypeId;
+
+ FactEventObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
+ FactEventObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
+ FactEventObj.OperateDate = NewInRoomTime;
+ BFactEvents.Add(FactEventObj);
+ //}
}
DataRow[] OutputLiquidsdr = dt.Select("ItemKindName='出量'");
diff --git a/AIMSEntity/DAL/AutoGenerate/DNotesRecord.cs b/AIMSEntity/DAL/AutoGenerate/DNotesRecord.cs
new file mode 100644
index 0000000..b9052b7
--- /dev/null
+++ b/AIMSEntity/DAL/AutoGenerate/DNotesRecord.cs
@@ -0,0 +1,669 @@
+using System;
+using System.Data;
+using System.Data.SqlClient;
+using System.Collections;
+using AIMSModel;
+using AIMSObjectQuery;
+using System.Collections.Generic;
+
+namespace AIMSDAL
+{
+ internal partial class DNotesRecord
+ {
+ #region 插入实体操作部份
+ ///
+ /// 插入
+ ///
+ /// Command对象
+ /// 实体类对象
+ /// 标识列值或影响的记录行数
+ internal static int Insert(SqlCommand cmd, NotesRecord notesRecord)
+ {
+ cmd.Parameters.Clear();
+ cmd.CommandText = "insert into NotesRecord (NoteName,RecordTime,Content1,Content2,Content3,Content4,Content5,Content6,Content7,Content8,Content9,ExecWork,OperatorId,OperatorTime,Remark) values (@NoteName,@RecordTime,@Content1,@Content2,@Content3,@Content4,@Content5,@Content6,@Content7,@Content8,@Content9,@ExecWork,@OperatorId,@OperatorTime,@Remark);select @@identity";
+ //从实体中取出值放入Command的参数列表
+ cmd.Parameters.Add(new SqlParameter("@NoteName",notesRecord.NoteName==null?(object)DBNull.Value:(object)notesRecord.NoteName));
+ cmd.Parameters.Add(new SqlParameter("@RecordTime",notesRecord.RecordTime.HasValue?(object)notesRecord.RecordTime.Value:(object)DBNull.Value));
+ cmd.Parameters.Add(new SqlParameter("@Content1",notesRecord.Content1==null?(object)DBNull.Value:(object)notesRecord.Content1));
+ cmd.Parameters.Add(new SqlParameter("@Content2",notesRecord.Content2==null?(object)DBNull.Value:(object)notesRecord.Content2));
+ cmd.Parameters.Add(new SqlParameter("@Content3",notesRecord.Content3==null?(object)DBNull.Value:(object)notesRecord.Content3));
+ cmd.Parameters.Add(new SqlParameter("@Content4",notesRecord.Content4==null?(object)DBNull.Value:(object)notesRecord.Content4));
+ cmd.Parameters.Add(new SqlParameter("@Content5",notesRecord.Content5==null?(object)DBNull.Value:(object)notesRecord.Content5));
+ cmd.Parameters.Add(new SqlParameter("@Content6",notesRecord.Content6==null?(object)DBNull.Value:(object)notesRecord.Content6));
+ cmd.Parameters.Add(new SqlParameter("@Content7",notesRecord.Content7==null?(object)DBNull.Value:(object)notesRecord.Content7));
+ cmd.Parameters.Add(new SqlParameter("@Content8",notesRecord.Content8==null?(object)DBNull.Value:(object)notesRecord.Content8));
+ cmd.Parameters.Add(new SqlParameter("@Content9",notesRecord.Content9==null?(object)DBNull.Value:(object)notesRecord.Content9));
+ cmd.Parameters.Add(new SqlParameter("@ExecWork",notesRecord.ExecWork==null?(object)DBNull.Value:(object)notesRecord.ExecWork));
+ cmd.Parameters.Add(new SqlParameter("@OperatorId",notesRecord.OperatorId.HasValue?(object)notesRecord.OperatorId.Value:(object)DBNull.Value));
+ cmd.Parameters.Add(new SqlParameter("@OperatorTime",notesRecord.OperatorTime.HasValue?(object)notesRecord.OperatorTime.Value:(object)DBNull.Value));
+ cmd.Parameters.Add(new SqlParameter("@Remark",notesRecord.Remark==null?(object)DBNull.Value:(object)notesRecord.Remark));
+ return Convert.ToInt32(cmd.ExecuteScalar());
+ }
+ ///
+ /// 不使用事务的插入方法
+ ///
+ /// 实体类对象
+ /// 标识列值或影响的记录行数
+ internal static int Insert(NotesRecord notesRecord)
+ {
+ using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ return Insert(cmd, notesRecord);
+ }
+ }
+ }
+
+ ///
+ /// 使用事务的插入方法
+ ///
+ /// 实现共享Connection的对象
+ /// 实体类对象
+ /// 标识列值或影响的记录行数
+ internal static int Insert(Connection connection,NotesRecord notesRecord)
+ {
+ return Insert(connection.Command, notesRecord);
+ }
+ #endregion
+
+ #region 删除实体操作
+
+ ///
+ /// 删除
+ ///
+ /// Command对象
+ /// 实体类对象
+ /// 影响的记录行数
+ internal static int ExcuteDeleteCommand(SqlCommand cmd, NotesRecord notesRecord)
+ {
+ cmd.Parameters.Clear();
+ cmd.CommandText = "delete from NotesRecord where Id=@Id";
+ //从实体中取出值放入Command的参数列表
+ cmd.Parameters.Add(new SqlParameter("@Id", notesRecord.Id));
+ return cmd.ExecuteNonQuery();
+ }
+ ///
+ /// 不使用事务的删除方法
+ ///
+ /// 实体类对象
+ /// 影响的记录行数
+ internal static int Delete(NotesRecord notesRecord)
+ {
+ using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ return ExcuteDeleteCommand(cmd, notesRecord);
+ }
+ }
+ }
+ ///
+ /// 使用事务的删除方法
+ ///
+ /// 实现共享Connection的对象
+ /// 实体类对象
+ /// 影响的记录行数
+ internal static int Delete(Connection connection,NotesRecord notesRecord)
+ {
+ return ExcuteDeleteCommand(connection.Command, notesRecord);
+ }
+
+ ///
+ /// 执行删除命令
+ ///
+ /// Command对象
+ /// 对象查询语句
+ /// 参数列表
+ /// 影响的记录行数
+ internal static int ExcuteDeleteCommand(SqlCommand cmd, string oql, ParameterList parameters)
+ {
+ //解析过滤部份Sql语句
+ string filterString = oql;// SyntaxAnalyzer.ParseSql(oql, new NotesRecordMap());
+ if (filterString != string.Empty)
+ {
+ filterString = " where " + filterString;
+ }
+ cmd.Parameters.Clear();
+ cmd.CommandText = "delete from NotesRecord " + filterString;
+ //添加参数
+ if (parameters != null)
+ {
+ foreach (string key in parameters.Keys)
+ {
+ cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
+ }
+ }
+ return cmd.ExecuteNonQuery();
+ }
+
+ ///
+ /// 不使用事务的删除方法
+ ///
+ /// 对象查询语句
+ /// 参数列表
+ /// 影响的记录行数
+ internal static int Delete(string oql, ParameterList parameters)
+ {
+ using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ return ExcuteDeleteCommand(cmd, oql, parameters);
+ }
+ }
+ }
+
+ ///
+ /// 使用事务的删除方法
+ ///
+ /// 实现共享Connection的对象
+ /// 对象查询语句
+ /// 参数列表
+ /// 影响的记录行数
+ internal static int Delete(Connection connection, string oql, ParameterList parameters)
+ {
+ return ExcuteDeleteCommand(connection.Command, oql, parameters);
+ }
+
+ #endregion
+
+ #region 更新实体操作
+
+ ///
+ /// 更新
+ ///
+ /// Command对象
+ /// 实体类对象
+ /// 影响的记录行数
+ internal static int ExcuteUpdateCommand(SqlCommand cmd, NotesRecord notesRecord)
+ {
+ cmd.CommandText = "update NotesRecord set NoteName=@NoteName,RecordTime=@RecordTime,Content1=@Content1,Content2=@Content2,Content3=@Content3,Content4=@Content4,Content5=@Content5,Content6=@Content6,Content7=@Content7,Content8=@Content8,Content9=@Content9,ExecWork=@ExecWork,OperatorId=@OperatorId,OperatorTime=@OperatorTime,Remark=@Remark where Id=@Id";
+ //从实体中取出值放入Command的参数列表
+ cmd.Parameters.Add(new SqlParameter("@NoteName",notesRecord.NoteName==null?(object)DBNull.Value:(object)notesRecord.NoteName));
+ cmd.Parameters.Add(new SqlParameter("@RecordTime",notesRecord.RecordTime.HasValue?(object)notesRecord.RecordTime.Value:(object)DBNull.Value));
+ cmd.Parameters.Add(new SqlParameter("@Content1",notesRecord.Content1==null?(object)DBNull.Value:(object)notesRecord.Content1));
+ cmd.Parameters.Add(new SqlParameter("@Content2",notesRecord.Content2==null?(object)DBNull.Value:(object)notesRecord.Content2));
+ cmd.Parameters.Add(new SqlParameter("@Content3",notesRecord.Content3==null?(object)DBNull.Value:(object)notesRecord.Content3));
+ cmd.Parameters.Add(new SqlParameter("@Content4",notesRecord.Content4==null?(object)DBNull.Value:(object)notesRecord.Content4));
+ cmd.Parameters.Add(new SqlParameter("@Content5",notesRecord.Content5==null?(object)DBNull.Value:(object)notesRecord.Content5));
+ cmd.Parameters.Add(new SqlParameter("@Content6",notesRecord.Content6==null?(object)DBNull.Value:(object)notesRecord.Content6));
+ cmd.Parameters.Add(new SqlParameter("@Content7",notesRecord.Content7==null?(object)DBNull.Value:(object)notesRecord.Content7));
+ cmd.Parameters.Add(new SqlParameter("@Content8",notesRecord.Content8==null?(object)DBNull.Value:(object)notesRecord.Content8));
+ cmd.Parameters.Add(new SqlParameter("@Content9",notesRecord.Content9==null?(object)DBNull.Value:(object)notesRecord.Content9));
+ cmd.Parameters.Add(new SqlParameter("@ExecWork",notesRecord.ExecWork==null?(object)DBNull.Value:(object)notesRecord.ExecWork));
+ cmd.Parameters.Add(new SqlParameter("@OperatorId",notesRecord.OperatorId.HasValue?(object)notesRecord.OperatorId.Value:(object)DBNull.Value));
+ cmd.Parameters.Add(new SqlParameter("@OperatorTime",notesRecord.OperatorTime.HasValue?(object)notesRecord.OperatorTime.Value:(object)DBNull.Value));
+ cmd.Parameters.Add(new SqlParameter("@Remark",notesRecord.Remark==null?(object)DBNull.Value:(object)notesRecord.Remark));
+ cmd.Parameters.Add(new SqlParameter("@Id", notesRecord.Id));
+ return cmd.ExecuteNonQuery();
+ }
+
+ ///
+ /// 不使用事务的更新方法
+ ///
+ /// 实体类对象
+ /// 影响的记录行数
+ internal static int Update(NotesRecord notesRecord)
+ {
+ using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ return ExcuteUpdateCommand(cmd, notesRecord);
+ }
+ }
+ }
+ ///
+ /// 使用事务的更新方法
+ ///
+ /// 实现共享Connection的对象
+ /// 实体类对象
+ /// 影响的记录行数
+ internal static int Update(Connection connection,NotesRecord notesRecord)
+ {
+ return ExcuteUpdateCommand(connection.Command, notesRecord);
+ }
+ ///
+ /// 执行更新命令
+ ///
+ /// Command对象
+ /// 对象查询语句
+ /// 参数列表
+ /// 影响的记录行数
+ internal static int ExcuteUpdateCommand(SqlCommand cmd, string oql, ParameterList parameters)
+ {
+ //解析过滤部份Sql语句
+ string updateString = SyntaxAnalyzer.ParseSql(oql, new NotesRecordMap());
+ cmd.CommandText = "update NotesRecord set " + updateString;
+ cmd.Parameters.Clear();
+ //添加参数
+ if (parameters != null)
+ {
+ foreach (string key in parameters.Keys)
+ {
+ cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
+ }
+ }
+ return cmd.ExecuteNonQuery();
+ }
+
+ ///
+ /// 不使用事务的更新方法
+ ///
+ /// 对象查询语句
+ /// 参数列表
+ /// 影响的记录行数
+ internal static int Update(string oql, ParameterList parameters)
+ {
+ using (SqlConnection conn = new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ return ExcuteUpdateCommand(cmd, oql, parameters);
+ }
+ }
+ }
+
+ ///
+ /// 使用事务的更新方法
+ ///
+ /// 实现共享Connection的对象
+ /// 对象查询语句
+ /// 参数列表
+ /// 影响的记录行数
+ internal static int Update(Connection connection, string oql, ParameterList parameters)
+ {
+ return ExcuteUpdateCommand(connection.Command, oql, parameters);
+ }
+ #endregion
+
+ #region 查询实体集合
+ ///
+ /// 执行Command获取对象列表
+ ///
+ /// Command对象
+ /// 递归类型
+ /// 递归深度
+ /// 实体类对象列表
+ internal static List ExcuteSelectCommand(SqlCommand cmd,RecursiveType recursiveType,int recursiveDepth)
+ {
+ List notesRecordList = new List();
+ using (SqlDataReader dr = cmd.ExecuteReader())
+ {
+ while (dr.Read())
+ {
+ NotesRecord notesRecord = DataReaderToEntity(dr);
+ notesRecordList.Add(notesRecord);
+ }
+ }
+ return notesRecordList;
+ }
+ ///
+ /// 执行查询命令
+ ///
+ /// Command对象
+ /// 对象查询语句
+ /// 参数列表
+ /// 递归类型
+ /// 递归深度
+ /// 实体类对象集合
+ internal static List ExcuteSelectCommand(SqlCommand cmd, string oql, ParameterList parameters,RecursiveType recursiveType,int recursiveDepth)
+ {
+ //解析过滤部份Sql语句
+ string filterString = SyntaxAnalyzer.ParseSql(oql, new NotesRecordMap());
+ if (filterString != string.Empty)
+ {
+ if(filterString.Trim().ToLower().IndexOf("order ")!=0)
+ filterString = " where " + filterString;
+ }
+ cmd.Parameters.Clear();
+ cmd.CommandText = "select * from NotesRecord " + filterString;
+ //添加参数
+ if (parameters != null)
+ {
+ foreach (string key in parameters.Keys)
+ {
+ cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
+ }
+ }
+ return ExcuteSelectCommand(cmd, recursiveType, recursiveDepth);
+ }
+
+ ///
+ /// 根据对象查询语句查询实体集合
+ ///
+ /// 实体类对象集合
+ internal static List Select()
+ {
+ using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ cmd.CommandText = "select * from NotesRecord";
+ return ExcuteSelectCommand(cmd, RecursiveType.Parent, 1);
+ }
+ }
+ }
+ ///
+ /// 根据对象查询语句查询实体集合
+ ///
+ /// 递归类型
+ /// 递归深度
+ /// 实体类对象集合
+ internal static List Select(RecursiveType recursiveType, int recursiveDepth)
+ {
+ using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ cmd.CommandText = "select * from NotesRecord";
+ return ExcuteSelectCommand(cmd, recursiveType, recursiveDepth);
+ }
+ }
+ }
+
+ ///
+ /// 根据对象查询语句查询实体集合
+ ///
+ /// 对象查询语句
+ /// 参数列表
+ /// 实体类对象集合
+ internal static List Select(string oql, ParameterList parameters)
+ {
+ using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ return ExcuteSelectCommand(cmd, oql, parameters, RecursiveType.Parent, 1);
+ }
+ }
+ }
+
+ ///
+ /// 根据对象查询语句查询实体集合
+ ///
+ /// 对象查询语句
+ /// 参数列表
+ /// 递归类型
+ /// 递归深度
+ /// 实体类对象集合
+ internal static List Select(string oql, ParameterList parameters,RecursiveType recursiveType, int recursiveDepth)
+ {
+ using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ return ExcuteSelectCommand(cmd, oql, parameters, recursiveType, recursiveDepth);
+ }
+ }
+ }
+
+ ///
+ /// 根据对象查询语句查询实体集合(启用事务)
+ ///
+ /// 连接对象
+ /// 对象查询语句
+ /// 参数列表
+ /// 递归类型
+ /// 递归深度
+ /// 实体类对象集合
+ internal static List Select(Connection connection, string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
+ {
+ return ExcuteSelectCommand(connection.Command, oql, parameters,recursiveType, recursiveDepth);
+ }
+ #endregion
+
+ #region 查询单个实体
+
+ ///
+ /// 递归查询单个实体
+ ///
+ /// Command对象
+ /// 递归类型
+ /// 递归深度
+ /// 实体对象
+ internal static NotesRecord ExcuteSelectSingleCommand(SqlCommand cmd,RecursiveType recursiveType,int recursiveDepth)
+ {
+ NotesRecord notesRecord=null;
+ using (SqlDataReader dr = cmd.ExecuteReader())
+ {
+ if(dr.Read())
+ notesRecord = DataReaderToEntity(dr);
+ }
+ if(notesRecord==null)
+ return notesRecord;
+ return notesRecord;
+ }
+ ///
+ /// 更据对象查询语句递归查询单个实体
+ ///
+ /// Command对象
+ /// 对象查询语句
+ /// 参数列表
+ /// 递归类型
+ /// 递归深度
+ /// 实体对象
+ internal static NotesRecord ExcuteSelectSingleCommand(SqlCommand cmd, string oql, ParameterList parameters,RecursiveType recursiveType,int recursiveDepth)
+ {
+ //解析过滤部份Sql语句
+ string filterString = SyntaxAnalyzer.ParseSql(oql, new NotesRecordMap());
+ if(filterString!=string.Empty)
+ {
+ filterString=" where "+filterString;
+ }
+ cmd.CommandText = "select * from NotesRecord " + filterString;
+ cmd.Parameters.Clear();
+ //添加参数
+ if (parameters != null)
+ {
+ foreach (string key in parameters.Keys)
+ {
+ cmd.Parameters.Add(new SqlParameter(key, parameters[key]));
+ }
+ }
+ return ExcuteSelectSingleCommand(cmd, recursiveType, recursiveDepth);
+ }
+
+ ///
+ /// 更据对象查询语句递归查询单个实体
+ ///
+ /// Command对象
+ /// 对象查询语句
+ /// 参数列表
+ /// 递归类型
+ /// 递归深度
+ /// 实体对象
+ internal static NotesRecord SelectSingle(string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
+ {
+ using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ return ExcuteSelectSingleCommand(cmd, oql, parameters, recursiveType, recursiveDepth);
+ }
+ }
+ }
+
+ ///
+ /// 更据对象查询语句查询单个实体
+ ///
+ /// Command对象
+ /// 对象查询语句
+ /// 参数列表
+ /// 实体对象
+ internal static NotesRecord SelectSingle(string oql, ParameterList parameters)
+ {
+ return SelectSingle(oql,parameters,RecursiveType.Parent,1);
+ }
+
+ ///
+ /// 更据对象查询语句并启用事务查询单个实体
+ ///
+ /// 连接对象
+ /// 对象查询语句
+ /// 参数列表
+ /// 实体对象
+ internal static NotesRecord SelectSingle(Connection connection, string oql, ParameterList parameters, RecursiveType recursiveType, int recursiveDepth)
+ {
+ return ExcuteSelectSingleCommand(connection.Command, oql, parameters, recursiveType, recursiveDepth);
+ }
+
+ ///
+ /// 更据主键值递归查询单个实体
+ ///
+ /// Command对象
+ /// 主键值
+ /// 递归类型
+ /// 递归深度
+ /// 实体对象
+ internal static NotesRecord SelectSingle(SqlCommand cmd, int? id,RecursiveType recursiveType,int recursiveDepth)
+ {
+ cmd.Parameters.Clear();
+ if(id.HasValue)
+ {
+ cmd.CommandText = "select * from NotesRecord where Id=@pk";
+ cmd.Parameters.Add(new SqlParameter("@pk",id.Value));
+ }
+ else
+ {
+ cmd.CommandText = "select * from NotesRecord where Id is null";
+ }
+ return ExcuteSelectSingleCommand(cmd, recursiveType, recursiveDepth);
+ }
+
+ ///
+ /// 按主键字段查询特定实体
+ ///
+ /// 主键值
+ /// 实体类对象
+ internal static NotesRecord SelectSingle(int? id)
+ {
+ using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ return SelectSingle(cmd,id,RecursiveType.Parent,1);
+ }
+ }
+ }
+ ///
+ /// 按主键字段查询特定实体
+ ///
+ /// 主键值
+ /// 递归类型
+ /// 递归深度
+ /// 实体类对象
+ internal static NotesRecord SelectSingle(int? id, RecursiveType recursiveType, int recursiveDepth)
+ {
+ using(SqlConnection conn=new SqlConnection(Connection.ConnectionString))
+ {
+ conn.Open();
+ using (SqlCommand cmd = conn.CreateCommand())
+ {
+ return SelectSingle(cmd,id, recursiveType, recursiveDepth);
+ }
+ }
+ }
+
+ ///
+ /// 使用事务并按主键字段查询特定实体
+ ///
+ /// 连接对象
+ /// 主键值
+ /// 实体类对象
+ internal static NotesRecord SelectSingle(Connection connection,int? id, RecursiveType recursiveType, int recursiveDepth)
+ {
+ return SelectSingle(connection.Command, id, recursiveType, recursiveDepth);
+ }
+ #endregion
+
+
+ ///
+ /// 从DataReader中取出值生成实体对象
+ ///
+ /// 查询对象
+ /// 过滤条件字符串
+ private static NotesRecord DataReaderToEntity(SqlDataReader dr)
+ {
+ NotesRecord entity = new NotesRecord ();
+ if(dr["Id"]!=System.DBNull.Value)
+ {
+ entity.Id=Convert.ToInt32(dr["Id"]);
+ }
+ if(dr["NoteName"]!=System.DBNull.Value)
+ {
+ entity.NoteName=dr["NoteName"].ToString();
+ }
+ if(dr["RecordTime"]!=System.DBNull.Value)
+ {
+ entity.RecordTime=Convert.ToDateTime(dr["RecordTime"]);
+ }
+ if(dr["Content1"]!=System.DBNull.Value)
+ {
+ entity.Content1=dr["Content1"].ToString();
+ }
+ if(dr["Content2"]!=System.DBNull.Value)
+ {
+ entity.Content2=dr["Content2"].ToString();
+ }
+ if(dr["Content3"]!=System.DBNull.Value)
+ {
+ entity.Content3=dr["Content3"].ToString();
+ }
+ if(dr["Content4"]!=System.DBNull.Value)
+ {
+ entity.Content4=dr["Content4"].ToString();
+ }
+ if(dr["Content5"]!=System.DBNull.Value)
+ {
+ entity.Content5=dr["Content5"].ToString();
+ }
+ if(dr["Content6"]!=System.DBNull.Value)
+ {
+ entity.Content6=dr["Content6"].ToString();
+ }
+ if(dr["Content7"]!=System.DBNull.Value)
+ {
+ entity.Content7=dr["Content7"].ToString();
+ }
+ if(dr["Content8"]!=System.DBNull.Value)
+ {
+ entity.Content8=dr["Content8"].ToString();
+ }
+ if(dr["Content9"]!=System.DBNull.Value)
+ {
+ entity.Content9=dr["Content9"].ToString();
+ }
+ if(dr["ExecWork"]!=System.DBNull.Value)
+ {
+ entity.ExecWork=dr["ExecWork"].ToString();
+ }
+ if(dr["OperatorId"]!=System.DBNull.Value)
+ {
+ entity.OperatorId=Convert.ToInt32(dr["OperatorId"]);
+ }
+ if(dr["OperatorTime"]!=System.DBNull.Value)
+ {
+ entity.OperatorTime=Convert.ToDateTime(dr["OperatorTime"]);
+ }
+ if(dr["Remark"]!=System.DBNull.Value)
+ {
+ entity.Remark=dr["Remark"].ToString();
+ }
+ return entity;
+ }
+ }
+}
+
diff --git a/AIMSEntity/DAL/Extension/DNotesRecord.cs b/AIMSEntity/DAL/Extension/DNotesRecord.cs
new file mode 100644
index 0000000..6fea8ce
--- /dev/null
+++ b/AIMSEntity/DAL/Extension/DNotesRecord.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Data;
+using System.Data.SqlClient;
+using System.Collections;
+using System.Collections.Generic;
+using AIMSModel;
+using AIMSObjectQuery;
+namespace AIMSDAL
+{
+ internal partial class DNotesRecord
+ {
+ }
+}
diff --git a/AIMSEntity/Extensions/BNotesRecords.cs b/AIMSEntity/Extensions/BNotesRecords.cs
new file mode 100644
index 0000000..c8886af
--- /dev/null
+++ b/AIMSEntity/Extensions/BNotesRecords.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Data;
+using System.Xml;
+using AIMSModel;
+using HelperDB;
+using DrawGraph;
+using AIMSExtension;
+
+namespace AIMSBLL
+{
+ public class BNotesRecords
+ {
+ public static DataTable GetMonthDayTable(string beginTime, string endTime)
+ {
+ string strSql = " select DATEADD(dd,number,'" + beginTime + "') [RecordTime] from master..spt_values where type='p' and DATEDIFF(dd,DATEADD(dd,number,'" + beginTime + "'),CONVERT(varchar(10),'" + endTime + "',120))>0";
+ return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
+ }
+
+ }
+}
diff --git a/AIMSEntity/Extensions/BOperationRecord.cs b/AIMSEntity/Extensions/BOperationRecord.cs
index b0159ae..36d26cb 100644
--- a/AIMSEntity/Extensions/BOperationRecord.cs
+++ b/AIMSEntity/Extensions/BOperationRecord.cs
@@ -61,7 +61,9 @@ namespace AIMSBLL
_record.FareType = OperationFrontdt.Rows[0]["PatientKind"].ToString();
_record.BloodType = OperationFrontdt.Rows[0]["BloodType"].ToString();
_record.RHBloodType = OperationFrontdt.Rows[0]["RHBloodType"].ToString();
- ASALevel = OperationFrontdt.Rows[0]["ASA"].ToString();
+ _record.OperationSite = OperationFrontdt.Rows[0]["OperationSite"].ToString();
+ if (_record.OperationSite == "内镜室" && _record.Bed == "") _record.Bed = "-";
+ ASALevel = OperationFrontdt.Rows[0]["ASA"].ToString();
if (OperationFrontdt.Rows[0]["Height"].ToString() != "")
{
double Height = 0;
diff --git a/AIMSEntity/Model/AutoGenerate/NotesRecord.cs b/AIMSEntity/Model/AutoGenerate/NotesRecord.cs
new file mode 100644
index 0000000..c895096
--- /dev/null
+++ b/AIMSEntity/Model/AutoGenerate/NotesRecord.cs
@@ -0,0 +1,158 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using AIMSDAL;
+
+namespace AIMSModel
+{
+ [Serializable]
+ public partial class NotesRecord
+ {
+ private int? id;
+ private string noteName;
+ private DateTime? recordTime;
+ private string content1;
+ private string content2;
+ private string content3;
+ private string content4;
+ private string content5;
+ private string content6;
+ private string content7;
+ private string content8;
+ private string content9;
+ private string execWork;
+ private int? operatorId;
+ private DateTime? operatorTime;
+ private string remark;
+
+
+ ///
+ ///
+ ///
+ public int? Id
+ {
+ get{ return id; }
+ set{ id=value; }
+ }
+ ///
+ ///
+ ///
+ public string NoteName
+ {
+ get{ return noteName; }
+ set{ noteName=value; }
+ }
+ ///
+ ///
+ ///
+ public DateTime? RecordTime
+ {
+ get{ return recordTime; }
+ set{ recordTime=value; }
+ }
+ ///
+ ///
+ ///
+ public string Content1
+ {
+ get{ return content1; }
+ set{ content1=value; }
+ }
+ ///
+ ///
+ ///
+ public string Content2
+ {
+ get{ return content2; }
+ set{ content2=value; }
+ }
+ ///
+ ///
+ ///
+ public string Content3
+ {
+ get{ return content3; }
+ set{ content3=value; }
+ }
+ ///
+ ///
+ ///
+ public string Content4
+ {
+ get{ return content4; }
+ set{ content4=value; }
+ }
+ ///
+ ///
+ ///
+ public string Content5
+ {
+ get{ return content5; }
+ set{ content5=value; }
+ }
+ ///
+ ///
+ ///
+ public string Content6
+ {
+ get{ return content6; }
+ set{ content6=value; }
+ }
+ ///
+ ///
+ ///
+ public string Content7
+ {
+ get{ return content7; }
+ set{ content7=value; }
+ }
+ ///
+ ///
+ ///
+ public string Content8
+ {
+ get{ return content8; }
+ set{ content8=value; }
+ }
+ ///
+ ///
+ ///
+ public string Content9
+ {
+ get{ return content9; }
+ set{ content9=value; }
+ }
+ ///
+ ///
+ ///
+ public string ExecWork
+ {
+ get{ return execWork; }
+ set{ execWork=value; }
+ }
+ ///
+ ///
+ ///
+ public int? OperatorId
+ {
+ get{ return operatorId; }
+ set{ operatorId=value; }
+ }
+ ///
+ ///
+ ///
+ public DateTime? OperatorTime
+ {
+ get{ return operatorTime; }
+ set{ operatorTime=value; }
+ }
+ ///
+ ///
+ ///
+ public string Remark
+ {
+ get{ return remark; }
+ set{ remark=value; }
+ }
+ }
+}
diff --git a/AIMSEntity/Model/Extension/NotesRecord.cs b/AIMSEntity/Model/Extension/NotesRecord.cs
new file mode 100644
index 0000000..c33a47b
--- /dev/null
+++ b/AIMSEntity/Model/Extension/NotesRecord.cs
@@ -0,0 +1,10 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using AIMSDAL;
+namespace AIMSModel
+{
+ public partial class NotesRecord
+ {
+ }
+}
diff --git a/AIMSEntity/ObjectQuery/NotesRecordMap.cs b/AIMSEntity/ObjectQuery/NotesRecordMap.cs
new file mode 100644
index 0000000..7d634d6
--- /dev/null
+++ b/AIMSEntity/ObjectQuery/NotesRecordMap.cs
@@ -0,0 +1,49 @@
+using System;
+using System.Collections;
+using System.Collections.Generic;
+
+namespace AIMSObjectQuery
+{
+ internal partial class NotesRecordMap:IMap
+ {
+ private Dictionary dictionary = new Dictionary();
+ public NotesRecordMap()
+ {
+ dictionary.Add("id", "Id");
+ dictionary.Add("notename", "NoteName");
+ dictionary.Add("recordtime", "RecordTime");
+ dictionary.Add("content1", "Content1");
+ dictionary.Add("content2", "Content2");
+ dictionary.Add("content3", "Content3");
+ dictionary.Add("content4", "Content4");
+ dictionary.Add("content5", "Content5");
+ dictionary.Add("content6", "Content6");
+ dictionary.Add("content7", "Content7");
+ dictionary.Add("content8", "Content8");
+ dictionary.Add("content9", "Content9");
+ dictionary.Add("execwork", "ExecWork");
+ dictionary.Add("operatorid", "OperatorId");
+ dictionary.Add("operatortime", "OperatorTime");
+ dictionary.Add("remark", "Remark");
+ }
+
+ #region IMap 成员
+
+ public string this[string propertyName]
+ {
+ get
+ {
+ try
+ {
+ return dictionary[propertyName.ToLower()];
+ }
+ catch (KeyNotFoundException)
+ {
+ throw new Exception(propertyName + "属性不存在");
+ }
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/DrawGraph/AreaManage/AnalgesiaDataManage.cs b/DrawGraph/AreaManage/AnalgesiaDataManage.cs
index 5873162..a40c3a7 100644
--- a/DrawGraph/AreaManage/AnalgesiaDataManage.cs
+++ b/DrawGraph/AreaManage/AnalgesiaDataManage.cs
@@ -276,6 +276,8 @@ namespace DrawGraph
{
tokenEditor.ValidateToken -= new DevComponents.DotNetBar.Controls.ValidateTokenEventHandler(this.tokenEditor_ValidateToken);
tokenEditor.ValidateToken += new DevComponents.DotNetBar.Controls.ValidateTokenEventHandler(this.tokenEditor_ValidateToken);
+ tokenEditor.DoubleClick -= EditTextBox2_DoubleClick;
+ tokenEditor.DoubleClick += EditTextBox2_DoubleClick;
}
}
@@ -937,5 +939,19 @@ namespace DrawGraph
TokenEditorManage.SaveDictItem(template, OpeRecord as OperationRecord, tokenEditor, aEdit);
}
+ private void EditTextBox2_DoubleClick(object sender, EventArgs e)
+ {
+ DevComponents.DotNetBar.Controls.TokenEditor tokenEditor = ((DevComponents.DotNetBar.Controls.TokenEditor)sender);
+ string text = tokenEditor.Text;
+ if (text.Trim() != "")
+ {
+ tokenEditor.SelectedTokens.Clear();
+ tokenEditor.EditTextBox.TextChanged -= EditTextBox_TextChanged;
+ tokenEditor.EditTextBox.Text = text;
+ tokenEditor.IsPopupOpen = false;
+ tokenEditor.EditTextBox.TextChanged += EditTextBox_TextChanged;
+ }
+ }
+
}
}
diff --git a/DrawGraph/AreaManage/AreaManageBase.cs b/DrawGraph/AreaManage/AreaManageBase.cs
index d46af49..dd5152f 100644
--- a/DrawGraph/AreaManage/AreaManageBase.cs
+++ b/DrawGraph/AreaManage/AreaManageBase.cs
@@ -63,7 +63,7 @@ namespace DrawGraph
private string instanceName = "";
public delegate void MouseWheelHandler(object sender, MouseEventArgs e);
- public event MouseWheelHandler MouseWheelParam;
+ public event MouseWheelHandler MouseWheelParam;
[JsonIgnore]
[XmlIgnore]
@@ -291,7 +291,14 @@ namespace DrawGraph
//取消滚轮事件
public void numericUpDown1_MouseWheel(object sender, MouseEventArgs e)
{
- MouseWheelParam(sender, e);
+ try
+ {
+ if (MouseWheelParam != null)
+ MouseWheelParam(sender, e);
+ }
+ catch (Exception)
+ {
+ }
}
///
/// 把OperationRecord 里的数据绑定到到画板上
diff --git a/DrawGraph/AreaManage/OperationRecord.cs b/DrawGraph/AreaManage/OperationRecord.cs
index aa8db79..ed59b82 100644
--- a/DrawGraph/AreaManage/OperationRecord.cs
+++ b/DrawGraph/AreaManage/OperationRecord.cs
@@ -199,6 +199,7 @@ namespace DrawGraph
private string ortherDoctorId;
private string operationSiteId;
private string operationPositionId;
+ private string operationSite;
[ClassAttributs(Description = "住院门诊类型")]
public string PatientType
@@ -378,6 +379,15 @@ namespace DrawGraph
get { return operationPositionId; }
set { operationPositionId = value; }
}
+ [ClassAttributs(Description = "手术地点")]
+ ///
+ /// 手术地点
+ ///
+ public string OperationSite
+ {
+ get { return operationSite; }
+ set { operationSite = value; }
+ }
//术中信息