基础字典维护整理 大屏公告维护整理

This commit is contained in:
leomon 2022-11-19 19:05:44 +08:00
parent 0f238422ec
commit 7b2ea8c85d
93 changed files with 3966 additions and 4918 deletions

View File

@ -81,6 +81,12 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="DataDictionary\frmAnaesthesiaMethod.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DataDictionary\frmAnaesthesiaMethod.Designer.cs">
<DependentUpon>frmAnaesthesiaMethod.cs</DependentUpon>
</Compile>
<Compile Include="DataDictionary\frmBasicDictionary.cs"> <Compile Include="DataDictionary\frmBasicDictionary.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@ -105,6 +111,18 @@
<Compile Include="DataDictionary\frmEvents.Designer.cs"> <Compile Include="DataDictionary\frmEvents.Designer.cs">
<DependentUpon>frmEvents.cs</DependentUpon> <DependentUpon>frmEvents.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="DataDictionary\frmOperationBodyPosition.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DataDictionary\frmOperationBodyPosition.Designer.cs">
<DependentUpon>frmOperationBodyPosition.cs</DependentUpon>
</Compile>
<Compile Include="DataDictionary\frmOperationPosition.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="DataDictionary\frmOperationPosition.Designer.cs">
<DependentUpon>frmOperationPosition.cs</DependentUpon>
</Compile>
<Compile Include="DataDictionary\frmOperation.cs"> <Compile Include="DataDictionary\frmOperation.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@ -481,46 +499,46 @@
<Compile Include="OremrUserControl\UText.cs"> <Compile Include="OremrUserControl\UText.cs">
<SubType>Component</SubType> <SubType>Component</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmAnaesthesiaDrugSelect.cs"> <Compile Include="DataDictionary\frmAnaesthesiaDrugSelect.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmAnaesthesiaDrugSelect.designer.cs"> <Compile Include="DataDictionary\frmAnaesthesiaDrugSelect.designer.cs">
<DependentUpon>frmAnaesthesiaDrugSelect.cs</DependentUpon> <DependentUpon>frmAnaesthesiaDrugSelect.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmAnaesthesiaEvents.cs"> <Compile Include="DataDictionary\frmAnaesthesiaEvents.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmAnaesthesiaEvents.designer.cs"> <Compile Include="DataDictionary\frmAnaesthesiaEvents.designer.cs">
<DependentUpon>frmAnaesthesiaEvents.cs</DependentUpon> <DependentUpon>frmAnaesthesiaEvents.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmAnaesthesiaEventSelect.cs"> <Compile Include="DataDictionary\frmAnaesthesiaEventSelect.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmAnaesthesiaEventSelect.designer.cs"> <Compile Include="DataDictionary\frmAnaesthesiaEventSelect.designer.cs">
<DependentUpon>frmAnaesthesiaEventSelect.cs</DependentUpon> <DependentUpon>frmAnaesthesiaEventSelect.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmAppliance.cs"> <Compile Include="DataDictionary\frmAppliance.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmAppliance.designer.cs"> <Compile Include="DataDictionary\frmAppliance.designer.cs">
<DependentUpon>frmAppliance.cs</DependentUpon> <DependentUpon>frmAppliance.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmApplianceSelect.cs"> <Compile Include="DataDictionary\frmApplianceSelect.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmApplianceSelect.designer.cs"> <Compile Include="DataDictionary\frmApplianceSelect.designer.cs">
<DependentUpon>frmApplianceSelect.cs</DependentUpon> <DependentUpon>frmApplianceSelect.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmApplianceUseType.cs"> <Compile Include="DataDictionary\frmApplianceUseType.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmApplianceUseType.designer.cs"> <Compile Include="DataDictionary\frmApplianceUseType.designer.cs">
<DependentUpon>frmApplianceUseType.cs</DependentUpon> <DependentUpon>frmApplianceUseType.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmBloodGasAnalysisDict.cs"> <Compile Include="DataDictionary\frmBloodGasAnalysisDict.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmBloodGasAnalysisDict.Designer.cs"> <Compile Include="DataDictionary\frmBloodGasAnalysisDict.Designer.cs">
<DependentUpon>frmBloodGasAnalysisDict.cs</DependentUpon> <DependentUpon>frmBloodGasAnalysisDict.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmNoticeMain.cs"> <Compile Include="PublicUI\frmNoticeMain.cs">
@ -693,10 +711,10 @@
<Compile Include="OperationDoing\AnasRecordBill\frmFactEventsNew.Designer.cs"> <Compile Include="OperationDoing\AnasRecordBill\frmFactEventsNew.Designer.cs">
<DependentUpon>frmFactEventsNew.cs</DependentUpon> <DependentUpon>frmFactEventsNew.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmMenu.cs"> <Compile Include="DataDictionary\frmMenu.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmMenu.Designer.cs"> <Compile Include="DataDictionary\frmMenu.Designer.cs">
<DependentUpon>frmMenu.cs</DependentUpon> <DependentUpon>frmMenu.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmNotice.cs"> <Compile Include="PublicUI\frmNotice.cs">
@ -753,16 +771,16 @@
<Compile Include="PublicUI\frmTemplate.Designer.cs"> <Compile Include="PublicUI\frmTemplate.Designer.cs">
<DependentUpon>frmTemplate.cs</DependentUpon> <DependentUpon>frmTemplate.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmUserPurview.cs"> <Compile Include="frmUserPurview.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmUserPurview.Designer.cs"> <Compile Include="frmUserPurview.Designer.cs">
<DependentUpon>frmUserPurview.cs</DependentUpon> <DependentUpon>frmUserPurview.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\frmUserPurviewDetail.cs"> <Compile Include="frmUserPurviewDetail.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="PublicUI\frmUserPurviewDetail.Designer.cs"> <Compile Include="frmUserPurviewDetail.Designer.cs">
<DependentUpon>frmUserPurviewDetail.cs</DependentUpon> <DependentUpon>frmUserPurviewDetail.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="PublicUI\MainFormManage.cs"> <Compile Include="PublicUI\MainFormManage.cs">
@ -771,6 +789,9 @@
<Compile Include="PublicUI\MainFormManage.designer.cs"> <Compile Include="PublicUI\MainFormManage.designer.cs">
<DependentUpon>MainFormManage.cs</DependentUpon> <DependentUpon>MainFormManage.cs</DependentUpon>
</Compile> </Compile>
<EmbeddedResource Include="DataDictionary\frmAnaesthesiaMethod.resx">
<DependentUpon>frmAnaesthesiaMethod.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DataDictionary\frmBasicDictionary.resx"> <EmbeddedResource Include="DataDictionary\frmBasicDictionary.resx">
<DependentUpon>frmBasicDictionary.cs</DependentUpon> <DependentUpon>frmBasicDictionary.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
@ -784,6 +805,12 @@
<EmbeddedResource Include="DataDictionary\frmEvents.resx"> <EmbeddedResource Include="DataDictionary\frmEvents.resx">
<DependentUpon>frmEvents.cs</DependentUpon> <DependentUpon>frmEvents.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="DataDictionary\frmOperationBodyPosition.resx">
<DependentUpon>frmOperationBodyPosition.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DataDictionary\frmOperationPosition.resx">
<DependentUpon>frmOperationPosition.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="DataDictionary\frmOperation.resx"> <EmbeddedResource Include="DataDictionary\frmOperation.resx">
<DependentUpon>frmOperation.cs</DependentUpon> <DependentUpon>frmOperation.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
@ -970,25 +997,25 @@
<EmbeddedResource Include="OperationDoing\AnasRecordBill\frmFactOutputLiquidsNew.resx"> <EmbeddedResource Include="OperationDoing\AnasRecordBill\frmFactOutputLiquidsNew.resx">
<DependentUpon>frmFactOutputLiquidsNew.cs</DependentUpon> <DependentUpon>frmFactOutputLiquidsNew.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmAnaesthesiaDrugSelect.resx"> <EmbeddedResource Include="DataDictionary\frmAnaesthesiaDrugSelect.resx">
<DependentUpon>frmAnaesthesiaDrugSelect.cs</DependentUpon> <DependentUpon>frmAnaesthesiaDrugSelect.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmAnaesthesiaEvents.resx"> <EmbeddedResource Include="DataDictionary\frmAnaesthesiaEvents.resx">
<DependentUpon>frmAnaesthesiaEvents.cs</DependentUpon> <DependentUpon>frmAnaesthesiaEvents.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmAnaesthesiaEventSelect.resx"> <EmbeddedResource Include="DataDictionary\frmAnaesthesiaEventSelect.resx">
<DependentUpon>frmAnaesthesiaEventSelect.cs</DependentUpon> <DependentUpon>frmAnaesthesiaEventSelect.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmAppliance.resx"> <EmbeddedResource Include="DataDictionary\frmAppliance.resx">
<DependentUpon>frmAppliance.cs</DependentUpon> <DependentUpon>frmAppliance.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmApplianceSelect.resx"> <EmbeddedResource Include="DataDictionary\frmApplianceSelect.resx">
<DependentUpon>frmApplianceSelect.cs</DependentUpon> <DependentUpon>frmApplianceSelect.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmApplianceUseType.resx"> <EmbeddedResource Include="DataDictionary\frmApplianceUseType.resx">
<DependentUpon>frmApplianceUseType.cs</DependentUpon> <DependentUpon>frmApplianceUseType.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmBloodGasAnalysisDict.resx"> <EmbeddedResource Include="DataDictionary\frmBloodGasAnalysisDict.resx">
<DependentUpon>frmBloodGasAnalysisDict.cs</DependentUpon> <DependentUpon>frmBloodGasAnalysisDict.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmNoticeMain.resx"> <EmbeddedResource Include="PublicUI\frmNoticeMain.resx">
@ -1083,7 +1110,7 @@
<EmbeddedResource Include="OperationDoing\AnasRecordBill\frmFactEventsNew.resx"> <EmbeddedResource Include="OperationDoing\AnasRecordBill\frmFactEventsNew.resx">
<DependentUpon>frmFactEventsNew.cs</DependentUpon> <DependentUpon>frmFactEventsNew.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmMenu.resx"> <EmbeddedResource Include="DataDictionary\frmMenu.resx">
<DependentUpon>frmMenu.cs</DependentUpon> <DependentUpon>frmMenu.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmNotice.resx"> <EmbeddedResource Include="PublicUI\frmNotice.resx">
@ -1113,10 +1140,10 @@
<EmbeddedResource Include="PublicUI\frmTemplate.resx"> <EmbeddedResource Include="PublicUI\frmTemplate.resx">
<DependentUpon>frmTemplate.cs</DependentUpon> <DependentUpon>frmTemplate.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmUserPurview.resx"> <EmbeddedResource Include="frmUserPurview.resx">
<DependentUpon>frmUserPurview.cs</DependentUpon> <DependentUpon>frmUserPurview.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\frmUserPurviewDetail.resx"> <EmbeddedResource Include="frmUserPurviewDetail.resx">
<DependentUpon>frmUserPurviewDetail.cs</DependentUpon> <DependentUpon>frmUserPurviewDetail.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="PublicUI\MainFormManage.resx"> <EmbeddedResource Include="PublicUI\MainFormManage.resx">

View File

@ -0,0 +1,522 @@
namespace DataDictionary.UI
{
partial class frmAnaesthesiaMethod
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle 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();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.tvDictionary = new System.Windows.Forms.TreeView();
this.dgvDictionary = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.panel1 = new System.Windows.Forms.Panel();
this.intDepOrder = new DevComponents.Editors.IntegerInput();
this.label3 = new System.Windows.Forms.Label();
this.chkIsValid = new System.Windows.Forms.CheckBox();
this.txtHqms = new DevComponents.DotNetBar.Controls.TextBoxX();
this.txtHCode = new DevComponents.DotNetBar.Controls.TextBoxX();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.cboDict = new DevComponents.DotNetBar.Controls.ComboBoxEx();
this.txtName = new DevComponents.DotNetBar.Controls.TextBoxX();
this.label2 = new System.Windows.Forms.Label();
this.lblts = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.aName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.HCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.pName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.UseRate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Explain = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.tsbSava = new System.Windows.Forms.ToolStripButton();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvDictionary)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.intDepOrder)).BeginInit();
this.SuspendLayout();
//
// toolStrip1
//
this.toolStrip1.BackColor = System.Drawing.Color.Transparent;
this.toolStrip1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 12F);
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(35, 35);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbAdd,
this.toolStripSeparator1,
this.tsbModify,
this.toolStripSeparator2,
this.tsbCancel,
this.tsbSava,
this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(1020, 59);
this.toolStrip1.TabIndex = 13;
this.toolStrip1.Text = "toolStrip1";
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.splitContainer1.Location = new System.Drawing.Point(0, 59);
this.splitContainer1.Name = "splitContainer1";
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.tvDictionary);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.dgvDictionary);
this.splitContainer1.Panel2.Controls.Add(this.panel1);
this.splitContainer1.Panel2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.splitContainer1.Size = new System.Drawing.Size(1020, 436);
this.splitContainer1.SplitterDistance = 219;
this.splitContainer1.TabIndex = 14;
//
// tvDictionary
//
this.tvDictionary.BackColor = System.Drawing.Color.Snow;
this.tvDictionary.Dock = System.Windows.Forms.DockStyle.Fill;
this.tvDictionary.Location = new System.Drawing.Point(0, 0);
this.tvDictionary.Name = "tvDictionary";
this.tvDictionary.Size = new System.Drawing.Size(219, 436);
this.tvDictionary.TabIndex = 1;
this.tvDictionary.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tvDictionary_AfterSelect);
//
// dgvDictionary
//
this.dgvDictionary.AllowUserToAddRows = false;
this.dgvDictionary.AllowUserToDeleteRows = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(247)))), ((int)(((byte)(255)))));
this.dgvDictionary.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvDictionary.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCells;
this.dgvDictionary.BackgroundColor = System.Drawing.Color.Snow;
this.dgvDictionary.BorderStyle = System.Windows.Forms.BorderStyle.None;
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 10.5F, 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.dgvDictionary.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
this.dgvDictionary.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvDictionary.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.Index,
this.aName,
this.HCode,
this.pName,
this.UseRate,
this.IsValid,
this.Explain});
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvDictionary.DefaultCellStyle = dataGridViewCellStyle7;
this.dgvDictionary.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvDictionary.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.dgvDictionary.Location = new System.Drawing.Point(0, 93);
this.dgvDictionary.Name = "dgvDictionary";
this.dgvDictionary.ReadOnly = true;
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dgvDictionary.RowHeadersDefaultCellStyle = dataGridViewCellStyle8;
this.dgvDictionary.RowHeadersVisible = false;
this.dgvDictionary.RowTemplate.Height = 23;
this.dgvDictionary.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvDictionary.Size = new System.Drawing.Size(797, 343);
this.dgvDictionary.TabIndex = 1;
this.dgvDictionary.TabStop = false;
//
// panel1
//
this.panel1.BackColor = System.Drawing.SystemColors.Control;
this.panel1.Controls.Add(this.intDepOrder);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.chkIsValid);
this.panel1.Controls.Add(this.txtHqms);
this.panel1.Controls.Add(this.txtHCode);
this.panel1.Controls.Add(this.label5);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.cboDict);
this.panel1.Controls.Add(this.txtName);
this.panel1.Controls.Add(this.label2);
this.panel1.Controls.Add(this.lblts);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(797, 93);
this.panel1.TabIndex = 0;
//
// intDepOrder
//
//
//
//
this.intDepOrder.BackgroundStyle.Class = "DateTimeInputBackground";
this.intDepOrder.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.intDepOrder.Location = new System.Drawing.Point(547, 62);
this.intDepOrder.Name = "intDepOrder";
this.intDepOrder.ShowUpDown = true;
this.intDepOrder.Size = new System.Drawing.Size(80, 26);
this.intDepOrder.TabIndex = 22;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(504, 62);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(37, 20);
this.label3.TabIndex = 21;
this.label3.Text = "排序";
//
// chkIsValid
//
this.chkIsValid.AutoSize = true;
this.chkIsValid.Checked = true;
this.chkIsValid.CheckState = System.Windows.Forms.CheckState.Checked;
this.chkIsValid.Location = new System.Drawing.Point(508, 31);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(56, 24);
this.chkIsValid.TabIndex = 0;
this.chkIsValid.TabStop = false;
this.chkIsValid.Text = "有效";
this.chkIsValid.UseVisualStyleBackColor = true;
//
// txtHqms
//
//
//
//
this.txtHqms.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtHqms.Location = new System.Drawing.Point(399, 62);
this.txtHqms.Name = "txtHqms";
this.txtHqms.Size = new System.Drawing.Size(99, 20);
this.txtHqms.TabIndex = 2;
//
// txtHCode
//
//
//
//
this.txtHCode.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtHCode.Location = new System.Drawing.Point(362, 29);
this.txtHCode.Name = "txtHCode";
this.txtHCode.Size = new System.Drawing.Size(99, 20);
this.txtHCode.TabIndex = 2;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(316, 62);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(81, 20);
this.label5.TabIndex = 8;
this.label5.Text = "HQMS编码";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(304, 29);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(51, 20);
this.label4.TabIndex = 8;
this.label4.Text = "助记码";
//
// cboDict
//
this.cboDict.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboDict.FormattingEnabled = true;
this.cboDict.Location = new System.Drawing.Point(116, 59);
this.cboDict.Name = "cboDict";
this.cboDict.Size = new System.Drawing.Size(182, 28);
this.cboDict.TabIndex = 3;
//
// txtName
//
//
//
//
this.txtName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.txtName.Location = new System.Drawing.Point(116, 29);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(182, 20);
this.txtName.TabIndex = 1;
this.txtName.TextChanged += new System.EventHandler(this.txtName_TextChanged);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(14, 62);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(93, 20);
this.label2.TabIndex = 3;
this.label2.Text = "所属麻醉类型";
//
// lblts
//
this.lblts.AutoSize = true;
this.lblts.ForeColor = System.Drawing.Color.Red;
this.lblts.Location = new System.Drawing.Point(95, 6);
this.lblts.Name = "lblts";
this.lblts.Size = new System.Drawing.Size(0, 20);
this.lblts.TabIndex = 4;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(14, 29);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(93, 20);
this.label1.TabIndex = 4;
this.label1.Text = "麻醉方式名称";
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.HeaderText = "编号";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Visible = false;
this.Id.Width = 43;
//
// Index
//
this.Index.DataPropertyName = "Index";
this.Index.HeaderText = "序号";
this.Index.Name = "Index";
this.Index.ReadOnly = true;
this.Index.Width = 62;
//
// aName
//
this.aName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.aName.DataPropertyName = "Name";
this.aName.HeaderText = "名称";
this.aName.Name = "aName";
this.aName.ReadOnly = true;
//
// HCode
//
this.HCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.HCode.DataPropertyName = "HCode";
this.HCode.HeaderText = "助记码";
this.HCode.Name = "HCode";
this.HCode.ReadOnly = true;
//
// pName
//
this.pName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.pName.DataPropertyName = "pName";
this.pName.HeaderText = "所属麻醉";
this.pName.Name = "pName";
this.pName.ReadOnly = true;
//
// UseRate
//
this.UseRate.DataPropertyName = "UseRate";
this.UseRate.HeaderText = "使用频次";
this.UseRate.Name = "UseRate";
this.UseRate.ReadOnly = true;
this.UseRate.Width = 90;
//
// IsValid
//
this.IsValid.DataPropertyName = "IsValid";
this.IsValid.HeaderText = "是否有效";
this.IsValid.Name = "IsValid";
this.IsValid.ReadOnly = true;
this.IsValid.Width = 90;
//
// Explain
//
this.Explain.DataPropertyName = "Explain";
this.Explain.HeaderText = "HQMS编码";
this.Explain.Name = "Explain";
this.Explain.ReadOnly = true;
this.Explain.Width = 106;
//
// tsbAdd
//
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbAdd.ForeColor = System.Drawing.Color.Black;
this.tsbAdd.Image = global::AIMS.Properties.Resources._新建;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 56);
this.tsbAdd.Text = " 增加 ";
this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 59);
//
// tsbModify
//
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbModify.ForeColor = System.Drawing.Color.Black;
this.tsbModify.Image = global::AIMS.Properties.Resources._编辑;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(52, 56);
this.tsbModify.Text = " 修改 ";
this.tsbModify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 59);
//
// tsbCancel
//
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCancel.ForeColor = System.Drawing.Color.Black;
this.tsbCancel.Image = global::AIMS.Properties.Resources._取消;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(52, 56);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// tsbSava
//
this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSava.ForeColor = System.Drawing.Color.Black;
this.tsbSava.Image = global::AIMS.Properties.Resources._保存;
this.tsbSava.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbSava.Name = "tsbSava";
this.tsbSava.Size = new System.Drawing.Size(52, 56);
this.tsbSava.Text = " 保存 ";
this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSava.Click += new System.EventHandler(this.tsbSave_Click);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.ForeColor = System.Drawing.Color.Black;
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭窗口;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 56);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// frmAnaesthesiaMethod
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1020, 495);
this.Controls.Add(this.splitContainer1);
this.Controls.Add(this.toolStrip1);
this.Name = "frmAnaesthesiaMethod";
this.Text = "麻醉方式";
this.Load += new System.EventHandler(this.frmAnaesthesiaMethod_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvDictionary)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.intDepOrder)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.SplitContainer splitContainer1;
private System.Windows.Forms.TreeView tvDictionary;
private DevComponents.DotNetBar.Controls.DataGridViewX dgvDictionary;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.CheckBox chkIsValid;
private DevComponents.DotNetBar.Controls.TextBoxX txtHCode;
private System.Windows.Forms.Label label4;
private DevComponents.DotNetBar.Controls.ComboBoxEx cboDict;
private DevComponents.DotNetBar.Controls.TextBoxX txtName;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label lblts;
private System.Windows.Forms.Label label1;
private DevComponents.DotNetBar.Controls.TextBoxX txtHqms;
private System.Windows.Forms.Label label5;
private DevComponents.Editors.IntegerInput intDepOrder;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn Index;
private System.Windows.Forms.DataGridViewTextBoxColumn aName;
private System.Windows.Forms.DataGridViewTextBoxColumn HCode;
private System.Windows.Forms.DataGridViewTextBoxColumn pName;
private System.Windows.Forms.DataGridViewTextBoxColumn UseRate;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValid;
private System.Windows.Forms.DataGridViewTextBoxColumn Explain;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripButton tsbSava;
public System.Windows.Forms.ToolStripButton tsbExit;
}
}

View File

@ -0,0 +1,259 @@
using AIMSBLL;
using AIMSExtension;
using AIMSModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace DataDictionary.UI
{
public partial class frmAnaesthesiaMethod : Form
{
/// <summary>
/// 麻醉字典集合
/// </summary>
private List<AnaesthesiaMethod> list;
private EditState state = EditState.BROWSE;
/// <summary>
/// 编号
/// </summary>
public int pid;
public frmAnaesthesiaMethod()
{
InitializeComponent();
}
private void frmAnaesthesiaMethod_Load(object sender, EventArgs e)
{
Initial();
//FullTreeView(list);
PublicMethod.EnabledControl(panel1, false);
}
/// <summary>
/// 初始化TreeView
/// </summary>
private void Initial()
{
list = BAnaesthesiaMethod.Select(" IsValid=1 ", new ParameterList(), RecursiveType.None, 0);
tvDictionary.Nodes.Clear();
//设置根节点
TreeNode rootNode = new TreeNode("麻醉方式");
FillTvTreeNode(rootNode, 0);
tvDictionary.Nodes.Add(rootNode);
tvDictionary.Nodes[0].Expand();
//初始化ComboBox
List<AnaesthesiaMethod> sList = list;
sList.Insert(0, new AnaesthesiaMethod() { Id = -1, Name = "" });
cboDict.DataSource = sList;
cboDict.DisplayMember = "Name";
cboDict.ValueMember = "Id";
}
private void FillTvTreeNode(TreeNode node, int ParentId)
{
foreach (AnaesthesiaMethod sAnaes in list)
{
if (sAnaes.ParentId == ParentId)
{
TreeNode sNode = new TreeNode(sAnaes.Name);
sNode.Tag = sAnaes;
FillTvTreeNode(sNode, sAnaes.Id.Value);
node.Nodes.Add(sNode);
}
}
}
private void tsbExit_Click(object sender, EventArgs e)
{
this.Close();
}
private void FullDgv(AnaesthesiaMethod anaes)
{
cboDict.Text = anaes.Name;
dgvDictionary.AutoGenerateColumns = false;
dgvDictionary.Rows.Clear();
int num = 1;
anaes.Children = list.Where(a => a.ParentId == anaes.Id).ToList();
foreach (AnaesthesiaMethod sAnaes in anaes.Children)
{
int index = this.dgvDictionary.Rows.Add();
this.dgvDictionary.Rows[index].Cells["Id"].Value = sAnaes.Id;
this.dgvDictionary.Rows[index].Cells["Index"].Value = num;
num++;
this.dgvDictionary.Rows[index].Cells["aName"].Value = sAnaes.Name;
this.dgvDictionary.Rows[index].Cells["HCode"].Value = sAnaes.HelpCode;
this.dgvDictionary.Rows[index].Cells["pName"].Value = anaes.Name;
this.dgvDictionary.Rows[index].Cells["UseRate"].Value = sAnaes.UseRate;
this.dgvDictionary.Rows[index].Cells["IsValid"].Value = sAnaes.IsValid == 1 ? "有效" : "无效";
this.dgvDictionary.Rows[index].Cells["Explain"].Value = sAnaes.Explain;
}
}
private void tsbAdd_Click(object sender, EventArgs e)
{
if (tvDictionary.SelectedNode == null)
{
MessageBox.Show("请选择麻醉目录");
return;
}
state = EditState.ADD;
chkIsValid.Checked = true;
if (tvDictionary.SelectedNode.Level == 0)
{
lblts.Text = "当前状态为:添加新麻醉类型";
PublicMethod.EnabledControl(panel1, true);
cboDict.Enabled = false;
}
else
{
lblts.Text = "当前状态为:为" + tvDictionary.SelectedNode.Text + "添加新麻醉方式";
PublicMethod.EnabledControl(panel1, true);
cboDict.Enabled = false;
}
}
private void tsbModify_Click(object sender, EventArgs e)
{
if (dgvDictionary.SelectedRows.Count < 1)
{
MessageBox.Show("请从列表中选择要修改的麻醉方式!");
return;
}
state = EditState.EDIT;
pid = Convert.ToInt32(dgvDictionary.SelectedRows[0].Cells["Id"].Value);
txtName.Text = dgvDictionary.SelectedRows[0].Cells["aName"].Value.ToString();
txtHCode.Text = dgvDictionary.SelectedRows[0].Cells["HCode"].Value.ToString();
if (dgvDictionary.SelectedRows[0].Cells["Explain"].Value != null)
txtHqms.Text = dgvDictionary.SelectedRows[0].Cells["Explain"].Value.ToString();
chkIsValid.Checked = dgvDictionary.SelectedRows[0].Cells["IsValid"].Value.ToString() == "有效" ? true : false;
intDepOrder.Text = dgvDictionary.SelectedRows[0].Cells["UseRate"].Value.ToString();
txtName.Enabled = true;
txtHCode.Enabled = true;
intDepOrder.Enabled = true;
chkIsValid.Enabled = true;
txtHqms.Enabled = true;
}
private void tsbCancel_Click(object sender, EventArgs e)
{
PublicMethod.EnabledControl(panel1, false);
PublicMethod.ClearControl(panel1);
lblts.Text = "";
state = EditState.BROWSE;
}
private void tsbSave_Click(object sender, EventArgs e)
{
foreach (DataGridViewRow row in dgvDictionary.Rows)
{
if (state != EditState.EDIT && (row.Cells["aName"].Value.ToString() == txtName.Text.Trim()))
{
MessageBox.Show("麻醉方式已存在,请重新输入");
txtName.Text = "";
txtName.Focus();
return;
}
}
if (ValidInput())
{
AnaesthesiaMethod anaes = new AnaesthesiaMethod();
string nodeName = cboDict.Text.Trim();
if (Convert.ToInt32(cboDict.SelectedValue) > 0)
{
anaes.ParentId = Convert.ToInt32(cboDict.SelectedValue);
}
else
{
anaes.ParentId = 0;
}
anaes.Name = txtName.Text.Trim();
anaes.HelpCode = txtHCode.Text.Trim();
anaes.IsValid = chkIsValid.Checked == true ? 1 : 0;
if (intDepOrder.Text.Trim().Length > 0)
{
anaes.UseRate = int.Parse(intDepOrder.Text.Trim());
}
else
{
anaes.UseRate = 0;
}
anaes.Explain = txtHqms.Text.Trim();
anaes.OperatorNo = PublicMethod.OperatorNo;
anaes.OperatorName = PublicMethod.OperatorName;
anaes.OperateDate = DateTime.Now;
int n = 0;
if (state == EditState.ADD)
{
n = BAnaesthesiaMethod.Insert(anaes);
}
else if (state == EditState.EDIT)
{
anaes.Id = pid;
n = BAnaesthesiaMethod.Update(anaes);
}
if (n > 0)
{
MessageBox.Show("保存成功!");
PublicMethod.EnabledControl(panel1, false);
PublicMethod.ClearControl(panel1);
}
Initial();
state = EditState.BROWSE;
foreach (TreeNode node in tvDictionary.Nodes[0].Nodes)
{
if (node.Text == nodeName)
{
AnaesthesiaMethod sbd = node.Tag as AnaesthesiaMethod;
FullDgv(sbd);
break;
}
}
}
}
/// <summary>
/// 输入字典名称时为助记码文本框赋值
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void txtName_TextChanged(object sender, EventArgs e)
{
txtHCode.Text = PublicMethod.GetFirstLetter(txtName.Text);
}
/// <summary>
/// 输入验证
/// </summary>
/// <returns></returns>
private bool ValidInput()
{
bool key = false;
if (txtName.Text.Trim().Length < 1)
{
MessageBox.Show("请输入名称!");
}
else if (txtHCode.Text.Trim().Length < 1)
{
MessageBox.Show("请输入助记码!");
}
else if (txtHqms.Text.Trim().Length < 1)
{
MessageBox.Show("请输HQMS编码");
}
else
{
key = true;
}
return key;
}
private void tvDictionary_AfterSelect(object sender, TreeViewEventArgs e)
{
if (tvDictionary.SelectedNode.Level <= 0) return;
AnaesthesiaMethod bd = tvDictionary.SelectedNode.Tag as AnaesthesiaMethod;
FullDgv(bd);
}
}
}

View File

@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Index.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="aName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="HCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="pName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="UseRate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="IsValid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Explain.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -43,15 +43,6 @@
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.chkAll = new System.Windows.Forms.CheckBox(); this.chkAll = new System.Windows.Forms.CheckBox();
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSave = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel3 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel();
this.dgvAppliance = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.dgvAppliance = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -61,6 +52,15 @@
this.Type = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Type = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.UseRate = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.UseRate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.IsValid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSava = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout();
this.panel3.SuspendLayout(); this.panel3.SuspendLayout();
@ -82,7 +82,7 @@
this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top; 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.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, 28); this.panel1.Location = new System.Drawing.Point(0, 54);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(915, 74); this.panel1.Size = new System.Drawing.Size(915, 74);
this.panel1.TabIndex = 12; this.panel1.TabIndex = 12;
@ -204,98 +204,28 @@
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30); this.toolStrip1.ImageScalingSize = new System.Drawing.Size(30, 30);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbAdd, this.tsbAdd,
this.toolStripSeparator3,
this.tsbModify,
this.toolStripSeparator4,
this.tsbCancel,
this.toolStripSeparator5,
this.tsbSave,
this.toolStripSeparator1, this.toolStripSeparator1,
this.tsbModify,
this.toolStripSeparator2,
this.tsbCancel,
this.toolStripSeparator3,
this.tsbSava,
this.toolStripSeparator4,
this.tsbExit}); this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(915, 28); this.toolStrip1.Size = new System.Drawing.Size(915, 54);
this.toolStrip1.TabIndex = 11; this.toolStrip1.TabIndex = 11;
this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.Text = "toolStrip1";
// //
// tsbAdd
//
this.tsbAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 12F);
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(76, 25);
this.tsbAdd.Text = " 新建 ";
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 28);
//
// tsbModify
//
this.tsbModify.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 12F);
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(76, 25);
this.tsbModify.Text = " 修改 ";
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 28);
//
// tsbCancel
//
this.tsbCancel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 12F);
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(76, 25);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator5
//
this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(6, 28);
//
// tsbSave
//
this.tsbSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsbSave.Font = new System.Drawing.Font("微软雅黑", 12F);
this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbSave.Name = "tsbSave";
this.tsbSave.Size = new System.Drawing.Size(76, 25);
this.tsbSave.Text = " 保存 ";
this.tsbSave.Click += new System.EventHandler(this.tsbSave_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 28);
//
// tsbExit
//
this.tsbExit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 12F);
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(76, 25);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// panel3 // panel3
// //
this.panel3.Controls.Add(this.dgvAppliance); this.panel3.Controls.Add(this.dgvAppliance);
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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, 102); this.panel3.Location = new System.Drawing.Point(0, 128);
this.panel3.Name = "panel3"; this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(915, 395); this.panel3.Size = new System.Drawing.Size(915, 369);
this.panel3.TabIndex = 16; this.panel3.TabIndex = 16;
// //
// dgvAppliance // dgvAppliance
@ -337,7 +267,7 @@
this.dgvAppliance.Name = "dgvAppliance"; this.dgvAppliance.Name = "dgvAppliance";
this.dgvAppliance.RowTemplate.Height = 23; this.dgvAppliance.RowTemplate.Height = 23;
this.dgvAppliance.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dgvAppliance.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvAppliance.Size = new System.Drawing.Size(915, 395); this.dgvAppliance.Size = new System.Drawing.Size(915, 369);
this.dgvAppliance.TabIndex = 1; this.dgvAppliance.TabIndex = 1;
// //
// Id // Id
@ -385,6 +315,81 @@
this.IsValid.HeaderText = "是否有效"; this.IsValid.HeaderText = "是否有效";
this.IsValid.Name = "IsValid"; this.IsValid.Name = "IsValid";
// //
// tsbAdd
//
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbAdd.Image = global::AIMS.Properties.Resources._新建;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 51);
this.tsbAdd.Text = " 增加 ";
this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 54);
//
// tsbModify
//
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbModify.Image = global::AIMS.Properties.Resources._编辑;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(52, 51);
this.tsbModify.Text = " 修改 ";
this.tsbModify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 54);
//
// tsbCancel
//
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCancel.Image = global::AIMS.Properties.Resources._取消;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(52, 51);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 54);
//
// tsbSava
//
this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSava.Image = global::AIMS.Properties.Resources._保存;
this.tsbSava.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbSava.Name = "tsbSava";
this.tsbSava.Size = new System.Drawing.Size(52, 51);
this.tsbSava.Text = " 保存 ";
this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSava.Click += new System.EventHandler(this.tsbSave_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 54);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭窗口;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 51);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// frmAppliance // frmAppliance
// //
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@ -419,19 +424,10 @@
private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.ToolStrip toolStrip1; private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripButton tsbSave;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbExit;
private DevComponents.DotNetBar.Controls.ComboBoxEx cboType; private DevComponents.DotNetBar.Controls.ComboBoxEx cboType;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
private System.Windows.Forms.CheckBox chkAll; private System.Windows.Forms.CheckBox chkAll;
private System.Windows.Forms.Panel panel3; private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
private DevComponents.DotNetBar.Controls.ComboBoxEx cboUseType; private DevComponents.DotNetBar.Controls.ComboBoxEx cboUseType;
private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label2;
private DevComponents.DotNetBar.Controls.DataGridViewX dgvAppliance; private DevComponents.DotNetBar.Controls.DataGridViewX dgvAppliance;
@ -442,5 +438,14 @@
private System.Windows.Forms.DataGridViewTextBoxColumn Type; private System.Windows.Forms.DataGridViewTextBoxColumn Type;
private System.Windows.Forms.DataGridViewTextBoxColumn UseRate; private System.Windows.Forms.DataGridViewTextBoxColumn UseRate;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValid; private System.Windows.Forms.DataGridViewTextBoxColumn IsValid;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbSava;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
public System.Windows.Forms.ToolStripButton tsbExit;
} }
} }

View File

@ -39,15 +39,6 @@
this.label4 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSave = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
this.dgvApplianceUseType = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.dgvApplianceUseType = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
@ -58,6 +49,15 @@
this.HCode = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.HCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValid = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.IsValid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Select = new System.Windows.Forms.DataGridViewButtonColumn(); this.Select = new System.Windows.Forms.DataGridViewButtonColumn();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSava = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout(); this.toolStrip1.SuspendLayout();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
@ -76,7 +76,7 @@
this.panel1.Controls.Add(this.label1); this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top; 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.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, 28); this.panel1.Location = new System.Drawing.Point(0, 59);
this.panel1.Name = "panel1"; this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(968, 42); this.panel1.Size = new System.Drawing.Size(968, 42);
this.panel1.TabIndex = 12; this.panel1.TabIndex = 12;
@ -152,93 +152,28 @@
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(35, 35); this.toolStrip1.ImageScalingSize = new System.Drawing.Size(35, 35);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.tsbAdd, this.tsbAdd,
this.toolStripSeparator2,
this.tsbModify,
this.toolStripSeparator3,
this.tsbCancel,
this.toolStripSeparator4,
this.tsbSave,
this.toolStripSeparator1, this.toolStripSeparator1,
this.tsbModify,
this.toolStripSeparator2,
this.tsbCancel,
this.toolStripSeparator3,
this.tsbSava,
this.toolStripSeparator4,
this.tsbExit}); this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(968, 28); this.toolStrip1.Size = new System.Drawing.Size(968, 59);
this.toolStrip1.TabIndex = 11; this.toolStrip1.TabIndex = 11;
this.toolStrip1.Text = "toolStrip1"; this.toolStrip1.Text = "toolStrip1";
// //
// tsbAdd
//
this.tsbAdd.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(76, 25);
this.tsbAdd.Text = " 新建 ";
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 28);
//
// tsbModify
//
this.tsbModify.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(76, 25);
this.tsbModify.Text = " 修改 ";
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 28);
//
// tsbCancel
//
this.tsbCancel.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(76, 25);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 28);
//
// tsbSave
//
this.tsbSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbSave.Name = "tsbSave";
this.tsbSave.Size = new System.Drawing.Size(76, 25);
this.tsbSave.Text = " 保存 ";
this.tsbSave.Click += new System.EventHandler(this.tsbSave_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 28);
//
// tsbExit
//
this.tsbExit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(76, 25);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// panel2 // panel2
// //
this.panel2.Controls.Add(this.dgvApplianceUseType); this.panel2.Controls.Add(this.dgvApplianceUseType);
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); 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, 70); this.panel2.Location = new System.Drawing.Point(0, 101);
this.panel2.Name = "panel2"; this.panel2.Name = "panel2";
this.panel2.Size = new System.Drawing.Size(968, 429); this.panel2.Size = new System.Drawing.Size(968, 398);
this.panel2.TabIndex = 13; this.panel2.TabIndex = 13;
// //
// dgvApplianceUseType // dgvApplianceUseType
@ -281,7 +216,7 @@
this.dgvApplianceUseType.Name = "dgvApplianceUseType"; this.dgvApplianceUseType.Name = "dgvApplianceUseType";
this.dgvApplianceUseType.RowTemplate.Height = 23; this.dgvApplianceUseType.RowTemplate.Height = 23;
this.dgvApplianceUseType.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; this.dgvApplianceUseType.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvApplianceUseType.Size = new System.Drawing.Size(968, 429); this.dgvApplianceUseType.Size = new System.Drawing.Size(968, 398);
this.dgvApplianceUseType.TabIndex = 0; this.dgvApplianceUseType.TabIndex = 0;
this.dgvApplianceUseType.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvApplianceUseType_CellContentClick); this.dgvApplianceUseType.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvApplianceUseType_CellContentClick);
// //
@ -338,6 +273,81 @@
this.Select.UseColumnTextForButtonValue = true; this.Select.UseColumnTextForButtonValue = true;
this.Select.Width = 150; this.Select.Width = 150;
// //
// tsbAdd
//
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbAdd.Image = global::AIMS.Properties.Resources._新建;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 56);
this.tsbAdd.Text = " 增加 ";
this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 59);
//
// tsbModify
//
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbModify.Image = global::AIMS.Properties.Resources._编辑;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(52, 56);
this.tsbModify.Text = " 修改 ";
this.tsbModify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 59);
//
// tsbCancel
//
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCancel.Image = global::AIMS.Properties.Resources._取消;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(52, 56);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 59);
//
// tsbSava
//
this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSava.Image = global::AIMS.Properties.Resources._保存;
this.tsbSava.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbSava.Name = "tsbSava";
this.tsbSava.Size = new System.Drawing.Size(52, 56);
this.tsbSava.Text = " 保存 ";
this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSava.Click += new System.EventHandler(this.tsbSave_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 59);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭窗口;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 56);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// frmApplianceUseType // frmApplianceUseType
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@ -371,17 +381,8 @@
private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label1;
private System.Windows.Forms.ToolStrip toolStrip1; private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripButton tsbSave;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.Panel panel2; private System.Windows.Forms.Panel panel2;
private DevComponents.DotNetBar.Controls.DataGridViewX dgvApplianceUseType; private DevComponents.DotNetBar.Controls.DataGridViewX dgvApplianceUseType;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.DataGridViewTextBoxColumn Id; private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn Index; private System.Windows.Forms.DataGridViewTextBoxColumn Index;
private System.Windows.Forms.DataGridViewTextBoxColumn oName; private System.Windows.Forms.DataGridViewTextBoxColumn oName;
@ -390,5 +391,14 @@
private System.Windows.Forms.DataGridViewTextBoxColumn HCode; private System.Windows.Forms.DataGridViewTextBoxColumn HCode;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValid; private System.Windows.Forms.DataGridViewTextBoxColumn IsValid;
private System.Windows.Forms.DataGridViewButtonColumn Select; private System.Windows.Forms.DataGridViewButtonColumn Select;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbSava;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
public System.Windows.Forms.ToolStripButton tsbExit;
} }
} }

View File

@ -117,6 +117,9 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
@ -159,7 +162,4 @@
<metadata name="RemarkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="RemarkColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root> </root>

View File

@ -0,0 +1,380 @@
namespace DataDictionary.UI
{
partial class frmOperationBodyPosition
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSava = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.dgvOperation = new System.Windows.Forms.DataGridView();
this.label1 = new System.Windows.Forms.Label();
this.txtName = new System.Windows.Forms.TextBox();
this.chkIsValid = new System.Windows.Forms.CheckBox();
this.label3 = new System.Windows.Forms.Label();
this.txtHelpCode = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.txtExplain = new System.Windows.Forms.TextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.intMenuOrder = new DevComponents.Editors.IntegerInput();
this.label4 = new System.Windows.Forms.Label();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.HelpCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Explain = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PositionOrder = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvOperation)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.intMenuOrder)).BeginInit();
this.SuspendLayout();
//
// toolStrip1
//
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.tsbAdd,
this.toolStripSeparator1,
this.tsbModify,
this.toolStripSeparator2,
this.tsbCancel,
this.toolStripSeparator3,
this.tsbSava,
this.toolStripSeparator4,
this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(763, 49);
this.toolStrip1.TabIndex = 9;
this.toolStrip1.Text = "toolStrip1";
//
// tsbAdd
//
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbAdd.Image = global::AIMS.Properties.Resources._新建;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 46);
this.tsbAdd.Text = " 增加 ";
this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49);
//
// tsbModify
//
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbModify.Image = global::AIMS.Properties.Resources._编辑;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(52, 46);
this.tsbModify.Text = " 修改 ";
this.tsbModify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// tsbCancel
//
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCancel.Image = global::AIMS.Properties.Resources._取消;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(52, 46);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
//
// tsbSava
//
this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSava.Image = global::AIMS.Properties.Resources._保存;
this.tsbSava.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbSava.Name = "tsbSava";
this.tsbSava.Size = new System.Drawing.Size(52, 46);
this.tsbSava.Text = " 保存 ";
this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSava.Click += new System.EventHandler(this.tsbSava_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 49);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭窗口;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 46);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// dgvOperation
//
this.dgvOperation.AllowUserToAddRows = false;
this.dgvOperation.BackgroundColor = System.Drawing.Color.White;
this.dgvOperation.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvOperation.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.NameColumn,
this.HelpCode,
this.IsValid,
this.Explain,
this.PositionOrder});
this.dgvOperation.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvOperation.Location = new System.Drawing.Point(0, 111);
this.dgvOperation.Name = "dgvOperation";
this.dgvOperation.RowHeadersVisible = false;
this.dgvOperation.RowTemplate.Height = 23;
this.dgvOperation.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvOperation.Size = new System.Drawing.Size(763, 318);
this.dgvOperation.TabIndex = 11;
this.dgvOperation.TabStop = false;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(5, 22);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(49, 14);
this.label1.TabIndex = 11;
this.label1.Text = "名称:";
//
// txtName
//
this.txtName.Enabled = false;
this.txtName.Location = new System.Drawing.Point(59, 17);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(152, 23);
this.txtName.TabIndex = 12;
this.txtName.TextChanged += new System.EventHandler(this.txtName_TextChanged);
//
// chkIsValid
//
this.chkIsValid.AutoSize = true;
this.chkIsValid.Enabled = false;
this.chkIsValid.Location = new System.Drawing.Point(683, 22);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(68, 18);
this.chkIsValid.TabIndex = 13;
this.chkIsValid.Text = "有效性";
this.chkIsValid.UseVisualStyleBackColor = true;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(216, 22);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(63, 14);
this.label3.TabIndex = 557;
this.label3.Text = "助记码:";
//
// txtHelpCode
//
this.txtHelpCode.Enabled = false;
this.txtHelpCode.Location = new System.Drawing.Point(284, 17);
this.txtHelpCode.Name = "txtHelpCode";
this.txtHelpCode.Size = new System.Drawing.Size(95, 23);
this.txtHelpCode.TabIndex = 558;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(384, 22);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(49, 14);
this.label5.TabIndex = 557;
this.label5.Text = "描述:";
//
// txtExplain
//
this.txtExplain.Enabled = false;
this.txtExplain.Location = new System.Drawing.Point(438, 17);
this.txtExplain.Name = "txtExplain";
this.txtExplain.Size = new System.Drawing.Size(95, 23);
this.txtExplain.TabIndex = 558;
//
// panel1
//
this.panel1.Controls.Add(this.intMenuOrder);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.txtExplain);
this.panel1.Controls.Add(this.label5);
this.panel1.Controls.Add(this.txtHelpCode);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.chkIsValid);
this.panel1.Controls.Add(this.txtName);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel1.Location = new System.Drawing.Point(0, 49);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(763, 62);
this.panel1.TabIndex = 10;
//
// intMenuOrder
//
//
//
//
this.intMenuOrder.BackgroundStyle.Class = "DateTimeInputBackground";
this.intMenuOrder.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.intMenuOrder.Location = new System.Drawing.Point(578, 17);
this.intMenuOrder.Name = "intMenuOrder";
this.intMenuOrder.ShowUpDown = true;
this.intMenuOrder.Size = new System.Drawing.Size(80, 23);
this.intMenuOrder.TabIndex = 560;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(538, 22);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(35, 14);
this.label4.TabIndex = 559;
this.label4.Text = "排序";
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.Frozen = true;
this.Id.HeaderText = "编号";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Width = 60;
//
// NameColumn
//
this.NameColumn.DataPropertyName = "Name";
this.NameColumn.HeaderText = "名称";
this.NameColumn.Name = "NameColumn";
this.NameColumn.ReadOnly = true;
//
// HelpCode
//
this.HelpCode.DataPropertyName = "HelpCode";
this.HelpCode.HeaderText = "帮助码";
this.HelpCode.Name = "HelpCode";
this.HelpCode.ReadOnly = true;
//
// IsValid
//
this.IsValid.DataPropertyName = "IsValid";
this.IsValid.HeaderText = "有效性";
this.IsValid.Name = "IsValid";
//
// Explain
//
this.Explain.DataPropertyName = "Explain";
this.Explain.HeaderText = "描述";
this.Explain.Name = "Explain";
//
// PositionOrder
//
this.PositionOrder.DataPropertyName = "PositionOrder";
this.PositionOrder.HeaderText = "排序";
this.PositionOrder.Name = "PositionOrder";
//
// frmOperationBodyPosition
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(763, 429);
this.ControlBox = false;
this.Controls.Add(this.dgvOperation);
this.Controls.Add(this.panel1);
this.Controls.Add(this.toolStrip1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmOperationBodyPosition";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.frmOperationBodyPosition_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvOperation)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.intMenuOrder)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
public System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbSava;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
public System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.DataGridView dgvOperation;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.CheckBox chkIsValid;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtHelpCode;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox txtExplain;
private System.Windows.Forms.Panel panel1;
private DevComponents.Editors.IntegerInput intMenuOrder;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn HelpCode;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValid;
private System.Windows.Forms.DataGridViewTextBoxColumn Explain;
private System.Windows.Forms.DataGridViewTextBoxColumn PositionOrder;
}
}

View File

@ -0,0 +1,120 @@
using AIMSBLL;
using AIMSModel;
using System;
using System.Windows.Forms;
namespace DataDictionary.UI
{
public partial class frmOperationBodyPosition : Form
{
public AIMSExtension.EditState _state;
private int SelectOperationRowId = 0;
public frmOperationBodyPosition()
{
InitializeComponent();
}
private void frmOperationBodyPosition_Load(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.SetDgvAttribute(dgvOperation);
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
AIMSExtension.PublicMethod.ClearControl(panel1);
_state = AIMSExtension.EditState.BROWSE;
dgvOperation.DataSource = BOperationBodyPosition.GetDataTable();
}
private void tsbAdd_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.ADD;
AIMSExtension.PublicMethod.EnabledControl(panel1, true);
AIMSExtension.PublicMethod.ClearControl(panel1);
chkIsValid.Checked = true;
intMenuOrder.Value = 0;
}
private void tsbModify_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.EDIT;
AIMSExtension.PublicMethod.EnabledControl(panel1, true);
//txtName.Enabled = false;
if (dgvOperation.Rows.Count > 0)
{
SelectOperationRowId = int.Parse(dgvOperation.CurrentRow.Cells["Id"].Value.ToString());
txtName.Text = dgvOperation.CurrentRow.Cells["NameColumn"].Value.ToString();
txtHelpCode.Text = dgvOperation.CurrentRow.Cells["HelpCode"].Value.ToString();
txtExplain.Text = dgvOperation.CurrentRow.Cells["Explain"].Value.ToString();
intMenuOrder.Value = int.Parse(dgvOperation.CurrentRow.Cells["PositionOrder"].Value.ToString());
if (dgvOperation.CurrentRow.Cells["IsValid"].Value.ToString() == "有效")
{
chkIsValid.Checked = true;
}
else
{
chkIsValid.Checked = false;
}
}
}
private bool ValidInput()
{
bool result = false;
if (this.txtName.Text.Trim().Length < 1)
{
MessageBox.Show("请输入名称!");
}
else
{
result = true;
}
return result;
}
private void tsbSava_Click(object sender, EventArgs e)
{
if (this.ValidInput())
{
OperationBodyPosition OperationObj = new OperationBodyPosition();
OperationObj.Name = txtName.Text.Trim();
OperationObj.HelpCode = txtHelpCode.Text;
OperationObj.Explain = txtExplain.Text;
OperationObj.PositionOrder = intMenuOrder.Value;
OperationObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
OperationObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
OperationObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
OperationObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
if (_state == AIMSExtension.EditState.ADD)
{
if (BOperationBodyPosition.IsExit(txtName.Text.Trim()))
{
MessageBox.Show("该部位已存在");
return;
}
BOperationBodyPosition.Add(OperationObj);
}
if (_state == AIMSExtension.EditState.EDIT)
{
OperationObj.Id = SelectOperationRowId;
BOperationBodyPosition.Update(OperationObj);
}
}
_state = AIMSExtension.EditState.BROWSE;
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
AIMSExtension.PublicMethod.ClearControl(panel1);
dgvOperation.DataSource = BOperationBodyPosition.GetDataTable();
}
private void tsbCancel_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.BROWSE;
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
AIMSExtension.PublicMethod.ClearControl(panel1);
}
private void tsbExit_Click(object sender, EventArgs e)
{
Close();
}
private void txtName_TextChanged(object sender, EventArgs e)
{
txtHelpCode.Text = AIMSExtension.PublicMethod.GetFirstLetter(txtName.Text);
}
}
}

View File

@ -0,0 +1,141 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="NameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="HelpCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="IsValid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Explain.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PositionOrder.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -0,0 +1,380 @@
namespace DataDictionary.UI
{
partial class frmOperationPosition
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
this.tsbModify = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
this.tsbCancel = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
this.tsbSava = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
this.tsbExit = new System.Windows.Forms.ToolStripButton();
this.dgvOperation = new System.Windows.Forms.DataGridView();
this.label1 = new System.Windows.Forms.Label();
this.txtName = new System.Windows.Forms.TextBox();
this.chkIsValid = new System.Windows.Forms.CheckBox();
this.label3 = new System.Windows.Forms.Label();
this.txtHelpCode = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.txtExplain = new System.Windows.Forms.TextBox();
this.panel1 = new System.Windows.Forms.Panel();
this.intMenuOrder = new DevComponents.Editors.IntegerInput();
this.label4 = new System.Windows.Forms.Label();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.NameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.HelpCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.IsValid = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Explain = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PositionOrder = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvOperation)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.intMenuOrder)).BeginInit();
this.SuspendLayout();
//
// toolStrip1
//
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.tsbAdd,
this.toolStripSeparator1,
this.tsbModify,
this.toolStripSeparator2,
this.tsbCancel,
this.toolStripSeparator3,
this.tsbSava,
this.toolStripSeparator4,
this.tsbExit});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(763, 49);
this.toolStrip1.TabIndex = 9;
this.toolStrip1.Text = "toolStrip1";
//
// tsbAdd
//
this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbAdd.Image = global::AIMS.Properties.Resources._新建;
this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbAdd.Name = "tsbAdd";
this.tsbAdd.Size = new System.Drawing.Size(52, 46);
this.tsbAdd.Text = " 增加 ";
this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbAdd.Click += new System.EventHandler(this.tsbAdd_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.Name = "toolStripSeparator1";
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49);
//
// tsbModify
//
this.tsbModify.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbModify.Image = global::AIMS.Properties.Resources._编辑;
this.tsbModify.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbModify.Name = "tsbModify";
this.tsbModify.Size = new System.Drawing.Size(52, 46);
this.tsbModify.Text = " 修改 ";
this.tsbModify.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbModify.Click += new System.EventHandler(this.tsbModify_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
//
// tsbCancel
//
this.tsbCancel.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbCancel.Image = global::AIMS.Properties.Resources._取消;
this.tsbCancel.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbCancel.Name = "tsbCancel";
this.tsbCancel.Size = new System.Drawing.Size(52, 46);
this.tsbCancel.Text = " 取消 ";
this.tsbCancel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbCancel.Click += new System.EventHandler(this.tsbCancel_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(6, 49);
//
// tsbSava
//
this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbSava.Image = global::AIMS.Properties.Resources._保存;
this.tsbSava.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbSava.Name = "tsbSava";
this.tsbSava.Size = new System.Drawing.Size(52, 46);
this.tsbSava.Text = " 保存 ";
this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbSava.Click += new System.EventHandler(this.tsbSava_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(6, 49);
//
// tsbExit
//
this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F);
this.tsbExit.Image = global::AIMS.Properties.Resources._关闭窗口;
this.tsbExit.ImageTransparentColor = System.Drawing.Color.Transparent;
this.tsbExit.Name = "tsbExit";
this.tsbExit.Size = new System.Drawing.Size(52, 46);
this.tsbExit.Text = " 关闭 ";
this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExit.Click += new System.EventHandler(this.tsbExit_Click);
//
// dgvOperation
//
this.dgvOperation.AllowUserToAddRows = false;
this.dgvOperation.BackgroundColor = System.Drawing.Color.White;
this.dgvOperation.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvOperation.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.NameColumn,
this.HelpCode,
this.IsValid,
this.Explain,
this.PositionOrder});
this.dgvOperation.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvOperation.Location = new System.Drawing.Point(0, 111);
this.dgvOperation.Name = "dgvOperation";
this.dgvOperation.RowHeadersVisible = false;
this.dgvOperation.RowTemplate.Height = 23;
this.dgvOperation.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvOperation.Size = new System.Drawing.Size(763, 318);
this.dgvOperation.TabIndex = 11;
this.dgvOperation.TabStop = false;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(5, 22);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(49, 14);
this.label1.TabIndex = 11;
this.label1.Text = "名称:";
//
// txtName
//
this.txtName.Enabled = false;
this.txtName.Location = new System.Drawing.Point(59, 17);
this.txtName.Name = "txtName";
this.txtName.Size = new System.Drawing.Size(152, 23);
this.txtName.TabIndex = 12;
this.txtName.TextChanged += new System.EventHandler(this.txtName_TextChanged);
//
// chkIsValid
//
this.chkIsValid.AutoSize = true;
this.chkIsValid.Enabled = false;
this.chkIsValid.Location = new System.Drawing.Point(683, 22);
this.chkIsValid.Name = "chkIsValid";
this.chkIsValid.Size = new System.Drawing.Size(68, 18);
this.chkIsValid.TabIndex = 13;
this.chkIsValid.Text = "有效性";
this.chkIsValid.UseVisualStyleBackColor = true;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(216, 22);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(63, 14);
this.label3.TabIndex = 557;
this.label3.Text = "助记码:";
//
// txtHelpCode
//
this.txtHelpCode.Enabled = false;
this.txtHelpCode.Location = new System.Drawing.Point(284, 17);
this.txtHelpCode.Name = "txtHelpCode";
this.txtHelpCode.Size = new System.Drawing.Size(95, 23);
this.txtHelpCode.TabIndex = 558;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(384, 22);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(49, 14);
this.label5.TabIndex = 557;
this.label5.Text = "描述:";
//
// txtExplain
//
this.txtExplain.Enabled = false;
this.txtExplain.Location = new System.Drawing.Point(438, 17);
this.txtExplain.Name = "txtExplain";
this.txtExplain.Size = new System.Drawing.Size(95, 23);
this.txtExplain.TabIndex = 558;
//
// panel1
//
this.panel1.Controls.Add(this.intMenuOrder);
this.panel1.Controls.Add(this.label4);
this.panel1.Controls.Add(this.txtExplain);
this.panel1.Controls.Add(this.label5);
this.panel1.Controls.Add(this.txtHelpCode);
this.panel1.Controls.Add(this.label3);
this.panel1.Controls.Add(this.chkIsValid);
this.panel1.Controls.Add(this.txtName);
this.panel1.Controls.Add(this.label1);
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
this.panel1.Font = new System.Drawing.Font("宋体", 10.5F);
this.panel1.Location = new System.Drawing.Point(0, 49);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(763, 62);
this.panel1.TabIndex = 10;
//
// intMenuOrder
//
//
//
//
this.intMenuOrder.BackgroundStyle.Class = "DateTimeInputBackground";
this.intMenuOrder.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.intMenuOrder.Location = new System.Drawing.Point(578, 17);
this.intMenuOrder.Name = "intMenuOrder";
this.intMenuOrder.ShowUpDown = true;
this.intMenuOrder.Size = new System.Drawing.Size(80, 23);
this.intMenuOrder.TabIndex = 560;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(538, 22);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(35, 14);
this.label4.TabIndex = 559;
this.label4.Text = "排序";
//
// Id
//
this.Id.DataPropertyName = "Id";
this.Id.Frozen = true;
this.Id.HeaderText = "编号";
this.Id.Name = "Id";
this.Id.ReadOnly = true;
this.Id.Width = 60;
//
// NameColumn
//
this.NameColumn.DataPropertyName = "Name";
this.NameColumn.HeaderText = "名称";
this.NameColumn.Name = "NameColumn";
this.NameColumn.ReadOnly = true;
//
// HelpCode
//
this.HelpCode.DataPropertyName = "HelpCode";
this.HelpCode.HeaderText = "帮助码";
this.HelpCode.Name = "HelpCode";
this.HelpCode.ReadOnly = true;
//
// IsValid
//
this.IsValid.DataPropertyName = "IsValid";
this.IsValid.HeaderText = "有效性";
this.IsValid.Name = "IsValid";
//
// Explain
//
this.Explain.DataPropertyName = "Explain";
this.Explain.HeaderText = "描述";
this.Explain.Name = "Explain";
//
// PositionOrder
//
this.PositionOrder.DataPropertyName = "PositionOrder";
this.PositionOrder.HeaderText = "排序";
this.PositionOrder.Name = "PositionOrder";
//
// frmOperationPosition
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(763, 429);
this.ControlBox = false;
this.Controls.Add(this.dgvOperation);
this.Controls.Add(this.panel1);
this.Controls.Add(this.toolStrip1);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "frmOperationPosition";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Load += new System.EventHandler(this.frmOperationPosition_Load);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvOperation)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.intMenuOrder)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
public System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbAdd;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbModify;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private System.Windows.Forms.ToolStripButton tsbCancel;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator3;
private System.Windows.Forms.ToolStripButton tsbSava;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
public System.Windows.Forms.ToolStripButton tsbExit;
private System.Windows.Forms.DataGridView dgvOperation;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox txtName;
private System.Windows.Forms.CheckBox chkIsValid;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtHelpCode;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.TextBox txtExplain;
private System.Windows.Forms.Panel panel1;
private DevComponents.Editors.IntegerInput intMenuOrder;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.DataGridViewTextBoxColumn Id;
private System.Windows.Forms.DataGridViewTextBoxColumn NameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn HelpCode;
private System.Windows.Forms.DataGridViewTextBoxColumn IsValid;
private System.Windows.Forms.DataGridViewTextBoxColumn Explain;
private System.Windows.Forms.DataGridViewTextBoxColumn PositionOrder;
}
}

View File

@ -0,0 +1,120 @@
using AIMSBLL;
using AIMSModel;
using System;
using System.Windows.Forms;
namespace DataDictionary.UI
{
public partial class frmOperationPosition : Form
{
public AIMSExtension.EditState _state;
private int SelectOperationRowId = 0;
public frmOperationPosition()
{
InitializeComponent();
}
private void frmOperationPosition_Load(object sender, EventArgs e)
{
AIMSExtension.PublicMethod.SetDgvAttribute(dgvOperation);
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
AIMSExtension.PublicMethod.ClearControl(panel1);
_state = AIMSExtension.EditState.BROWSE;
dgvOperation.DataSource = BOperationPosition.GetDataTable();
}
private void tsbAdd_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.ADD;
AIMSExtension.PublicMethod.EnabledControl(panel1, true);
AIMSExtension.PublicMethod.ClearControl(panel1);
chkIsValid.Checked = true;
intMenuOrder.Value = 0;
}
private void tsbModify_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.EDIT;
AIMSExtension.PublicMethod.EnabledControl(panel1, true);
//txtName.Enabled = false;
if (dgvOperation.Rows.Count > 0)
{
SelectOperationRowId = int.Parse(dgvOperation.CurrentRow.Cells["Id"].Value.ToString());
txtName.Text = dgvOperation.CurrentRow.Cells["NameColumn"].Value.ToString();
txtHelpCode.Text = dgvOperation.CurrentRow.Cells["HelpCode"].Value.ToString();
txtExplain.Text = dgvOperation.CurrentRow.Cells["Explain"].Value.ToString();
intMenuOrder.Value = int.Parse(dgvOperation.CurrentRow.Cells["PositionOrder"].Value.ToString());
if (dgvOperation.CurrentRow.Cells["IsValid"].Value.ToString() == "有效")
{
chkIsValid.Checked = true;
}
else
{
chkIsValid.Checked = false;
}
}
}
private bool ValidInput()
{
bool result = false;
if (this.txtName.Text.Trim().Length < 1)
{
MessageBox.Show("请输入名称!");
}
else
{
result = true;
}
return result;
}
private void tsbSava_Click(object sender, EventArgs e)
{
if (this.ValidInput())
{
OperationPosition OperationObj = new OperationPosition();
OperationObj.Name = txtName.Text.Trim();
OperationObj.HelpCode = txtHelpCode.Text;
OperationObj.Explain = txtExplain.Text;
OperationObj.PositionOrder = intMenuOrder.Value;
OperationObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0");
OperationObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
OperationObj.OperatorName = AIMSExtension.PublicMethod.OperatorName;
OperationObj.OperateDate = AIMSExtension.PublicMethod.SystemDate();
if (_state == AIMSExtension.EditState.ADD)
{
if (BOperationPosition.IsExit(txtName.Text.Trim()))
{
MessageBox.Show("该部位已存在");
return;
}
BOperationPosition.Add(OperationObj);
}
if (_state == AIMSExtension.EditState.EDIT)
{
OperationObj.Id = SelectOperationRowId;
BOperationPosition.Update(OperationObj);
}
}
_state = AIMSExtension.EditState.BROWSE;
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
AIMSExtension.PublicMethod.ClearControl(panel1);
dgvOperation.DataSource = BOperationPosition.GetDataTable();
}
private void tsbCancel_Click(object sender, EventArgs e)
{
_state = AIMSExtension.EditState.BROWSE;
AIMSExtension.PublicMethod.EnabledControl(panel1, false);
AIMSExtension.PublicMethod.ClearControl(panel1);
}
private void tsbExit_Click(object sender, EventArgs e)
{
Close();
}
private void txtName_TextChanged(object sender, EventArgs e)
{
txtHelpCode.Text = AIMSExtension.PublicMethod.GetFirstLetter(txtName.Text);
}
}
}

View File

@ -0,0 +1,141 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="NameColumn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="HelpCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="IsValid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Explain.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PositionOrder.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -28,7 +28,6 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmOutputLiquids));
this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.tsbAdd = new System.Windows.Forms.ToolStripButton(); this.tsbAdd = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();

View File

@ -120,878 +120,6 @@
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="tsbAdd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9CAYAAACPgGwlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAC3NSURBVHhe7Z13dBRXuu3vH+++eTPjmRfuOGOCACecMFzb
M2OP8RgMBmMcsQGRcw4mGxAgQASBRA4SCOWcyJgcTRRBOSOpk3IGEffb3+lqqQVtTEZCqrX2OtXd1VVd
53e+cEJ3/0f9Vr/Vb/Xbg9lc9h/qN3nfvvyfFiy+MXrvIYzYcxDDqWG7D9RpDaUG796PQbv2Y/Cc+TeG
7dydP23bjn5atdW+zfnQoQ2f7Nt3fdz+Ixi17xCG7TmAgby5vjv3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y5eYrxpAsNYAtJuydcN1VZWgmaBJPcnwNw1HvKeM5snQr8RuWeP2
3Ehad3+zO2/QrVu5huHRbx9Od3CVb2K8OGMuXmRfUVm/uH6xfsn2GYOU+5cBHnf282XseYOfWWzJdVqq
Hlgf7oQsPaJVHsqqZSWxGJFYtix1krH7Z1R2PgB/o3W/3rW7q1b9j3drMXWq8YXJDirevDDdUQ0WyJfu
XppPD8DWKjfSaMkqNZtULysxC28kvSImyLI+XTzniz/PwvMTptKyNdh05X/r3htNfuxu1Kq7Zm2vj5ms
l7jz/ISf8TxbqYwFiydQU4psudIYzOK+PFeXJd5x+hxCno0XpjiYQY+egGeHjjZn5ex3K9jf9rjz6dHH
ubUeM85Tluk8N2q8uhHpXsgwYaX4WJ6v8xr5k3mCZMhIM2ixasbsZ1l3r//Y3VOrztq3vTdkWL+mg4fl
Pz9o2A357ZSn2dUwzzlr8851Utq905plYOU5+z43GnW3z3/rxx79tGqr3+q3B7X9x3/8fzz8G8COBdnv
AAAAAElFTkSuQmCC
</value>
</data>
<data name="tsbModify.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9CAYAAACPgGwlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAD/6SURBVHhe7b0HWFVXuv+fe+/ce/935j8zMbFjN2pi1BjT
u+mTmZg6JrEl9thiTbP3joINpImIIAhKlaIi9t47UqT3fuDQ+f7e7zpn44aAYqLEJO7neZ999jlnt/V5
61rr7PPA/eX+cn+5v9yZxWrvgaE/hodnTVluVTlhzwGMC9uPsSJjdu/7Q8toka9378XIXXvx9aJllWNC
d2fNCAoZam62395ieeDAhjfDwysm7z2E8eEHMCZsH0bIzQ0J3YMvQ8IwKCgMA4N2/+FlQPBu9AvapeTz
wJ1m2YXXgnZVTAwMcjE35729zA8/nPTdvsOYJLBpzSN2huOrkD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fqRlhesJuwSmSb7//h5ZsppgGS
Ud+YQNOqJWY3k7br+kV/F3Nz/vaWZ0eNGdrx6zFZLUaOqWw6bJSaRNBk8Ai5QYpkoX9IMd+7WDM7VpoP
HFzZtv/ArB5fDBhqbrb7y/3lTi0PPPD/AB0sAlXTgNaIAAAAAElFTkSuQmCC
</value>
</data>
<data name="tsbCancel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9CAYAAACPgGwlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABvxSURBVHhe7Z2HW1TX1sbvn3DzGbt0sWAv13jvTaJpJjFR
02yIDRUVNbYYS1Q0SNSIJRYUAWnSQUCq0lE0tqjEHmONNdFEIyYmV9e33j1nD2dwgAEGZoCznud9ZoDh
nLP3b6+11y7nzD8000wzzcxj6/P3uS/Iy7s3d/XaZzNz99H0nEKaxvLMLmjUmsqanJ1PHln5NHnFqmee
e7LvLU7PdFeqrf6Z7759O17Ly3s6J7+IPs3bR545BTSJCzd+Ty6Nycyh0ek55Jae3eg1KiObRqZnCQ1P
3asoi/qlZz2dlZoeqlSndZt33oEb8woO0GyGDW+etDePxmbm0si0LBqauoc+3J1JQ5IzaXBSOg1KZOG1
USuD3ufX95P5fXKG+Bn1I5SSSR+wRqek3VCq17rMa9+Bm/MKDtKsvCKayrDd9+SRK7fkj1P2iIK8vSuV
3ohPof6xyfRqbBK9EpNEL/NrY9d/YxL5NZleQb3EJVP/+N30OtfTW1xfbyem0bvcIAay3uM6HJa0+6ZS
3Za1tYX7N8wvPEhz8g8I2OP35orwNIRb7dsJqdSfC9I3OpF6RSZQ953x1CU8ljqxXMJjyCWMXxu7RH3E
UefweOq6M4F6RO2iPlxffblBvBK3mxtBKr3ODeCtXWk0QNGEhMQNSvXXvc3Jyyv5jIFP5+RsAofx4RzC
3+cWCY/+D7f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xEepG922WY6wal+i1rnRYtutVqgZfob1ot8RaTBdiwb7OKIwC3VhTE
bp0f2XH2r0klzsLtMCriBBn70xE5W3+xnFrOW8SercDmUP6i61hyGOF6S6lu6zKXWQtuoN9pOe8Lasmt
FHPBiARYZkTLFV9IK8Tv8bvGLETHJSsY8pfUaqGXDvTMedR86kxdVs7jbgH741GmL49a0nrPmhOKbTot
Pv1MFATDC0wT6sU/4/eNXjPm6hZIpszQgYZXc5/dnOvOZYRrqFKd9c/6TPF0d5rsea+lh+czPD8F3zzU
dNwkLiDEWWijlFJ29mZMrLRwG/fMztXtXtcRo9yVatNMM3PZP/7x/8wrSyS1gRkyAAAAAElFTkSuQmCC
</value>
</data>
<data name="tsbSava.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9CAYAAACPgGwlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAB8BSURBVHhe7Z2HXxTX2sfzF9xEI1Z6kabGkpubvCkm5iZ5
35t2E6MJiA2wYUXFrhhBQUVFbCggvXfpHezJTW7U2BOTGBVLoolJNFV/7/OcmVlmYRdYQNmFPZ/P8xn2
YXd25nzP85zfOXNm9hFzMRdzMZeOKVtqD3gvqam5uWD9pvtzqw9gVtV+zCTzq6zr1jaDbFplLaZW1GJa
cOh9v7LKmyuKS73lajO9EnbgwN6Xamruza89hDk1B+BXVYcpdHKTy6oxobQK44ur4FVc2e1tXEklPIor
hL1fWC5bBUYWV9ybV1gcL1encZegmsNXAuoOw59gczRPKa/BxNJqeBRVYExhGd7ZV4q380vxVl4x3swl
4223thK8Qds38unv/BLxmutHWEEp/k02vqDoily9xlUCDxyuD6g7gnk1hzCDYHuX1cCTWvLogjJxIq/l
FOLlrAK8mJGPFzLy8Hx6Hp6jbXe3Z9NzaZuP57leMvPxYtY+jKJ6eoXq67XcIvwfNYh/kb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DUA+KV0n3F1NA5oEGtcTT39T4HD2tKUsar2R17iRWFuyCn1nU3T7
SOnc0sPjjozh4ZfnVgaGD1jBq0rWYgCNFUX0c+rn6Ge1T32QSP88wRNN43xqCGIBgbyIoFubqAeqj2iC
zCOinbEiqvn2Zw4ijmxe6sSLIHoLde6LXhTdbmM9w+Xq79zivmzZ1f5LAkV/05+XAlEDEEuBQikDUGvl
E7HZvFMsBzKbykiF2/CoiAQyr0/nzDlg+YfoF7CMIluGTam8l+dE2H3geVWubuMqbvOWXOF+p1/AcvSj
VspzwZwJeK0Wt1xuDJLR3+zrzsbZcWUwQV6D/ksDJdBzA9BnxlxJldO4W8AePa71l0c7szw5b348L9Pp
O2ehOBEeXvA0ocboNfu7vc1eIF0gmT5bAs1RTX12H6o7tw884+XqNL3y1HQ/b4dpfjf7TfW739tnOixo
qGExaQqdIBup0G5p8rlTNPPESl+vSfdtPL1uDvlgnLdcbeZiLh1VHnnk/wFlV7RPbdW3HwAAAABJRU5E
rkJggg==
</value>
</data>
<data name="tsbExit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAH0AAAB9CAYAAACPgGwlAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABv0SURBVHhe7Z2HX1TXEsfzF7wXTVQsdLFrVBKfL4kPu4mJ
XVQQoyB2Y40aK3ZEUVERCyIi0kF6EVRUxI7G3nssYI/RxCQ6b35n713urgsCArLsnc9nPruU3T1nvmfm
zDln7t2PVFFFFVVKR1buyXL7OTPz0WSv5W/G786isbv20RjW0Tv3mrSOYh2xcw8Nz9hDIxYueTN6x85H
s1LS3CSzGZ94Z2VtbpeZ+XrSnmwal5lFo3ftpWHcOdcdu+mHtF00KGUXuaTsNHkdmLqTnFIyhPZPSpc0
gxxSMl5PSEoJksxZsWVB5oE7U/YeoIkMG948LD2TBqftJqfkDHJ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HKDqhaLIXtsAvK9tR4N2fo7GjYEELpE3bbqrsOF7deazrAZaKEp+yks6envcXCpVRnkTdZLPEh
ixW+orIUB/4YjQK+dhsXHVDO+6oWqMJZWAGbp00BG8WNbFucs+P6vZo/YeNlnDjEqeY0iFo6O9tLWMpH
6s33fIH6K/MFy8jccwVZLPcVoxHwrf05y8ecLwZAlDQApE4Z6rCpqhY0J2iwE7a/2XEQPVELh+oZzN2o
ccO3SFUfqgnndZycXkgYyl++nu3hgwsAa89ZRLV5rSi8H6Ef3o9sn+cgEf6xwbOJ1/k8ELDRI5RHskmr
sAPbA9u5WBH5BQqvRoEmnAiejVInFEFUF9m5O33K3t2on7OPZP4PK41nzLiHch/MN7VmLxCbBagaNV/C
EYBHKzpiucKPcNWpqgrlLNwSqyJOkFGfjshZe+Y8qjllBnu2BJtDOe6pYz3A+Z5k7ooljSb8fAfzTs0p
M6kmj1LsBSMSoFYLIxeDQaP8HL8zZUV0nL2QIc+nWtM9NKDHT6Eao8ZrsnJedwvYfQYW/Xj0Q8rnEyYF
oUzHbNxPoiNYXmCbUKv8M35v8vrjZM0BycgfNaDh1Txn12DbNRrgHCSZ0/ik1cjRbrYjRj+qOXz0GxQD
4oIB3FWi2mAoZ6EmqVLf2ZuxsWLmMuSNpbPLo2YDBrpJZlNFldKSjz76P8dLZ8QqnrRkAAAAAElFTkSu
QmCC
</value>
</data>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value> <value>True</value>
</metadata> </metadata>

View File

@ -1065,7 +1065,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
StartTimer(); StartTimer();
} }
plRefresh_Click(null, null); ReviewEvent();
if (_record.MedicalRecord != null && _record.MedicalRecord != "") if (_record.MedicalRecord != null && _record.MedicalRecord != "")
{ {
btnOutputLiquids.Enabled = false; btnOutputLiquids.Enabled = false;
@ -1127,7 +1127,11 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
private void FrmFactDrug_DrugsParam() private void FrmFactDrug_DrugsParam()
{ {
plRefresh_Click(null, null); templateManage.Bind("DrugsManage");
templateManage.Bind("SapManage");
templateManage.Bind("RemarkManage");
zgcAnaesRecord.Refresh();
} }
private void btnAddEvents_Click(object sender, EventArgs e) private void btnAddEvents_Click(object sender, EventArgs e)
{ {
@ -1137,7 +1141,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
frmFactEventsNew._record = _record; frmFactEventsNew._record = _record;
frmFactEventsNew.zgcAnaesRecord = zgcAnaesRecord; frmFactEventsNew.zgcAnaesRecord = zgcAnaesRecord;
frmFactEventsNew.EventTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单 frmFactEventsNew.EventTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
frmFactEventsNew.EventParam += ReferEventDrugs; frmFactEventsNew.EventParam += frmFactEventsNew_EventsParam;
frmFactEventsNew.ShowDialog(); frmFactEventsNew.ShowDialog();
} }
else else
@ -1145,6 +1149,19 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
MessageBox.Show("请选择患者"); MessageBox.Show("请选择患者");
} }
} }
private void frmFactEventsNew_EventsParam()
{
if (txtInRoom.Value != _record.InRoomTime)
{
_record.pageCount = 0;
ReviewEvent();
}
else
{
DrawEvent();
}
}
private void btnOutputLiquids_Click(object sender, EventArgs e) private void btnOutputLiquids_Click(object sender, EventArgs e)
{ {
if (PatientId != 0) if (PatientId != 0)
@ -1164,7 +1181,8 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
private void FrmFactOutputLiquids_OutParam() private void FrmFactOutputLiquids_OutParam()
{ {
plRefresh_Click(null, null); templateManage.Bind("OutputManage");
zgcAnaesRecord.Refresh();
} }
private void button6_Click(object sender, EventArgs e) private void button6_Click(object sender, EventArgs e)
@ -1175,7 +1193,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
} }
void frmFactEventsNew_FormClosed(object sender, FormClosedEventArgs e) void frmFactEventsNew_FormClosed(object sender, FormClosedEventArgs e)
{ {
plRefresh_Click(null, null); ReviewEvent();
} }
private void btnCancelOperation_Click(object sender, EventArgs e) private void btnCancelOperation_Click(object sender, EventArgs e)
{ {
@ -1265,10 +1283,11 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
return; return;
} }
PatientRecord patient = PatientRecord.GetPatientRecord(PatientId); PatientRecord patient = PatientRecord.GetPatientRecord(PatientId);
frmDocument frmDocument = new frmDocument(patient); frmDocument frmDoc = new frmDocument(patient);
frmDocument.StartPosition = FormStartPosition.CenterScreen; frmDoc.StartPosition = FormStartPosition.CenterScreen;
frmDocument.WindowState = FormWindowState.Maximized; frmDoc.WindowState = FormWindowState.Maximized;
frmDocument.ShowDialog(); frmDoc.Show();
frmDoc.BringToFront();
} }
void toolStripMenuItem2_Click(object sender, EventArgs e) void toolStripMenuItem2_Click(object sender, EventArgs e)
{ {
@ -2031,18 +2050,6 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
EndOperationOutRoom(); EndOperationOutRoom();
} }
} }
public void ReferEventDrugs()
{
if (txtInRoom.Value != _record.InRoomTime)
{
_record.pageCount = 0;
ReviewEvent();
}
else
{
plRefresh_Click(null, null);
}
}
private void ClearTimeText() private void ClearTimeText()
{ {
txtInRoom.CustomFormat = " "; txtInRoom.CustomFormat = " ";
@ -2246,7 +2253,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
} }
private void btnsjzx_Click(object sender, EventArgs e) private void btnsjzx_Click(object sender, EventArgs e)
{ {
if (PublicMethod.GetHospitalName().Contains("秦皇岛")) if (PublicMethod.GetHospitalName().Contains("秦皇岛"))
{ {
try try
@ -2271,7 +2278,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI
frmchargRecord.TemplateType = "麻醉"; frmchargRecord.TemplateType = "麻醉";
frmchargRecord.Show(); frmchargRecord.Show();
frmchargRecord.BringToFront(); frmchargRecord.BringToFront();
} }
private void frmAnasRecordBill2_VisibleChanged(object sender, EventArgs e) private void frmAnasRecordBill2_VisibleChanged(object sender, EventArgs e)
{ {
if (this.Visible == false) if (this.Visible == false)

View File

@ -12,6 +12,7 @@ using System.Drawing;
using System.Linq; using System.Linq;
using System.Windows.Forms; using System.Windows.Forms;
using System.Data.SqlClient; using System.Data.SqlClient;
using System.Reflection;
namespace AIMS.PublicUI.UI namespace AIMS.PublicUI.UI
{ {
@ -249,6 +250,10 @@ namespace AIMS.PublicUI.UI
this.dgvEvents.Rows[index].Cells["Remark"].Value = item.Remark; this.dgvEvents.Rows[index].Cells["Remark"].Value = item.Remark;
this.dgvEvents.Rows[index].Cells["EventName"].Value = item.EventName; this.dgvEvents.Rows[index].Cells["EventName"].Value = item.EventName;
this.dgvEvents.Rows[index].Cells["EventName"].Tag = item.EventId; this.dgvEvents.Rows[index].Cells["EventName"].Tag = item.EventId;
if (item.EventId < 10)
{
this.dgvEvents.Rows[index].Cells["EventName"].ReadOnly = true;
}
if (Convert.ToDateTime(item.EventBeginTime).ToString().Length > 0) if (Convert.ToDateTime(item.EventBeginTime).ToString().Length > 0)
{ {
this.dgvEvents.Rows[index].Cells["BeginTime"].Value = item.EventBeginTime; this.dgvEvents.Rows[index].Cells["BeginTime"].Value = item.EventBeginTime;
@ -382,46 +387,18 @@ namespace AIMS.PublicUI.UI
private void btnDelete_Click(object sender, EventArgs e) private void btnDelete_Click(object sender, EventArgs e)
{ {
if (dgvEvents.CurrentRow != null) if (dgvEvents.CurrentRow != null && dgvEvents.CurrentRow.Tag != null)
{ {
string objectName = dgvEvents.CurrentRow.Cells["EventName"].EditedFormattedValue.ToString(); string objectName = dgvEvents.CurrentRow.Cells["EventName"].EditedFormattedValue.ToString();
int objectId = int.Parse(dgvEvents.CurrentRow.Cells["EventName"].Tag.ToString());
bool b = false; bool b = false;
if (objectName == "入室" || objectName == "出室") if (objectId == 7)
{ {
b = true; b = true;
} }
if (_record.StateName == "手术结束") if (_record.StateName == "手术结束")
{ {
if (objectName == "麻醉开始") if (objectId < 10)
{
b = true;
}
if (objectName == "手术开始")
{
b = true;
}
if (objectName == "插管")
{
b = true;
}
if (objectName == "喉罩")
{
b = true;
}
if (objectName == "拔管")
{
b = true;
}
if (objectName == "手术结束")
{
b = true;
}
if (objectName == "麻醉结束")
{
b = true;
}
if (objectName == "出室")
{ {
b = true; b = true;
} }
@ -441,21 +418,6 @@ namespace AIMS.PublicUI.UI
FactEvents er = _record.FactEventsList.Where(p => p.Id == id).ToList()[0]; FactEvents er = _record.FactEventsList.Where(p => p.Id == id).ToList()[0];
if (er != null) if (er != null)
{ {
//try
//{
// if (er.EventName == "机械通气" )
// {
// foreach (var item in _record.addPhysioList)
// {
// if (item.Name != er.EventName) continue;
// item.clearAddObj(zgcAnaesRecord);
// BOperationRecord.DeletePhysioDataByID(_record.Id.Value, item.Id);
// }
// }
//}
//catch (Exception)
//{
//}
er.clearAddObj(zgcAnaesRecord); er.clearAddObj(zgcAnaesRecord);
BFactEvents.Delete(er); BFactEvents.Delete(er);
DelEventTime(er); DelEventTime(er);
@ -610,7 +572,7 @@ namespace AIMS.PublicUI.UI
BEvents.Update(events); BEvents.Update(events);
} }
new frmMessageBox().Show(); new frmMessageBox().Show();
EventParam(); EventParam();
//this.Close(); //this.Close();
} }

View File

@ -292,7 +292,7 @@ namespace AIMS.PublicUI.UI
BFactOutputLiquids.Delete(er); BFactOutputLiquids.Delete(er);
er.clearAddObj(zgcAnaesRecord); er.clearAddObj(zgcAnaesRecord);
_record.FactOutputLiquidsList.Remove(er); _record.FactOutputLiquidsList.Remove(er);
OutParam();
dgvOutput.Rows.Remove(dgvOutput.CurrentRow); dgvOutput.Rows.Remove(dgvOutput.CurrentRow);
} }
else else
@ -389,7 +389,7 @@ namespace AIMS.PublicUI.UI
BFactOutputLiquids.Update(liquids); BFactOutputLiquids.Update(liquids);
} }
} }
OutParam();
new frmMessageBox().Show(); new frmMessageBox().Show();
//this.Close(); //this.Close();
} }

View File

@ -65,9 +65,9 @@
this.label6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.Location = new System.Drawing.Point(132, 75); this.label6.Location = new System.Drawing.Point(132, 75);
this.label6.Name = "label6"; this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(314, 21); this.label6.Size = new System.Drawing.Size(298, 21);
this.label6.TabIndex = 530; this.label6.TabIndex = 530;
this.label6.Text = "山西瑞禾康医疗科技有限公司保留所有版权"; this.label6.Text = "北京国华利康科技有限公司保留所有版权";
// //
// label5 // label5
// //

View File

@ -10,7 +10,11 @@ namespace AIMSBLL
{ {
public partial class BOperationBodyPosition public partial class BOperationBodyPosition
{ {
public static void Add(OperationBodyPosition OperationBodyPosition) public static bool IsExit(string Name)
{
return DOperationBodyPosition.IsExit(Name);
}
public static void Add(OperationBodyPosition OperationBodyPosition)
{ {
DOperationBodyPosition.Add(OperationBodyPosition); DOperationBodyPosition.Add(OperationBodyPosition);
@ -25,5 +29,9 @@ namespace AIMSBLL
{ {
return DOperationBodyPosition.GetDataTable(strWhere); return DOperationBodyPosition.GetDataTable(strWhere);
} }
public static DataTable GetDataTable()
{
return DOperationBodyPosition.GetDataTable();
}
} }
} }

View File

@ -11,6 +11,10 @@ namespace AIMSBLL
{ {
public partial class BOperationPosition public partial class BOperationPosition
{ {
public static bool IsExit(string Name)
{
return DOperationPosition.IsExit(Name);
}
public static void Add(OperationPosition OperationPositionObj) public static void Add(OperationPosition OperationPositionObj)
{ {
try try
@ -22,7 +26,7 @@ namespace AIMSBLL
{ {
MessageBox.Show("增加失败!" + ex.Message); MessageBox.Show("增加失败!" + ex.Message);
} }
} }
public static OperationPosition GetModel(int Id) public static OperationPosition GetModel(int Id)
{ {
@ -33,5 +37,9 @@ namespace AIMSBLL
{ {
return DOperationPosition.GetDataTable(strWhere); return DOperationPosition.GetDataTable(strWhere);
} }
public static DataTable GetDataTable()
{
return DOperationPosition.GetDataTable();
}
} }
} }

View File

@ -72,8 +72,8 @@ namespace AIMSBLL
DataTable OperationFrontdt = BOperationApply.GetOperationFrontDataTableByPatientId(PatientId); DataTable OperationFrontdt = BOperationApply.GetOperationFrontDataTableByPatientId(PatientId);
if (OperationFrontdt.Rows.Count > 0) if (OperationFrontdt.Rows.Count > 0)
{ {
_record.HISPatientId = OperationFrontdt.Rows[0]["HISPatientId"].ToString() ; _record.HISPatientId = OperationFrontdt.Rows[0]["HISPatientId"].ToString();
_record.VisitTimes = OperationFrontdt.Rows[0]["VisitTimes"].ToString() ; _record.VisitTimes = OperationFrontdt.Rows[0]["VisitTimes"].ToString();
_record.DepartmentId = int.Parse(OperationFrontdt.Rows[0]["DepartmentId"].ToString()); _record.DepartmentId = int.Parse(OperationFrontdt.Rows[0]["DepartmentId"].ToString());
_record.ApplyDepartmentName = OperationFrontdt.Rows[0]["ApplyDepName"].ToString() + " " + OperationFrontdt.Rows[0]["SickBed"].ToString(); _record.ApplyDepartmentName = OperationFrontdt.Rows[0]["ApplyDepName"].ToString() + " " + OperationFrontdt.Rows[0]["SickBed"].ToString();
_record.ApplyDepName = OperationFrontdt.Rows[0]["ApplyDepName"].ToString(); _record.ApplyDepName = OperationFrontdt.Rows[0]["ApplyDepName"].ToString();
@ -266,6 +266,7 @@ namespace AIMSBLL
FactEvents FactEventsObj = new FactEvents(); FactEvents FactEventsObj = new FactEvents();
FactEventsObj.Id = int.Parse(dt.Rows[i]["Id"].ToString()); FactEventsObj.Id = int.Parse(dt.Rows[i]["Id"].ToString());
FactEventsObj.EventName = dt.Rows[i]["EventName"].ToString(); FactEventsObj.EventName = dt.Rows[i]["EventName"].ToString();
FactEventsObj.EventId = int.Parse(dt.Rows[i]["EventId"].ToString());
FactEventsObj.Remark = dt.Rows[i]["Remark"].ToString(); FactEventsObj.Remark = dt.Rows[i]["Remark"].ToString();
FactEventsObj.EventRemark = dt.Rows[i]["EventRemark"].ToString(); FactEventsObj.EventRemark = dt.Rows[i]["EventRemark"].ToString();
FactEventsObj.EventBeginTime = DateTime.Parse(DateTime.Parse(dt.Rows[i]["EventBeginTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss")); FactEventsObj.EventBeginTime = DateTime.Parse(DateTime.Parse(dt.Rows[i]["EventBeginTime"].ToString()).ToString("yyyy-MM-dd HH:mm:ss"));

View File

@ -20,7 +20,7 @@ namespace AIMSDAL
internal static int Insert(SqlCommand cmd, AnaesthesiaMethod anaesthesiaMethod) internal static int Insert(SqlCommand cmd, AnaesthesiaMethod anaesthesiaMethod)
{ {
cmd.Parameters.Clear(); cmd.Parameters.Clear();
cmd.CommandText = "insert into AnaesthesiaMethod (Name,HelpCode,ParentId,UseRate,IsValid,OperatorNo,OperatorName,OperateDate) values (@Name,@HelpCode,@ParentId,@UseRate,@IsValid,@OperatorNo,@OperatorName,@OperateDate);select @@identity"; cmd.CommandText = "insert into AnaesthesiaMethod (Name,HelpCode,ParentId,UseRate,IsValid,OperatorNo,OperatorName,OperateDate,Explain) values (@Name,@HelpCode,@ParentId,@UseRate,@IsValid,@OperatorNo,@OperatorName,@OperateDate,@Explain);select @@identity";
//从实体中取出值放入Command的参数列表 //从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@Name",anaesthesiaMethod.Name==null?(object)DBNull.Value:(object)anaesthesiaMethod.Name)); cmd.Parameters.Add(new SqlParameter("@Name",anaesthesiaMethod.Name==null?(object)DBNull.Value:(object)anaesthesiaMethod.Name));
cmd.Parameters.Add(new SqlParameter("@HelpCode",anaesthesiaMethod.HelpCode==null?(object)DBNull.Value:(object)anaesthesiaMethod.HelpCode)); cmd.Parameters.Add(new SqlParameter("@HelpCode",anaesthesiaMethod.HelpCode==null?(object)DBNull.Value:(object)anaesthesiaMethod.HelpCode));
@ -30,6 +30,7 @@ namespace AIMSDAL
cmd.Parameters.Add(new SqlParameter("@OperatorNo",anaesthesiaMethod.OperatorNo==null?(object)DBNull.Value:(object)anaesthesiaMethod.OperatorNo)); cmd.Parameters.Add(new SqlParameter("@OperatorNo",anaesthesiaMethod.OperatorNo==null?(object)DBNull.Value:(object)anaesthesiaMethod.OperatorNo));
cmd.Parameters.Add(new SqlParameter("@OperatorName",anaesthesiaMethod.OperatorName==null?(object)DBNull.Value:(object)anaesthesiaMethod.OperatorName)); cmd.Parameters.Add(new SqlParameter("@OperatorName",anaesthesiaMethod.OperatorName==null?(object)DBNull.Value:(object)anaesthesiaMethod.OperatorName));
cmd.Parameters.Add(new SqlParameter("@OperateDate",anaesthesiaMethod.OperateDate.HasValue?(object)anaesthesiaMethod.OperateDate.Value:(object)DBNull.Value)); cmd.Parameters.Add(new SqlParameter("@OperateDate",anaesthesiaMethod.OperateDate.HasValue?(object)anaesthesiaMethod.OperateDate.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Explain", anaesthesiaMethod.Explain == null?(object)DBNull.Value:(object)anaesthesiaMethod.Explain));
return Convert.ToInt32(cmd.ExecuteScalar()); return Convert.ToInt32(cmd.ExecuteScalar());
} }
/// <summary> /// <summary>
@ -174,7 +175,7 @@ namespace AIMSDAL
/// <returns>影响的记录行数</returns> /// <returns>影响的记录行数</returns>
internal static int ExcuteUpdateCommand(SqlCommand cmd, AnaesthesiaMethod anaesthesiaMethod) internal static int ExcuteUpdateCommand(SqlCommand cmd, AnaesthesiaMethod anaesthesiaMethod)
{ {
cmd.CommandText = "update AnaesthesiaMethod set Name=@Name,HelpCode=@HelpCode,ParentId=@ParentId,UseRate=@UseRate,IsValid=@IsValid,OperatorNo=@OperatorNo,OperatorName=@OperatorName,OperateDate=@OperateDate where Id=@Id"; cmd.CommandText = "update AnaesthesiaMethod set Name=@Name,HelpCode=@HelpCode,ParentId=@ParentId,UseRate=@UseRate,IsValid=@IsValid,OperatorNo=@OperatorNo,OperatorName=@OperatorName,OperateDate=@OperateDate,Explain=@Explain where Id=@Id";
//从实体中取出值放入Command的参数列表 //从实体中取出值放入Command的参数列表
cmd.Parameters.Add(new SqlParameter("@Name",anaesthesiaMethod.Name==null?(object)DBNull.Value:(object)anaesthesiaMethod.Name)); cmd.Parameters.Add(new SqlParameter("@Name",anaesthesiaMethod.Name==null?(object)DBNull.Value:(object)anaesthesiaMethod.Name));
cmd.Parameters.Add(new SqlParameter("@HelpCode",anaesthesiaMethod.HelpCode==null?(object)DBNull.Value:(object)anaesthesiaMethod.HelpCode)); cmd.Parameters.Add(new SqlParameter("@HelpCode",anaesthesiaMethod.HelpCode==null?(object)DBNull.Value:(object)anaesthesiaMethod.HelpCode));
@ -184,6 +185,7 @@ namespace AIMSDAL
cmd.Parameters.Add(new SqlParameter("@OperatorNo",anaesthesiaMethod.OperatorNo==null?(object)DBNull.Value:(object)anaesthesiaMethod.OperatorNo)); cmd.Parameters.Add(new SqlParameter("@OperatorNo",anaesthesiaMethod.OperatorNo==null?(object)DBNull.Value:(object)anaesthesiaMethod.OperatorNo));
cmd.Parameters.Add(new SqlParameter("@OperatorName",anaesthesiaMethod.OperatorName==null?(object)DBNull.Value:(object)anaesthesiaMethod.OperatorName)); cmd.Parameters.Add(new SqlParameter("@OperatorName",anaesthesiaMethod.OperatorName==null?(object)DBNull.Value:(object)anaesthesiaMethod.OperatorName));
cmd.Parameters.Add(new SqlParameter("@OperateDate",anaesthesiaMethod.OperateDate.HasValue?(object)anaesthesiaMethod.OperateDate.Value:(object)DBNull.Value)); cmd.Parameters.Add(new SqlParameter("@OperateDate",anaesthesiaMethod.OperateDate.HasValue?(object)anaesthesiaMethod.OperateDate.Value:(object)DBNull.Value));
cmd.Parameters.Add(new SqlParameter("@Explain", anaesthesiaMethod.Explain == null?(object)DBNull.Value:(object)anaesthesiaMethod.Explain));
cmd.Parameters.Add(new SqlParameter("@Id", anaesthesiaMethod.Id)); cmd.Parameters.Add(new SqlParameter("@Id", anaesthesiaMethod.Id));
return cmd.ExecuteNonQuery(); return cmd.ExecuteNonQuery();
} }
@ -620,6 +622,10 @@ namespace AIMSDAL
{ {
entity.OperateDate=Convert.ToDateTime(dr["OperateDate"]); entity.OperateDate=Convert.ToDateTime(dr["OperateDate"]);
} }
if(dr["Explain"] !=System.DBNull.Value)
{
entity.Explain = dr["Explain"].ToString();
}
return entity; return entity;
} }
} }

View File

@ -11,6 +11,22 @@ namespace AIMSDAL
{ {
internal partial class DOperationBodyPosition internal partial class DOperationBodyPosition
{ {
public static bool IsExit(string Name)
{
string strSql = "select * from OperationBodyPosition where name ='" + Name + "'";
DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
if (dt.Rows.Count > 0)
{
return true;
}
else
{
return false;
}
}
public static void Add(OperationBodyPosition OperationBodyPositionObj) public static void Add(OperationBodyPosition OperationBodyPositionObj)
{ {
StringBuilder strSql = new StringBuilder(); StringBuilder strSql = new StringBuilder();
@ -70,7 +86,7 @@ namespace AIMSDAL
public static DataTable GetDataTable(string strWhere) public static DataTable GetDataTable(string strWhere)
{ {
StringBuilder strSql = new StringBuilder(); StringBuilder strSql = new StringBuilder();
strSql.Append("select [Id],[Name],[HelpCode],[Explain],CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid "); strSql.Append("select [Id],[Name],[HelpCode],[Explain],CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid,PositionOrder ");
strSql.Append(" FROM OperationBodyPosition "); strSql.Append(" FROM OperationBodyPosition ");
if (strWhere.Trim() != "") if (strWhere.Trim() != "")
{ {
@ -78,5 +94,12 @@ namespace AIMSDAL
} }
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
} }
public static DataTable GetDataTable( )
{
StringBuilder strSql = new StringBuilder();
strSql.Append("select [Id],[Name],[HelpCode],[Explain],CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid,PositionOrder ");
strSql.Append(" FROM OperationBodyPosition ");
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
} }
} }

View File

@ -11,70 +11,93 @@ namespace AIMSDAL
{ {
internal partial class DOperationPosition internal partial class DOperationPosition
{ {
public static void Add(OperationPosition OperationPositionObj) public static bool IsExit(string Name)
{ {
StringBuilder strSql=new StringBuilder();
strSql.Append("insert into [OperationPosition]("); string strSql = "select * from OperationPosition where name ='" + Name + "'";
strSql.Append("Name,HelpCode,Explain,PositionOrder,IsValid,OperatorNo,OperatorName,OperateDate");
strSql.Append(")"); DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql);
strSql.Append(" values (");
strSql.Append("'"+OperationPositionObj.Name+"',"); if (dt.Rows.Count > 0)
strSql.Append("'"+OperationPositionObj.HelpCode+"',"); {
strSql.Append("'"+OperationPositionObj.Explain+"',"); return true;
strSql.Append(""+OperationPositionObj.PositionOrder+","); }
strSql.Append(""+OperationPositionObj.IsValid+","); else
strSql.Append("'"+OperationPositionObj.OperatorNo+"',"); {
strSql.Append("'"+OperationPositionObj.OperatorName+"',"); return false;
strSql.Append("'"+OperationPositionObj.OperateDate+"'"); }
strSql.Append(")"); }
public static void Add(OperationPosition OperationPositionObj)
} {
public static OperationPosition GetModel(int Id) StringBuilder strSql = new StringBuilder();
{ strSql.Append("insert into [OperationPosition](");
strSql.Append("Name,HelpCode,Explain,PositionOrder,IsValid,OperatorNo,OperatorName,OperateDate");
strSql.Append(")");
strSql.Append(" values (");
strSql.Append("'" + OperationPositionObj.Name + "',");
strSql.Append("'" + OperationPositionObj.HelpCode + "',");
strSql.Append("'" + OperationPositionObj.Explain + "',");
strSql.Append("" + OperationPositionObj.PositionOrder + ",");
strSql.Append("" + OperationPositionObj.IsValid + ",");
strSql.Append("'" + OperationPositionObj.OperatorNo + "',");
strSql.Append("'" + OperationPositionObj.OperatorName + "',");
strSql.Append("'" + OperationPositionObj.OperateDate + "'");
strSql.Append(")");
HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString());
}
public static OperationPosition GetModel(int Id)
{
OperationPosition OperationPositionObj = new OperationPosition(); OperationPosition OperationPositionObj = new OperationPosition();
StringBuilder strSql=new StringBuilder(); StringBuilder strSql = new StringBuilder();
strSql.Append("select "); strSql.Append("select ");
strSql.Append("Id,Name,HelpCode,Explain,PositionOrder,IsValid,OperatorNo,OperatorName,OperateDate "); strSql.Append("Id,Name,HelpCode,Explain,PositionOrder,IsValid,OperatorNo,OperatorName,OperateDate ");
strSql.Append(" from OperationPosition "); strSql.Append(" from OperationPosition ");
strSql.Append(" where Id="+Id+"" ); strSql.Append(" where Id=" + Id + "");
DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString()); DataSet ds = HelperDB.DbHelperSQL.GetDataSet(strSql.ToString());
if(ds.Tables[0].Rows.Count>0) if (ds.Tables[0].Rows.Count > 0)
{ {
if(ds.Tables[0].Rows[0]["Id"].ToString()!="") if (ds.Tables[0].Rows[0]["Id"].ToString() != "")
{ {
OperationPositionObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString()); OperationPositionObj.Id = int.Parse(ds.Tables[0].Rows[0]["Id"].ToString());
} }
OperationPositionObj.Name = ds.Tables[0].Rows[0]["Name"].ToString(); OperationPositionObj.Name = ds.Tables[0].Rows[0]["Name"].ToString();
OperationPositionObj.HelpCode = ds.Tables[0].Rows[0]["HelpCode"].ToString(); OperationPositionObj.HelpCode = ds.Tables[0].Rows[0]["HelpCode"].ToString();
OperationPositionObj.Explain = ds.Tables[0].Rows[0]["Explain"].ToString(); OperationPositionObj.Explain = ds.Tables[0].Rows[0]["Explain"].ToString();
if(ds.Tables[0].Rows[0]["PositionOrder"].ToString()!="") if (ds.Tables[0].Rows[0]["PositionOrder"].ToString() != "")
{ {
OperationPositionObj.PositionOrder = int.Parse(ds.Tables[0].Rows[0]["PositionOrder"].ToString()); OperationPositionObj.PositionOrder = int.Parse(ds.Tables[0].Rows[0]["PositionOrder"].ToString());
} }
if(ds.Tables[0].Rows[0]["IsValid"].ToString()!="") if (ds.Tables[0].Rows[0]["IsValid"].ToString() != "")
{ {
OperationPositionObj.IsValid = int.Parse(ds.Tables[0].Rows[0]["IsValid"].ToString()); OperationPositionObj.IsValid = int.Parse(ds.Tables[0].Rows[0]["IsValid"].ToString());
} }
OperationPositionObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString(); OperationPositionObj.OperatorNo = ds.Tables[0].Rows[0]["OperatorNo"].ToString();
OperationPositionObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString(); OperationPositionObj.OperatorName = ds.Tables[0].Rows[0]["OperatorName"].ToString();
if(ds.Tables[0].Rows[0]["OperateDate"].ToString()!="") if (ds.Tables[0].Rows[0]["OperateDate"].ToString() != "")
{ {
OperationPositionObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString()); OperationPositionObj.OperateDate = DateTime.Parse(ds.Tables[0].Rows[0]["OperateDate"].ToString());
} }
} }
return OperationPositionObj; return OperationPositionObj;
} }
public static DataTable GetDataTable(string strWhere) public static DataTable GetDataTable(string strWhere)
{ {
StringBuilder strSql=new StringBuilder(); StringBuilder strSql = new StringBuilder();
strSql.Append("select [Id],[Name],[HelpCode],[Explain],CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid "); strSql.Append("select [Id],[Name],[HelpCode],[Explain],CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid,PositionOrder ");
strSql.Append(" FROM OperationPosition "); strSql.Append(" FROM OperationPosition ");
if(strWhere.Trim()!="") if (strWhere.Trim() != "")
{ {
strSql.Append(" where "+strWhere); strSql.Append(" where " + strWhere);
} }
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
} }
public static DataTable GetDataTable()
{
StringBuilder strSql = new StringBuilder();
strSql.Append("select [Id],[Name],[HelpCode],[Explain],CASE IsValid WHEN 1 THEN '有效' WHEN 0 THEN '无效' END AS IsValid,PositionOrder ");
strSql.Append(" FROM OperationPosition ");
return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString());
}
} }
} }

View File

@ -16,12 +16,12 @@ namespace AIMSModel
private int? isValid; private int? isValid;
private string operatorNo; private string operatorNo;
private string operatorName; private string operatorName;
private DateTime? operateDate; private DateTime? operateDate;
private string explain;
/// <summary> /// <summary>
/// ///
/// </summary> /// </summary>
public int? Id public int? Id
{ {
get{ return id; } get{ return id; }
@ -91,5 +91,13 @@ namespace AIMSModel
get{ return operateDate; } get{ return operateDate; }
set{ operateDate=value; } set{ operateDate=value; }
} }
/// <summary>
///
/// </summary>
public string Explain
{
get{ return explain; }
set{ explain = value; }
}
} }
} }

View File

@ -6,5 +6,6 @@ namespace AIMSModel
{ {
public partial class AnaesthesiaMethod public partial class AnaesthesiaMethod
{ {
public List<AnaesthesiaMethod> Children { get; set; }
} }
} }

BIN
BeginScreen.7z Normal file

Binary file not shown.

View File

@ -67,11 +67,11 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="application.aspx" /> <Content Include="application.aspx" />
<Content Include="ConfigBigScreen.xml"> <Content Include="WaitConfig.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Content> </Content>
<Content Include="ConfigNoticeXML.xml"> <Content Include="RoomConfig.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content> </Content>
<Content Include="css\bootstrap-datetimepicker.css" /> <Content Include="css\bootstrap-datetimepicker.css" />
@ -81,19 +81,7 @@
<Content Include="css\bootstrap-table.css" /> <Content Include="css\bootstrap-table.css" />
<Content Include="css\bootstrap.css" /> <Content Include="css\bootstrap.css" />
<Content Include="css\bootstrap.min.css" /> <Content Include="css\bootstrap.min.css" />
<Content Include="DetailsOfCurrentOperator.htm" />
<Content Include="D_SYD.aspx" />
<Content Include="fonts\glyphicons-halflings-regular.svg" /> <Content Include="fonts\glyphicons-halflings-regular.svg" />
<Content Include="images\doc.gif" />
<Content Include="images\htm.gif" />
<Content Include="images\pdf.gif" />
<Content Include="images\ppt.gif" />
<Content Include="images\xls.gif" />
<Content Include="img\WSS.png" />
<Content Include="IPAndRoom.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<SubType>Designer</SubType>
</Content>
<Content Include="js\bootstrap-datepicker.js" /> <Content Include="js\bootstrap-datepicker.js" />
<Content Include="js\bootstrap-datepicker.zh-CN.js" /> <Content Include="js\bootstrap-datepicker.zh-CN.js" />
<Content Include="js\bootstrap-datetimepicker.js" /> <Content Include="js\bootstrap-datetimepicker.js" />
@ -110,8 +98,8 @@
<Content Include="js\url.js" /> <Content Include="js\url.js" />
<Content Include="js\webofficeocx.js" /> <Content Include="js\webofficeocx.js" />
<Content Include="js\webofficetip.js" /> <Content Include="js\webofficetip.js" />
<Content Include="OpeRoomPlanNotice.aspx" /> <Content Include="Room.aspx" />
<Content Include="D.aspx" /> <Content Include="Wait.aspx" />
<Content Include="PatientDocument.aspx" /> <Content Include="PatientDocument.aspx" />
<Content Include="SchedulingPlan.aspx" /> <Content Include="SchedulingPlan.aspx" />
<Content Include="Web.config"> <Content Include="Web.config">
@ -134,26 +122,18 @@
<DependentUpon>application.aspx</DependentUpon> <DependentUpon>application.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="DBHelper.cs" /> <Compile Include="DBHelper.cs" />
<Compile Include="D_SYD.aspx.cs"> <Compile Include="HandlerBase.ashx.cs">
<DependentUpon>D_SYD.aspx</DependentUpon> <DependentUpon>HandlerBase.ashx</DependentUpon>
</Compile>
<Compile Include="Room.aspx.cs">
<DependentUpon>Room.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
</Compile> </Compile>
<Compile Include="D_SYD.aspx.designer.cs"> <Compile Include="Room.aspx.designer.cs">
<DependentUpon>D_SYD.aspx</DependentUpon> <DependentUpon>Room.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="ENTValidationError.cs" /> <Compile Include="RoomHandler.ashx.cs">
<Compile Include="Handler1.ashx.cs"> <DependentUpon>RoomHandler.ashx</DependentUpon>
<DependentUpon>Handler1.ashx</DependentUpon>
</Compile>
<Compile Include="OpeRoomPlanNotice.aspx.cs">
<DependentUpon>OpeRoomPlanNotice.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="OpeRoomPlanNotice.aspx.designer.cs">
<DependentUpon>OpeRoomPlanNotice.aspx</DependentUpon>
</Compile>
<Compile Include="OpeRoomPlanNoticeHandler.ashx.cs">
<DependentUpon>OpeRoomPlanNoticeHandler.ashx</DependentUpon>
</Compile> </Compile>
<Compile Include="PatientDocument.aspx.cs"> <Compile Include="PatientDocument.aspx.cs">
<DependentUpon>PatientDocument.aspx</DependentUpon> <DependentUpon>PatientDocument.aspx</DependentUpon>
@ -164,18 +144,15 @@
</Compile> </Compile>
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="PublicMethod.cs" /> <Compile Include="PublicMethod.cs" />
<Compile Include="D.aspx.cs"> <Compile Include="Wait.aspx.cs">
<DependentUpon>D.aspx</DependentUpon> <DependentUpon>Wait.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
</Compile> </Compile>
<Compile Include="D.aspx.designer.cs"> <Compile Include="Wait.aspx.designer.cs">
<DependentUpon>D.aspx</DependentUpon> <DependentUpon>Wait.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="RelationsWaitingAreaBigScreenHandler.ashx.cs"> <Compile Include="WaitingHandler.ashx.cs">
<DependentUpon>RelationsWaitingAreaBigScreenHandler.ashx</DependentUpon> <DependentUpon>WaitingHandler.ashx</DependentUpon>
</Compile>
<Compile Include="RelationsWaitingAreaBigScreenSYDHandler.ashx.cs">
<DependentUpon>RelationsWaitingAreaBigScreenSYDHandler.ashx</DependentUpon>
</Compile> </Compile>
<Compile Include="SchedulingPlan.aspx.cs"> <Compile Include="SchedulingPlan.aspx.cs">
<DependentUpon>SchedulingPlan.aspx</DependentUpon> <DependentUpon>SchedulingPlan.aspx</DependentUpon>
@ -193,19 +170,19 @@
</Compile> </Compile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="OpeRoomPlanNoticeHandler.ashx" /> <Content Include="RoomHandler.ashx" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="RelationsWaitingAreaBigScreenHandler.ashx" /> <Content Include="WaitingHandler.ashx" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="fonts\glyphicons-halflings-regular.eot" /> <Content Include="fonts\glyphicons-halflings-regular.eot" />
<Content Include="fonts\glyphicons-halflings-regular.ttf" /> <Content Include="fonts\glyphicons-halflings-regular.ttf" />
<Content Include="fonts\glyphicons-halflings-regular.woff" /> <Content Include="fonts\glyphicons-halflings-regular.woff" />
<Content Include="fonts\glyphicons-halflings-regular.woff2" /> <Content Include="fonts\glyphicons-halflings-regular.woff2" />
<Content Include="Handler1.ashx" /> <Content Include="HandlerBase.ashx" />
<None Include="Properties\PublishProfiles\AIMSWEB.pubxml" />
<None Include="Properties\PublishProfiles\配置文件1.pubxml" /> <None Include="Properties\PublishProfiles\配置文件1.pubxml" />
<Content Include="RelationsWaitingAreaBigScreenSYDHandler.ashx" />
</ItemGroup> </ItemGroup>
<ItemGroup /> <ItemGroup />
<PropertyGroup> <PropertyGroup>

View File

@ -1,13 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<main>
<!--是否隐藏姓名 空不隐藏-->
<PatientName>*</PatientName>
<!--结束显示时间-->
<OpeTime>5</OpeTime>
<!--显示科室-->
<DeptId>30</DeptId>
<!--字休-->
<fontFamily>楷体</fontFamily>
<!--字休大小-->&gt;
<fontSize>30</fontSize><!--每页显示的记录数--><pageSum>10</pageSum><!--工作区当前记录数--><WorkerCurrentPage>13</WorkerCurrentPage><!--窗体背景着色--><bodyBgColor>#000000</bodyBgColor><!--标题背景着色--><titleBgColor>#62D377</titleBgColor><!--标题列背景色--><titleColBgColor>#2D9131</titleColBgColor><!--底部背景着色--><bottomBgColor>#2D9131</bottomBgColor><!--内容奇数行背景着色--><rowOddBgColor>#000000</rowOddBgColor><!--内容偶数行背景着色--><rowEvenBgColor>#000000</rowEvenBgColor><!--术前着色--><opeBeforColor>yellow</opeBeforColor><!--术中着色--><opeInColor>red</opeInColor><!--术后着色--><opeAfterColor>#09FF20</opeAfterColor><!--默认字体着色--><defaultColor>#ffffff</defaultColor>
</main>

View File

@ -1,128 +0,0 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="D.aspx.cs" Inherits="BeginScreen.RelationsWaitingAreaBigScreen" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<script src="js/jquery.min.js" type="text/javascript"></script>
</head>
<body style="margin: 0;" bgcolor="#000000" id="Mybody">
<table id="table" table border="0" width='100%' height='100%' cellpadding="0" cellspacing="0">
<thead>
<tr style="background: black; color: white; margin-bottom: 6px; font-size: 40px; font-weight: bold;">
<td colspan="10" align="center" valign="middle" height="10%" style="padding: 6px;">
<div style="left: 10px; top: 22px; position: absolute; color: #62D377; font-size: 27px;">
屯留县人民医院
</div>
今日手术
<%-- <div style="right: 250px; top: 22px; position: absolute; color: #62D377; font-size: 27px;">
<div id="currentTime">
</div>
</div>--%>
<div style="right: 20px; top: 22px; position: absolute; color: #62D377; font-size: 27px;">
<div id="js">
</div>
</div>
</td>
</tr>
<tr style="background: #2D9131; color: white; margin-bottom: 6px; font-size: 24px; font-weight: bold;">
<td width="1%" align="center" valign="middle" height="5%" style="padding: 6px;"></td>
<td width="20%" align="center" valign="middle" height="5%" style="padding: 6px;">科室
</td>
<td width="15%" align="center" valign="middle" height="5%" style="padding: 6px;">床号
</td>
<td width="16%" align="center" valign="middle" height="5%" style="padding: 6px;">姓名
</td>
<%-- <td width="24%" align="center" valign="middle" height="5%" style="padding: 6px;">
手术间
</td>--%>
<td width="24%" align="center" valign="middle" height="5%" style="padding: 6px;">状态
</td>
</tr>
</thead>
<tbody id="Mytbody">
</tbody>
</table>
</body>
<script type="text/javascript">
var tbodyobj = document.getElementById('Mytbody');
setInterval(load, 10000)
var WorkerCurrentPage = 1
var countPage
function load() {
if (WorkerCurrentPage > countPage) {
WorkerCurrentPage = 1;
}
$.ajax({
type: "POST",
url: "RelationsWaitingAreaBigScreenHandler.ashx?cmd=GetHtml&WorkerCurrentPage=" + WorkerCurrentPage,
dataType: 'json',
async: false,
success: function (result) {
var data = eval(result);
if (data.success) {
tbodyobj.innerHTML = data.msg
countPage = data.countPage
$("#js").html('(第' + WorkerCurrentPage + '屏/共' + data.countPage + '屏)')
}
}
});
WorkerCurrentPage = WorkerCurrentPage + 1
}
//Date.prototype.format = function (format) {
// var o = {
// "M+": this.getMonth() + 1, //month
// "d+": this.getDate(), //day
// "h+": this.getHours(), //hour
// "m+": this.getMinutes(), //minute
// "s+": this.getSeconds(), //second
// "q+": Math.floor((this.getMonth() + 3) / 3), //quarter
// "S": this.getMilliseconds() //millisecond
// }
// if (/(y+)/.test(format)) {
// format = format.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
// }
// var week = {
// "0": "日",
// "1": "一",
// "2": "二",
// "3": "三",
// "4": "四",
// "5": "五",
// "6": "六"
// };
// if (/(E+)/.test(format)) {
// format = format.replace(RegExp.$1, ((RegExp.$1.length > 1) ? (RegExp.$1.length > 2 ? "星期" : "周") : "") + week[this.getDay() + ""]);
// }
// for (var k in o) {
// if (new RegExp("(" + k + ")").test(format)) {
// format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length));
// }
// }
// return format;
//}
$(function () {
var _timestamp
//setInterval("$('#currentTime').text(new Date().toLocalsString());",1000);
//$.ajax({
// type: "POST",
// url: "OpeRoomPlanNoticeHandler.ashx?cmd=GetHtmlTime",
// async: false,
// success: function (result) {
// _timestamp = Date.parse(result);
// $("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日"));// EEE
// //_timestamp = _timestamp.toString().match(/^\d$/) ? _timestamp : new Date().getTime();
// setInterval(function () {
// $("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日"));
// _timestamp += 1000;
// }, 1000);
// }
//});
});
</script>
</html>

View File

@ -1,17 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace BeginScreen
{
public partial class RelationsWaitingAreaBigScreen : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}

View File

@ -1,308 +0,0 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>当前手术参与人明细</title>
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap-table.js"></script>
<script src="js/bootstrap-table-zh-CN.js"></script>
<link href="css/bootstrap-table.css" rel="stylesheet" />
<link href="css/bootstrap.min.css" rel="stylesheet" />
<style type="text/css">
webkit-full-screen
{
color: #000; /* properties */
}
:-moz-full-screen
{
/* properties */
}
:-ms-fullscreen
{
/* properties */
}
:full-screen
{
/*pre-spec */ /* properties */
}
:fullscreen
{
/* spec */ /* properties */
}
/* deeper elements */
:-webkit-full-screen video
{
width: %;
height: %;
}
/* styling the backdrop*/
::backdrop
{
/* properties */
}
::-ms-backdrop
{
/* properties */
}
table tr:first-child th:first-child
{
border-top-left-radius: 20px;
}
table tr:first-child th:last-child
{
border-top-right-radius: 20px;
}
table tr:last-child td:first-child
{
border-bottom-left-radius: 20px;
}
table tr:last-child td:last-child
{
border-bottom-right-radius: 20px;
}
</style>
</head>
<body style='margin: 0; background-color: RoyalBlue; margin: 0 auto;'>
<div>
<table id="table" width='100%' cellpadding="0" cellspacing="0" style="color: white;
margin-bottom: 6px; font-size: 40px; font-weight: bolder; font-family: '宋体'">
<thead>
<tr style="background-color: CornflowerBlue; color: white; margin-bottom: 6px; font-size: 44px;
font-weight: bold;">
<td colspan="8" style="padding: 6px;" valign="middle" height="8%" align="center">
<label id="RoomName">
</label>
<div id="Close" style="position: absolute; right: 10px; top: 15px;">
<img src="img/guanbi-copy.png" width="40px" height:"40px" style="cursor:hand" alt="关闭" onclick="window.close();"/>
</div>
</td>
</tr>
</thead>
<tbody id="Mytbody">
</tbody>
</table>
<div id="OperatorModal" style="width: 100%; color: White; font-family: '宋体';">
</div>
</div>
<!--<body>
<div>
<table id="table">
</table>
</div>
</body>-->
<script type="text/javascript">
var rowcount = 8; //第二个table 显示的行数
var timing = 30000; //30秒 控制两个table 切换时间。
//setInterval(load, 10000)
var tbodyobj = document.getElementById('Mytbody');
var WorkerCurrentPage = 1
var countPage
var opeRoom;
function GetUrlParam(paraName) {
var url = document.location.toString();
var arrObj = url.split("?");
if (arrObj.length > 1) {
var arrPara = arrObj[1].split("&");
var arr;
for (var i = 0; i < arrPara.length; i++) {
arr = arrPara[i].split("=");
if (arr != null && arr[0] == paraName) {
return arr[1];
}
}
return "";
}
else {
return "";
}
}
function load() {
// opeRoom = GetUrlParam("opeRoom");
// alert(opeRoom);
if (WorkerCurrentPage > countPage) {
WorkerCurrentPage = 1;
}
$.ajax({
type: "POST",
url: "OpeRoomPlanNoticeHandler.ashx?cmd=GetCurrentOperator&WorkerCurrentPage=" + WorkerCurrentPage,
dataType: 'json',
async: false,
success: function (result) {
var data = eval(result);
if (data.success) {
tbodyobj.innerHTML = data.msg;
countPage = data.countPage
// $("#ys").html(' (第' + WorkerCurrentPage + '屏/共' + data.countPage + '屏)')
}
}
});
WorkerCurrentPage = WorkerCurrentPage + 1;
$.ajax({
type: "POST",
url: "OpeRoomPlanNoticeHandler.ashx?cmd=GetCurrentOperationOperatorInfo",
dataType: 'json',
async: false,
success: function (result) {
var str = "";
if (result != "[]") {
var data = eval(result);
if (data != "") {
for (var i = 0; i < data.length; i++) {
str += "<div style='border: 2px solid AliceBlue;border-radius:20px;width:15%;height:auto;float:left;margin-left:80px;margin-top:50px;font-size:36px;'><div style='height:60px;text-align:center'><label >" + data[i].角色 + "</label></div><div style='height:240px;text-align:center;' ><img width='170px' height='230px' src='data:image/png;base64," + data[i].ElectronicSignature + "' /></div><div style='height:70px;text-align:center'><label>" + data[i].Workname + "</label></div></div>";
}
IssetInterval = true;
var obj = document.getElementById('OperatorModal');
obj.innerHTML = str;
} else {
var obj = document.getElementById('OperatorModal');
obj.innerHTML = "";
IssetInterval = false;
}
}
}
});
}
$(function () {
var _timestamp
//setInterval("$('#currentTime').text(new Date().toLocalsString());",1000);
$.ajax({
type: "POST",
url: "OpeRoomPlanNoticeHandler.ashx?cmd=GetHtmlTime",
async: false,
success: function (result) {
_timestamp = Date.parse(result);
//_timestamp = _timestamp.toString().match(/^\d$/) ? _timestamp : new Date().getTime();
setInterval(function () {
$("#currentTime").text(new Date(_timestamp).toLocaleString());
$("#currentTime1").text(new Date(_timestamp).toLocaleString());
_timestamp += 1000;
}, 1000);
}
});
});
var IssetInterval = false; ;
$(function () {
// $("#table1").css("Hide");
});
var c = 0
var t
function timedCount() {
c = c + 1
t = setTimeout("timedCount()", 1000)
}
var RoomName;
$(function () {
$.ajax({
type: "POST",
url: "OpeRoomPlanNoticeHandler.ashx?cmd=GetRoomName",
async: false,
success: function (result) {
var str = "";
if (result != "") {
$("#RoomName").text("第 " + result);
$("#RoomName1").text("第 " + result);
load();
}
}
});
});
// timedCount();
//转换div
function changeDiv() {
load();
// var table = document.getElementById("table");
// var table1 = document.getElementById("table1");
// if (IssetInterval == true) {
// if (table.style.display == "none") {
// table.style.display = '';
// table1.style.display = 'none';
// } else {
// table1.style.display = '';
// table.style.display = 'none';
// }
// } else {
// table.style.display = '';
// table1.style.display = 'none';
// }
}
//利用setInterval设置每隔10秒执行changeDiv函数。
window.setInterval(changeDiv, timing);
// $(function () {
// //转换div
// function changeDiv() {
// $("#table").fadeOut(2000);
// $("#table1").fadeIn(3000);
// }
// //利用setInterval设置每隔10秒执行changeDiv函数。
// window.setInterval(changeDiv, 20000);
// });
//// $(function () {
//// //转换div
//// function changeDiv() {
//// $("#table1").fadeOut(3000);
//// }
//// //利用setInterval设置每隔10秒执行changeDiv函数。
//// window.setInterval(changeDiv, 40000);
//// });
// $(function () {
// $('#table').bootstrapTable({
// url: "OpeRoomPlanNoticeHandler.ashx?cmd=GetCurrentOperationOperatorInfo", //数据源
// cache: false, //是否使用缓存默认为true所以一般情况下需要设置一下这个属性*
// clickToSelect: false, //是否启用点击选中行
// striped: true, //条纹
// height: 560,
// uniqueId: 'Id',
// detailFormatter: 'detailFormatter',
// queryParams: queryParams, //参数
// showHeader: true,
// columns: [
// { field: 'Id', title: 'Id', visible: false },
// { field: '角色', title: '角色', visible: false },
// { field: 'Workname', title: '姓名', visible: false },
// { field: 'ElectronicSignature', title: '照片', visible: false },
// { field: 'teachname', title: '职称', visible: false },
// { field: 'departName', title: '科室', visible: false },
// { field: 'rolename', title: '角色', visible: false },
//
// ]
// });
// });
// function queryParams() {
// var temp;
// return temp;
// }
</script>
</html>

View File

@ -1,29 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BeginScreen
{
public class ENTValidationError
{
public ENTValidationError() { }
public string ErrorMessage { get; set; }
#region ENTValidationErrors
/// <summary>
/// 一个包含了验证错误信息的自定义类列表,用户可以一次接收到合部验证错误信息
/// </summary>
public class ENTValidationErrors : List<ENTValidationError>
{
public void Add(string errorMessage)
{
base.Add(new ENTValidationError { ErrorMessage = errorMessage });
}
}
#endregion ENTValidationErrors
}
}

View File

@ -1 +0,0 @@
<%@ WebHandler Language="C#" CodeBehind="Handler1.ashx.cs" Class="BeginScreen.Handler1" %>

View File

@ -1,807 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Text;
using System.Reflection;
using System.Collections;
using System.Data.Common;
using System.Xml;
using System.Web.Script.Serialization;
namespace BeginScreen
{
/// <summary>
/// Handler1 的摘要说明
/// </summary>
public abstract class Handler1 : IHttpHandler, System.Web.SessionState.IRequiresSessionState
{
public virtual void OnInit()
{
}
#region
public void ProcessRequest(HttpContext context)
{
OnInit();
context.Response.ContentType = "text/plain";
//context.Response.ContentType = "application/json";
context.Response.Buffer = true;
context.Response.ExpiresAbsolute = DateTime.Now.AddDays(-1);
context.Response.AddHeader("pragma", "no-cache");
context.Response.AddHeader("cache-control", "");
context.Response.CacheControl = "no-cache";
try
{
if (HttpContext.Current.Request["cmd"] != null)
{
//if (HttpContext.Current.Session["userName"] == null && HttpContext.Current.Request["cmd"] != "userLogin")
//{
// string json = ToJson("SessionOut");
// context.Response.Write(json);//返回给前台页面
// context.Response.End();
//}
string cmd = HttpContext.Current.Request["cmd"];
var method = this.GetType().GetMethod(cmd);
if (method != null)
{
method.Invoke(this, new object[] { context });
}
}
}
catch (Exception)
{
}
}
#endregion
#region DataTable转换成Json格式
/// <summary>
/// DataTable转换成Json格式 分页格式
/// </summary>
/// <param name="ds">DataSet</param>
/// <returns></returns>
public static string Dataset2Json(DataTable dt, int total = -1)
{
StringBuilder json = new System.Text.StringBuilder();
//{"total":5,"rows":[
json.Append("{\"total\":");
if (total == -1)
{
json.Append(dt.Rows.Count);
}
else
{
json.Append(total);
}
json.Append(",\"rows\":[");
//json.Append("[");
json.Append(DataTable2Json(dt));
json.Append("]}");
return json.ToString();
}
#endregion
/// <summary>
/// 不需要分页的Json格式
/// </summary>
/// <param name="dt"></param>
/// <returns></returns>
public static string Dataset1Json(DataTable dt)
{
StringBuilder jsonBuilder = new StringBuilder();
jsonBuilder.Append("[");
for (int i = 0; i < dt.Rows.Count; i++)
{
jsonBuilder.Append("{");
for (int j = 0; j < dt.Columns.Count; j++)
{
jsonBuilder.Append("\"");
jsonBuilder.Append(dt.Columns[j].ColumnName);
jsonBuilder.Append("\":\"");
jsonBuilder.Append(dt.Rows[i][j].ToString());
jsonBuilder.Append("\",");
}
if (dt.Columns.Count > 0)
{
jsonBuilder.Remove(jsonBuilder.Length - 1, 1);
}
jsonBuilder.Append("},");
}
if (dt.Rows.Count > 0)
{
jsonBuilder.Remove(jsonBuilder.Length - 1, 1);
}
jsonBuilder.Append("]");
return jsonBuilder.ToString();
}
#region sql语句分页
public string GetListByPage(string tbName, string strWhere, string orderby, int startIndex, int endIndex)
{
StringBuilder strSql = new StringBuilder();
strSql.Append("SELECT * FROM ( ");
strSql.Append(" SELECT ROW_NUMBER() OVER (");
if (!string.IsNullOrEmpty(orderby.Trim()))
{
strSql.Append("order by T." + orderby);
}
else
{
strSql.Append("order by T.Id desc");
}
strSql.Append(")AS Row, T.* from " + tbName + " T ");
if (!string.IsNullOrEmpty(strWhere.Trim()))
{
strSql.Append(" WHERE " + strWhere);
}
strSql.Append(" ) TT");
strSql.AppendFormat(" WHERE TT.Row between {0} and {1}", startIndex, endIndex);
return strSql.ToString();
}
#endregion
#region dataTable转换成Json格式
/// <summary>
/// dataTable转换成Json格式 子方法
/// </summary>
/// <param name="dt"></param>
/// <returns></returns>
public static string DataTable2Json(DataTable dt)
{
StringBuilder jsonBuilder = new StringBuilder();
for (int i = 0; i < dt.Rows.Count; i++)
{
jsonBuilder.Append("{");
for (int j = 0; j < dt.Columns.Count; j++)
{
jsonBuilder.Append("\"");
jsonBuilder.Append(dt.Columns[j].ColumnName);
jsonBuilder.Append("\":\"");
jsonBuilder.Append(dt.Rows[i][j].ToString());
jsonBuilder.Append("\",");
}
if (dt.Columns.Count > 0)
{
jsonBuilder.Remove(jsonBuilder.Length - 1, 1);
}
jsonBuilder.Append("},");
}
if (dt.Rows.Count > 0)
{
jsonBuilder.Remove(jsonBuilder.Length - 1, 1);
}
return jsonBuilder.ToString();
}
#endregion dataTable转换成Json格式
#region
/// <summary>
/// 过滤特殊字符
/// </summary>
private static string String2Json(String s)
{
StringBuilder sb = new StringBuilder();
for (int i = 0; i < s.Length; i++)
{
char c = s.ToCharArray()[i];
switch (c)
{
case '\"':
sb.Append("\\\""); break;
case '\\':
sb.Append("\\\\"); break;
case '/':
sb.Append("\\/"); break;
case '\b':
sb.Append("\\b"); break;
case '\f':
sb.Append("\\f"); break;
case '\n':
sb.Append("\\n"); break;
case '\r':
sb.Append("\\r"); break;
case '\t':
sb.Append("\\t"); break;
default:
sb.Append(c); break;
}
}
return sb.ToString();
}
/// <summary>
/// 格式化字符型、日期型、布尔型
/// </summary>
private static string StringFormat(string str, Type type)
{
if (type == typeof(string))
{
str = String2Json(str);
str = "\"" + str + "\"";
}
else if (type == typeof(DateTime))
{
str = "\"" + str + "\"";
}
else if (type == typeof(bool))
{
str = str.ToLower();
}
else if (type != typeof(string) && string.IsNullOrEmpty(str))
{
str = "\"" + str + "\"";
}
return str;
}
#endregion
#region List转换成Json
/// <summary>
/// List转换成Json
/// </summary>
public static string ListToJson<T>(IList<T> list)
{
object obj = list[0];
return ListToJson<T>(list, obj.GetType().Name);
}
/// <summary>
/// List转换成Json
/// </summary>
public static string ListToJson<T>(IList<T> list, string jsonName)
{
StringBuilder Json = new StringBuilder();
if (string.IsNullOrEmpty(jsonName)) jsonName = list[0].GetType().Name;
Json.Append("{\"" + jsonName + "\":[");
if (list.Count > 0)
{
for (int i = 0; i < list.Count; i++)
{
T obj = Activator.CreateInstance<T>();
PropertyInfo[] pi = obj.GetType().GetProperties();
Json.Append("{");
for (int j = 0; j < pi.Length; j++)
{
Type type = pi[j].GetValue(list[i], null).GetType();
Json.Append("\"" + pi[j].Name.ToString() + "\":" + StringFormat(pi[j].GetValue(list[i], null).ToString(), type));
if (j < pi.Length - 1)
{
Json.Append(",");
}
}
Json.Append("}");
if (i < list.Count - 1)
{
Json.Append(",");
}
}
}
Json.Append("]}");
return Json.ToString();
}
#endregion
#region Json
/// <summary>
/// 对象转换为Json
/// </summary>
/// <param name="jsonObject">对象</param>
/// <returns>Json字符串</returns>
public static string ToJson(object jsonObject)
{
string jsonString = "{";
PropertyInfo[] propertyInfo = jsonObject.GetType().GetProperties();
for (int i = 0; i < propertyInfo.Length; i++)
{
object objectValue = propertyInfo[i].GetGetMethod().Invoke(jsonObject, null);
string value = string.Empty;
if (objectValue is DateTime || objectValue is Guid || objectValue is TimeSpan)
{
value = "'" + objectValue.ToString() + "'";
}
else if (objectValue is string)
{
value = "'" + ToJson(objectValue.ToString()) + "'";
}
else if (objectValue is IEnumerable)
{
value = ToJson((IEnumerable)objectValue);
}
else
{
value = ToJson(objectValue.ToString());
}
jsonString += "\"" + ToJson(propertyInfo[i].Name) + "\":" + value + ",";
}
//jsonString.Remove(jsonString.Length - 1, jsonString.Length);
jsonString = jsonString.Substring(0, jsonString.Length - 1);
return jsonString + "}";
}
#endregion
#region Json
/// <summary>
/// 对象集合转换Json
/// </summary>
/// <param name="array">集合对象</param>
/// <returns>Json字符串</returns>
public static string ToJson(IEnumerable array)
{
string jsonString = "[";
foreach (object item in array)
{
jsonString += ToJson(item) + ",";
}
//jsonString.Remove(jsonString.Length - 1, jsonString.Length);
jsonString = jsonString.Substring(0, jsonString.Length - 1);
return jsonString + "]";
}
#endregion
#region Json
/// <summary>
/// 普通集合转换Json
/// </summary>
/// <param name="array">集合对象</param>
/// <returns>Json字符串</returns>
public static string ToArrayString(IEnumerable array)
{
string jsonString = "[";
foreach (object item in array)
{
jsonString = ToJson(item.ToString()) + ",";
}
jsonString.Remove(jsonString.Length - 1, jsonString.Length);
return jsonString + "]";
}
#endregion
#region DataSet转换为Json
/// <summary>
/// DataSet转换为Json
/// </summary>
/// <param name="dataSet">DataSet对象</param>
/// <returns>Json字符串</returns>
public static string ToJson(DataSet dataSet)
{
string jsonString = "{";
foreach (DataTable table in dataSet.Tables)
{
jsonString += "\"" + table.TableName + "\":" + ToJson(table) + ",";
}
jsonString = jsonString.TrimEnd(',');
return jsonString + "}";
}
#endregion
#region Datatable转换为Json
/// <summary>
/// Datatable转换为Json
/// </summary>
/// <param name="table">Datatable对象</param>
/// <returns>Json字符串</returns>
public static string ToJson(DataTable dt)
{
StringBuilder jsonString = new StringBuilder();
jsonString.Append("[");
DataRowCollection drc = dt.Rows;
for (int i = 0; i < drc.Count; i++)
{
jsonString.Append("{");
for (int j = 0; j < dt.Columns.Count; j++)
{
string strKey = dt.Columns[j].ColumnName;
string strValue = drc[i][j].ToString();
Type type = dt.Columns[j].DataType;
jsonString.Append("\"" + strKey + "\":");
strValue = StringFormat(strValue, type);
if (j < dt.Columns.Count - 1)
{
jsonString.Append(strValue + ",");
}
else
{
jsonString.Append(strValue);
}
}
jsonString.Append("},");
}
jsonString.Remove(jsonString.Length - 1, 1);
jsonString.Append("]");
return jsonString.ToString();
}
/// <summary>
/// DataTable转换为Json
/// </summary>
public static string ToJson(DataTable dt, string jsonName)
{
StringBuilder Json = new StringBuilder();
if (string.IsNullOrEmpty(jsonName)) jsonName = dt.TableName;
Json.Append("{\"" + jsonName + "\":[");
if (dt.Rows.Count > 0)
{
for (int i = 0; i < dt.Rows.Count; i++)
{
Json.Append("{");
for (int j = 0; j < dt.Columns.Count; j++)
{
Type type = dt.Rows[i][j].GetType();
Json.Append("\"" + dt.Columns[j].ColumnName.ToString() + "\":" + StringFormat(dt.Rows[i][j].ToString(), type));
if (j < dt.Columns.Count - 1)
{
Json.Append(",");
}
}
Json.Append("}");
if (i < dt.Rows.Count - 1)
{
Json.Append(",");
}
}
}
Json.Append("]}");
return Json.ToString();
}
#endregion
#region DataReader转换为Json
/// <summary>
/// DataReader转换为Json
/// </summary>
/// <param name="dataReader">DataReader对象</param>
/// <returns>Json字符串</returns>
public static string ToJson(DbDataReader dataReader)
{
StringBuilder jsonString = new StringBuilder();
jsonString.Append("[");
while (dataReader.Read())
{
jsonString.Append("{");
for (int i = 0; i < dataReader.FieldCount; i++)
{
Type type = dataReader.GetFieldType(i);
string strKey = dataReader.GetName(i);
string strValue = dataReader[i].ToString();
jsonString.Append("\"" + strKey + "\":");
strValue = StringFormat(strValue, type);
if (i < dataReader.FieldCount - 1)
{
jsonString.Append(strValue + ",");
}
else
{
jsonString.Append(strValue);
}
}
jsonString.Append("},");
}
dataReader.Close();
jsonString.Remove(jsonString.Length - 1, 1);
jsonString.Append("]");
return jsonString.ToString();
}
#endregion
#region
public class message
{
public message(bool success, string msg, string countPage, string workerCurrentPage)
{
this.msg = msg;
this.success = success;
this.countPage = countPage;
this.workerCurrentPage = workerCurrentPage;
}
public bool success { get; set; }
public string msg { get; set; }
public string countPage { get; set; }
public string workerCurrentPage { get; set; }
}
public class message1
{
public message1(bool success, string html, string msg, string systemType, string sendType,int messId, string countPage, string workerCurrentPage)
{
this.msg = msg;
this.success = success;
this.html = html;
this.countPage = countPage;
this.workerCurrentPage = workerCurrentPage;
this.sendType = sendType;
this.systemType = systemType;
this.messId = messId;
}
public int messId { get; set; }
public bool success { get; set; }
public string html { get; set; }
public string msg { get; set; }
public string countPage { get; set; }
public string workerCurrentPage { get; set; }
public string sendType { get; set; }
public string systemType { get; set; }
}
public string Error2String(ENTValidationError.ENTValidationErrors validationErrors)
{
string errText = "";
foreach (ENTValidationError validationError in validationErrors)
{
if (errText.Length > 0)
{
errText += "\r\n";
}
errText += validationError.ErrorMessage;
}
return errText;
}
#endregion
#region int验证
public static bool CheckInt(string strValue)
{
if (strValue == null || strValue == "")
{
return false;
}
else
{
return System.Text.RegularExpressions.Regex.IsMatch(strValue, @"^\d*$");
}
}
#endregion
#region DataTable转xml格式字符串
public static string Serialize(DataTable dt)
{
string zqSpecial = "";
string xmlName = "<control>";
string xmlNameEnd = "</control>";
string xmlValuse = "<content>";
string xmlValuseEnd = "</content>";
if (dt.Rows.Count <= 0) return "";
foreach (DataRow row in dt.Rows)
{
zqSpecial += "<root>";
zqSpecial += xmlName + row["name"].ToString() + xmlNameEnd;
zqSpecial += xmlValuse + ConvertXml(row["value"].ToString()) + xmlValuseEnd;
zqSpecial += "</root>";
}
return "<dataset>" + zqSpecial + "</dataset>";
}
#endregion
#region ShiftXML处理
/// <summary>
/// 处理交班记录Xml
/// </summary>
/// <param name="dt"></param>
/// <returns></returns>
public static string SerializeShiftXml(DataTable dt)
{
string zqSpecial = "";
string sign = "<sign>";
string signend = "</sign>";
string xmlName = "<control>";
string xmlNameEnd = "</control>";
string xmlValuse = "<content>";
string xmlValuseEnd = "</content>";
string xmlFlag = "<Flag>";
string xmlFlagEnd = "</Flag>";
string xmlShift = "<shift>";
string xmlShiftEnd = "</shift>";
if (dt.Rows.Count <= 0) return "";
foreach (DataRow row in dt.Rows)
{
zqSpecial += "<root>";
zqSpecial += sign + row["sign"].ToString() + signend;
zqSpecial += xmlName + row["name"].ToString() + xmlNameEnd;
zqSpecial += xmlValuse + ConvertXml(row["value"].ToString()) + xmlValuseEnd;
zqSpecial += xmlFlag + ConvertXml(row["flag"].ToString()) + xmlFlagEnd;
zqSpecial += xmlShift + ConvertXml(row["shift"].ToString()) + xmlShiftEnd;
zqSpecial += "</root>";
}
return "<dataset>" + zqSpecial + "</dataset>";
}
public static DataTable AnalysisShiftXML(string xml, int id)
{
XmlDocument doc = new XmlDocument();
doc.LoadXml(xml);
DataTable dt = new DataTable("Datas");
dt.Columns.Add("sign", Type.GetType("System.String"));
dt.Columns.Add("name", Type.GetType("System.String"));
dt.Columns.Add("value", Type.GetType("System.String"));
dt.Columns.Add("flag", Type.GetType("System.String"));
XmlNodeList rows = doc.GetElementsByTagName("root");
foreach (XmlNode xn in rows)
{
DataRow dr = dt.NewRow();
for (int i = 1; i < xn.ChildNodes.Count - 1; i++)
{
dr[i] = xn.ChildNodes[i].InnerText;
if (xn.ChildNodes[1].InnerText == "ShiftId")
{
dr["value"] = id;
}
}
dt.Rows.Add(dr);
}
return dt;
}
#endregion
#region XML转义字符处理 frank
/// <summary>
/// XML转义字符处理
/// </summary>
public static string ConvertXml(string xml)
{
xml = (char)1 + xml; //为了避免首字母为要替换的字符,前加前缀
for (int intNext = 0; true; )
{
int intIndexOf = xml.IndexOf("&", intNext);
intNext = intIndexOf + 1; //避免&被重复替换
if (intIndexOf <= 0)
{
break;
}
else
{
xml = xml.Substring(0, intIndexOf) + "&amp;" + xml.Substring(intIndexOf + 1);
}
}
for (; true; )
{
int intIndexOf = xml.IndexOf("<");
if (intIndexOf <= 0)
{
break;
}
else
{
xml = xml.Substring(0, intIndexOf) + "&lt;" + xml.Substring(intIndexOf + 1);
}
}
for (; true; )
{
int intIndexOf = xml.IndexOf(">");
if (intIndexOf <= 0)
{
break;
}
else
{
xml = xml.Substring(0, intIndexOf) + "&gt;" + xml.Substring(intIndexOf + 1);
}
}
for (; true; )
{
int intIndexOf = xml.IndexOf("\"");
if (intIndexOf <= 0)
{
break;
}
else
{
xml = xml.Substring(0, intIndexOf) + "&quot;" + xml.Substring(intIndexOf + 1);
}
}
for (; true; )
{
int intIndexOf = xml.IndexOf("'");
if (intIndexOf <= 0)
{
break;
}
else
{
xml = xml.Substring(0, intIndexOf) + "&apos;" + xml.Substring(intIndexOf + 1);
}
}
return xml.Replace(((char)1).ToString(), "");
}
#endregion
#region xml生成DataTable frank
public static DataTable AnalysisXML(string xml)
{
XmlDocument doc = new XmlDocument();
doc.LoadXml(xml);
DataTable dt = new DataTable("Datas");
dt.Columns.Add("name", Type.GetType("System.String"));
dt.Columns.Add("value", Type.GetType("System.String"));
XmlNodeList rows = doc.GetElementsByTagName("root");
foreach (XmlNode xn in rows)
{
DataRow dr = dt.NewRow();
for (int i = 0; i < xn.ChildNodes.Count; i++)
{
dr[i] = xn.ChildNodes[i].InnerText;
}
dt.Rows.Add(dr);
}
return dt;
}
#endregion
#region Json DataTable数据集合
/// <summary>
/// Json 字符串 转换为 DataTable数据集合
/// </summary>
/// <param name="json"></param>
/// <returns></returns>
public static DataTable ToDataTable(string json)
{
DataTable dataTable = new DataTable(); //实例化
DataTable result;
try
{
JavaScriptSerializer javaScriptSerializer = new JavaScriptSerializer();
javaScriptSerializer.MaxJsonLength = Int32.MaxValue; //取得最大数值
ArrayList arrayList = javaScriptSerializer.Deserialize<ArrayList>(json);
if (arrayList.Count > 0)
{
foreach (Dictionary<string, object> dictionary in arrayList)
{
if (dictionary.Keys.Count<string>() == 0)
{
result = dataTable;
return result;
}
if (dataTable.Columns.Count == 0)
{
foreach (string current in dictionary.Keys)
{
dataTable.Columns.Add(current, dictionary[current].GetType());
}
}
DataRow dataRow = dataTable.NewRow();
foreach (string current in dictionary.Keys)
{
dataRow[current] = dictionary[current];
}
dataTable.Rows.Add(dataRow); //循环添加行到DataTable中
}
}
}
catch
{
}
result = dataTable;
return result;
}
#endregion
public bool IsReusable
{
get
{
return false;
}
}
}
}

View File

@ -0,0 +1 @@
<%@ WebHandler Language="C#" CodeBehind="HandlerBase.ashx.cs" Class="BeginScreen.HandlerBase" %>

View File

@ -0,0 +1,100 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Text;
using System.Reflection;
using System.Collections;
using System.Data.Common;
using System.Xml;
using System.Web.Script.Serialization;
namespace BeginScreen
{
/// <summary>
/// HandlerBase 的摘要说明
/// </summary>
public abstract class HandlerBase : IHttpHandler, System.Web.SessionState.IRequiresSessionState
{
public virtual void OnInit()
{
}
#region
public void ProcessRequest(HttpContext context)
{
OnInit();
context.Response.ContentType = "text/plain";
//context.Response.ContentType = "application/json";
context.Response.Buffer = true;
context.Response.ExpiresAbsolute = DateTime.Now.AddDays(-1);
context.Response.AddHeader("pragma", "no-cache");
context.Response.AddHeader("cache-control", "");
context.Response.CacheControl = "no-cache";
if (HttpContext.Current.Request["cmd"] != null)
{
string cmd = HttpContext.Current.Request["cmd"];
var method = this.GetType().GetMethod(cmd);
if (method != null)
{
method.Invoke(this, new object[] { context });
}
}
}
#endregion
#region
public class message
{
public message(bool success, string msg, string countPage, string workerCurrentPage)
{
this.msg = msg;
this.success = success;
this.countPage = countPage;
this.workerCurrentPage = workerCurrentPage;
}
public bool success { get; set; }
public string msg { get; set; }
public string countPage { get; set; }
public string workerCurrentPage { get; set; }
}
public class message1
{
public message1(bool success, string html, string msg, string systemType, string sendType, int messId, string countPage, string workerCurrentPage)
{
this.msg = msg;
this.success = success;
this.html = html;
this.countPage = countPage;
this.workerCurrentPage = workerCurrentPage;
this.sendType = sendType;
this.systemType = systemType;
this.messId = messId;
}
public int messId { get; set; }
public bool success { get; set; }
public string html { get; set; }
public string msg { get; set; }
public string countPage { get; set; }
public string workerCurrentPage { get; set; }
public string sendType { get; set; }
public string systemType { get; set; }
}
#endregion
public bool IsReusable
{
get
{
return false;
}
}
}
}

View File

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<root>
<IpAdress name="192.168.0.1">
<RoomName>06间</RoomName>
</IpAdress>
<IpAdress name="10.100.1.6">
<RoomName>1间</RoomName>
</IpAdress>
</root>

View File

@ -1,146 +0,0 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OpeRoomPlanNotice.aspx.cs"
Inherits="BeginScreen.OpeRoomPlanNotice" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<script src="js/jquery.min.js" type="text/javascript"></script>
</head>
<body style='margin: 0;' bgcolor='#000000'>
<table id="table" table border=0 width='100%' height='100%' cellpadding=0 cellspacing=0>
<thead>
<tr style="background: #62D377; color: white; margin-bottom: 6px; font-size: 24px;
font-weight: bold;">
<td colspan="10" style="padding: 6px;" valign="middle" height="5%" align="center">
<%-- <div id="currentTime" style="position: absolute; left: 10px; top: 10px;">
</div>--%>
每日手术情况一览表
<div id="ys" style="position: absolute; right: 10px; top: 10px;">
</div>
</td>
</tr>
<tr style="background: #2D9131; color: white; margin-bottom: 6px; font-size: 24px;
font-weight: bold;">
<td width="1%%" align="center" valign="middle" height="5%" style="padding: 6px;">
</td>
<td width="5%%" align="center" valign="middle" height="5%" style="padding: 6px;">
术间
</td>
<td width="13%%" align="center" valign="middle" height="5%" style="padding: 6px;">
科室
</td>
<td width="8%%" align="center" valign="middle" height="5%" style="padding: 6px;">
姓名
</td>
<td width="19%%" align="center" valign="middle" height="5%" style="padding: 6px;">
手术名称
</td>
<td width="9%%" align="center" valign="middle" height="5%" style="padding: 6px;">
手术医生
</td>
<td width="14%%" align="center" valign="middle" height="5%" style="padding: 6px;">
麻醉医生
</td>
<td width="14%%" align="center" valign="middle" height="5%" style="padding: 6px;">
护士
</td>
<td width="8%%" align="center" valign="middle" height="5%" style="padding: 6px;">
时间
</td>
<td width="9%%" align="center" valign="middle" height="5%" style="padding: 6px;">
状态
</td>
</tr>
</thead>
<tbody id="Mytbody">
</tbody>
</table>
</body>
<script type="text/javascript">
setInterval(load, 10000)
var tbodyobj = document.getElementById('Mytbody');
var WorkerCurrentPage = 1
var countPage
function load() {
if (WorkerCurrentPage > countPage) {
WorkerCurrentPage = 1;
}
$.ajax({
type: "POST",
url: "OpeRoomPlanNoticeHandler.ashx?cmd=GetHtml&WorkerCurrentPage=" + WorkerCurrentPage,
dataType: 'json',
async: false,
success: function (result) {
var data = eval(result);
if (data.success) {
tbodyobj.innerHTML = data.msg
countPage = data.countPage
$("#ys").html(' (第' + WorkerCurrentPage + '屏/共' + data.countPage + '屏)')
}
}
});
WorkerCurrentPage = WorkerCurrentPage + 1
}
//Date.prototype.format = function (format) {
// var o = {
// "M+": this.getMonth() + 1, //month
// "d+": this.getDate(), //day
// "h+": this.getHours(), //hour
// "m+": this.getMinutes(), //minute
// "s+": this.getSeconds(), //second
// "q+": Math.floor((this.getMonth() + 3) / 3), //quarter
// "S": this.getMilliseconds() //millisecond
// }
// if (/(y+)/.test(format)) {
// format = format.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
// }
// var week = {
// "0": "日",
// "1": "一",
// "2": "二",
// "3": "三",
// "4": "四",
// "5": "五",
// "6": "六"
// };
// if (/(E+)/.test(format)) {
// format = format.replace(RegExp.$1, ((RegExp.$1.length > 1) ? (RegExp.$1.length > 2 ? "星期" : "周") : "") + week[this.getDay() - 1 + ""]);
// }
// for (var k in o) {
// if (new RegExp("(" + k + ")").test(format)) {
// format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length));
// }
// }
// return format;
//}
$(function () {
var _timestamp
////setInterval("$('#currentTime').text(new Date().toLocalsString());",1000);
//$.ajax({
// type: "POST",
// url: "OpeRoomPlanNoticeHandler.ashx?cmd=GetHtmlTime",
// async: false,
// success: function (result) {
// _timestamp = Date.parse(result);
// $("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日 EEE"));
// ////_timestamp = _timestamp.toString().match(/^\d$/) ? _timestamp : new Date().getTime();
// //setInterval(function () {
// // $("#currentTime").text(new Date(_timestamp).toLocaleString());
// // _timestamp += 1000;
// //}, 1000);
// }
//});
});
</script>
</html>

View File

@ -1,17 +0,0 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace BeginScreen
{
public partial class OpeRoomPlanNotice
{
}
}

View File

@ -1 +0,0 @@
<%@ WebHandler Language="C#" CodeBehind="OpeRoomPlanNoticeHandler.ashx.cs" Class="BeginScreen.OpeRoomPlanNoticeHandler" %>

View File

@ -1,586 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Xml.Linq;
using System.Web.Script.Serialization;
using System.Text;
using System.Net;
using System.Xml;
namespace BeginScreen
{
/// <summary>
/// OpeRoomPlanNoticeHandler 的摘要说明
/// </summary>
public class OpeRoomPlanNoticeHandler : Handler1
{
private DateTime dtpBeginDate;
private DateTime dtpEndDate;
private int dSum = 0; //数据表的总记录
private int startRecond; //起始记录
private int endRecond = 0; //结束记录
private int PageSum = 9; //每页显示的记录数
private static int countPage = 0; //总页数
private int WorkerCurrentPage = 1; //当前页
private DataTable dts;
private DataTable dtsnew;
private string opeInColor1 = "Orange";
private DataTable InfoDataTable = new DataTable();
#region
public XElement xmlOpe = null;
private string fontFamily = "黑体";
private string fontSize = "24px";
private string rowOddBgColor = "#000000";
private string rowEvenBgColor = "#000000";
private string opeBeforColor = "#f4fd04";
private string opeInColor = "#fd0001";
//private string opeInColor = "lime";
private string opeAfterColor = "rgb(32, 218, 112)";
private string defaultColor = "LightSkyBlue";
private string OpeTime = "";
private string DeptId = "";
string clientip = "";
string strIp = "";
string stRoomName = "";
string RoomId = "";
#endregion
public void GetHtml(HttpContext context)
{
string baseDirectory = AppDomain.CurrentDomain.BaseDirectory + "ConfigNoticeXML.xml";
xmlOpe = XElement.Load(baseDirectory);
WorkerCurrentPage = int.Parse(xmlOpe.Element("WorkerCurrentPage").Value);
OpeTime = xmlOpe.Element("OpeTime").Value;
DeptId = xmlOpe.Element("DeptId").Value;
SetViewTime();
DataTable dt = new DataTable();
dt = PublicMethod.GetPlanNoticeNew(dtpBeginDate, dtpEndDate, OpeTime == "" ? "5" : OpeTime, DeptId);
dts = dt;
//总记录数
dSum = dts.Rows.Count;
countPage = GetPageCount();
//currentPage = 1;
//首先判断数据库中的记录数是否大于每一屏显示的数 chengxg@yahoo.cn;
string tdRows = string.Empty;
if (HttpContext.Current.Request["WorkerCurrentPage"] != null && HttpContext.Current.Request["WorkerCurrentPage"] != "")
{
tdRows = LoadWaitNurseOpe(Convert.ToInt32(HttpContext.Current.Request["WorkerCurrentPage"]));
}
JavaScriptSerializer jss = new JavaScriptSerializer();
message msg = new message(true, tdRows, countPage.ToString(), WorkerCurrentPage.ToString());
context.Response.Write(jss.Serialize(msg));//返回给前台页面
context.Response.End();
}
#region
public int GetPageCount()
{
if (PageSum == 0)
PageSum = 9; //每页显示的记录条数为"0",则默认为"20"
if (dSum % PageSum == 0)
return (dSum / PageSum);
else
return (dSum / PageSum) + 1;
}
#endregion
private string LoadWaitNurseOpe(int curPage)
{
///创建表
//CreateTable();
//插入表头
//InsertTitle();
///创建列名{ "状态", "手术间","科室", "时间", "姓名", "手术名称", "手术医生", "麻醉医生", "洗手护士", "巡回护士" };
//string[] colsName = { "", "术间", "科室", "姓名", "手术名称", "手术医生", "麻醉医生", "护士", "时间", "状态" };
//string[] colsWidth = { "1%", "5%", "13%", "8%", "19%", "9%", "14%", "14%", "8%", "9%" };
//InsertCols(colsName, colsWidth);
curPage -= 1;
startRecond = curPage * PageSum;
endRecond = startRecond + PageSum;
try
{
//状态vchrOpeStatus 手术间vchrOperatingRoomName 时间BeginTime 姓名vchrPatientName
//手术名称vchrOperationName术者 麻醉者 器械 巡回
string tdRows = "";
for (int i = startRecond; i < endRecond; i++)
{
string tdRow = "<tr>";
if (i >= dSum)
{
tdRow += "<td colspan='9'> </td>";
}
else
{
#region
string rowStyle = "";
if (i % 2 == 0)
{
rowStyle = "bgcolor='" + rowEvenBgColor +
"' align=center valie=middle style='border-bottom:1px solid #629069; height:50px; font-size:" +
fontSize + ";font-weight:bold; vertical-align: middle; font-family:\"" + fontFamily + "\"; ";
}
else
{
rowStyle = "bgcolor='" + rowOddBgColor +
"' align=center valie=middle style='border-bottom:1px solid #629069; height:50px; font-size:" +
fontSize + ";font-weight:bold; vertical-align: middle; font-family:\"" + fontFamily + "\"; ";
}
string intApplyID = dts.Rows[i]["ApplyId"].ToString();
string vchrOpeStatus = dts.Rows[i]["State"].ToString();//PublicMethod.GetOpeStatus(dts.Rows[i]);
if (vchrOpeStatus == "") continue;
string opeStatu = "";
string vchrFactBeginTime = "";
vchrFactBeginTime = dts.Rows[i]["OperationBeginTime"].ToString();// == "" ? dts.Rows[i]["OrderOperationTime"].ToString() : dts.Rows[i]["InRoomTime"].ToString();
if (vchrFactBeginTime.Trim().ToString() != "")
{
vchrFactBeginTime = Convert.ToDateTime(vchrFactBeginTime).ToString("HH:mm");
}
else vchrFactBeginTime = "- -";
string OperationRoom = dts.Rows[i]["OperationRoom"].ToString();// dts.Rows[i]["SZOperationRoom"].ToString() == "" ? dts.Rows[i]["SqOperationRoom"].ToString() : dts.Rows[i]["SZOperationRoom"].ToString();
switch (vchrOpeStatus)
{
case "等待手术":
opeStatu = "等待手术";
rowStyle += " color:" + defaultColor + ";'";
OperationRoom = dts.Rows[i]["OperationRoom"].ToString();
break;
case "手术准备":
opeStatu = "手术准备";
rowStyle += " color:" + opeBeforColor + ";'"; //2
OperationRoom = dts.Rows[i]["OperationRoom"].ToString();
break;
case "手术进行中":
opeStatu = "手术中";
rowStyle += " color:" + opeInColor + ";'";
OperationRoom = dts.Rows[i]["OperationRoom"].ToString();
break;
case "术后恢复":
opeStatu = "手术结束";
rowStyle += " color:" + opeAfterColor + ";'";
OperationRoom = dts.Rows[i]["OperationRoom"].ToString();
break;
case "手术结束":
opeStatu = "手术结束";
rowStyle += " color:" + opeAfterColor + ";'";
OperationRoom = dts.Rows[i]["OperationRoom"].ToString();
//OperationRoom = dts.Rows[i]["PACUBed"].ToString();
break;
case "手术拒绝":
opeStatu = "手术拒绝";
rowStyle += " color:#B559F5;'";
break;
default:
break;
}
#endregion
tdRow += "<td align='center' " + rowStyle + "></td>";
tdRow += "<td align='center' " + rowStyle + ">" + OperationRoom + "</td>";
#region
string Depatrtment = dts.Rows[i]["ApplyDepName"].ToString() ;
tdRow += "<td align='center'" + rowStyle + ">" + Depatrtment + "</td>";
#endregion
tdRow += "<td align='center' " + rowStyle + ">" + dts.Rows[i]["PatientName"] + "</td>";
string SZOperation = dts.Rows[i]["OperationInfo"].ToString() ;
tdRow += "<td align='center' " + rowStyle + ">" + SZOperation + "</td>";
#region
string SZOperationDoctor = dts.Rows[i]["OperationDoctor"].ToString();
tdRow += "<td align='center' " + rowStyle + ">" + SZOperationDoctor + "</td>";
#endregion
#region 2
string SZAnesthesiaDoctor = dts.Rows[i]["AnesthesiaDoctor"].ToString() ;
SZAnesthesiaDoctor = SZAnesthesiaDoctor == "" ? "- -" : SZAnesthesiaDoctor;
if (SZAnesthesiaDoctor.Contains(','))
{
SZAnesthesiaDoctor = SZAnesthesiaDoctor.Replace(',', '/');
}
tdRow += "<td align='center' " + rowStyle + ">" + SZAnesthesiaDoctor + "</td>";
#endregion
#region
string SZTourNurse = dts.Rows[i]["TourNurse"].ToString();
string SZInstrumentNurse = dts.Rows[i]["InstrumentNurse"].ToString();
if (SZInstrumentNurse == "") SZInstrumentNurse = "- -";
if (SZTourNurse == "") SZTourNurse = "- -";
tdRow += "<td align='center' " + rowStyle + ">" + SZInstrumentNurse + "/" + SZTourNurse + "</td>";
#endregion
tdRow += "<td align='center' " + rowStyle + ">" + vchrFactBeginTime + "</td>";
tdRow += "<td align='center' " + rowStyle + ">" + opeStatu + "</td>";
}
tdRow += "</tr>";
tdRows += tdRow;
}
//htmlbody = tdRows == "" ? htmlbody : body.Replace("{rows}", tdRows);
return tdRows;
}
catch (Exception exp)
{
return "";
throw;
}
}
private void SetViewTime()
{
dtpBeginDate = PublicMethod.ServerTime().Date.AddSeconds(1);
dtpEndDate = PublicMethod.ServerTime().Date.AddHours(23).AddMinutes(59).AddSeconds(59);
//dtpBeginDate = Convert.ToDateTime("2018-01-16 00:00:01");
//dtpEndDate = Convert.ToDateTime("2018-01-16 23:59:59");
}
public void GetHtmlTime(HttpContext context)
{
DateTime dt = PublicMethod.ServerTime();
context.Response.Write(dt.ToString());//返回给前台页面
context.Response.End();
}
#region
public void GetCurrentOperator(HttpContext context)
{
GetRoomNameByIp(context);
string baseDirectory = AppDomain.CurrentDomain.BaseDirectory + "ConfigNoticeXML.xml";
xmlOpe = XElement.Load(baseDirectory);
WorkerCurrentPage = int.Parse(xmlOpe.Element("WorkerCurrentPage").Value);
OpeTime = xmlOpe.Element("OpeTime").Value;
SetViewTime();
// string dtpBeginDate = PublicMethod.ServerTime().ToString("yyyy-MM-dd 00:00:00");
dtsnew = PublicMethod.GetOperationRoomPlan(dtpBeginDate, dtpEndDate, OpeTime == "" ? "5" : OpeTime, stRoomName);
//总记录数
dSum = dtsnew.Rows.Count;
countPage = GetPageCount();
//currentPage = 1;
//首先判断数据库中的记录数是否大于每一屏显示的数 chengxg@yahoo.cn;
string tdRows = string.Empty;
if (HttpContext.Current.Request["WorkerCurrentPage"] != null && HttpContext.Current.Request["WorkerCurrentPage"] != "")
{
tdRows = LoadWaitNurseOpe1(Convert.ToInt32(HttpContext.Current.Request["WorkerCurrentPage"]));
}
//GetCurrentOperationOperatorInfo();
JavaScriptSerializer jss = new JavaScriptSerializer();
message msg = new message(true, tdRows, countPage.ToString(), WorkerCurrentPage.ToString());
context.Response.Write(jss.Serialize(msg));//返回给前台页面
context.Response.End();
}
private void GetRoomNameByIp(HttpContext context)
{
clientip = "192.168.0.1";//context.Request.UserHostAddress.ToString(); //
string baseDirectory = AppDomain.CurrentDomain.BaseDirectory + "IPAndRoom.xml";
XmlDocument doc = new XmlDocument();
doc.Load(baseDirectory);
XmlElement rootElem = doc.DocumentElement; //获取根节点
XmlNodeList ipNodes = rootElem.GetElementsByTagName("IpAdress"); //获取person子节点集合
foreach (XmlNode node in ipNodes)
{
strIp = ((XmlElement)node).GetAttribute("name");
if (clientip == strIp)
{
XmlNodeList subRoomNameNodes = ((XmlElement)node).GetElementsByTagName("RoomName"); //获取age子XmlElement集合
if (subRoomNameNodes != null)
{
stRoomName = subRoomNameNodes[0].InnerText;
DataTable Roomdt = PublicMethod.GetRoomInfo(stRoomName);
if (Roomdt.Rows.Count > 0)
{
RoomId = Roomdt.Rows[0]["Id"].ToString();
}
}
}
}
}
public void GetRoomName(HttpContext context)
{
if (stRoomName == "")
{
clientip = "192.168.0.1"; //context.Request.UserHostAddress.ToString(); //
string baseDirectory = AppDomain.CurrentDomain.BaseDirectory + "IPAndRoom.xml";
XmlDocument doc = new XmlDocument();
doc.Load(baseDirectory);
XmlElement rootElem = doc.DocumentElement; //获取根节点
XmlNodeList ipNodes = rootElem.GetElementsByTagName("IpAdress"); //获取person子节点集合
foreach (XmlNode node in ipNodes)
{
strIp = ((XmlElement)node).GetAttribute("name");
if (clientip == strIp)
{
XmlNodeList subRoomNameNodes = ((XmlElement)node).GetElementsByTagName("RoomName"); //获取age子XmlElement集合
if (subRoomNameNodes != null)
{
stRoomName = subRoomNameNodes[0].InnerText;
}
break;
}
}
}
context.Response.Write(stRoomName);//返回给前台页面
context.Response.End();
}
private string LoadWaitNurseOpe1(int curPage)
{
string name = System.Configuration.ConfigurationManager.AppSettings["RowCount"].ToString();
int PageSum = 0;
string rheight = "";
string[] names = name.Split(',');
for (int i = 0; i < names.Length; i++)
{
PageSum = int.Parse(names[0].ToString());
rheight = names[1].ToString();
}
rowEvenBgColor = "RoyalBlue"; // CornflowerBlue
rowOddBgColor = "RoyalBlue";
curPage -= 1;
startRecond = curPage * PageSum;
endRecond = startRecond + PageSum;
try
{
//状态vchrOpeStatus 手术间vchrOperatingRoomName 时间BeginTime 姓名vchrPatientName
//手术名称vchrOperationName术者 麻醉者 器械 巡回
string tdRows = "";
for (int i = startRecond; i < endRecond; i++)
{
string rowStyle = "";
if (i % 2 == 0)
{
rowStyle = "style= 'background-color:" + rowOddBgColor + ";border-bottom:2px solid black;height:" + rheight + ";font-weight:bolder; vertical-align: middle; '";
}
else
{
rowStyle = "style='background-color:" + rowEvenBgColor + ";border-bottom:2px solid black;height:" + rheight + ";font-weight:bolder; vertical-align: middle; '";
}
string tdRow = "<tr " + rowStyle + ">";
if (i >= dSum)
{
tdRow += "<td colspan='8' style='height:" + rheight + ";'> </td>";
}
else
{
tdRow += "<td align='center' valie=middle style='height:" + rheight + ";'></td>";
#region
string Depatrtment = dtsnew.Rows[i]["ApplyDepName"].ToString() ;
Depatrtment = Depatrtment.Replace("病区", "");
tdRow += "<td align='center' valie=middle style='width:10%'>" + Depatrtment + "</td>";
#endregion
tdRow += "<td align='center' valie=middle style='width:6%'>" + dtsnew.Rows[i]["Bed"] + "床" + "</td>";
tdRow += "<td align='center' valie=middle style='width:7%'>" + dtsnew.Rows[i]["PatientName"] + "</td>";
tdRow += "<td align='center' valie=middle style='width:5%'>" + dtsnew.Rows[i]["sex"] + "</td>";
tdRow += "<td align='center' valie=middle style='width:8%'>" + dtsnew.Rows[i]["Age"] + "</td>";
string SZDiagnose = dtsnew.Rows[i]["SZDiagnose"].ToString() == "" ? dtsnew.Rows[i]["SQDiagnose"].ToString() : dtsnew.Rows[i]["SZDiagnose"].ToString();
if (SZDiagnose.Length > 13)
{
SZDiagnose = SZDiagnose.Substring(0, 12) + "...";
}
tdRow += "<td align='left' valie=middle style='width:31%'>" + SZDiagnose + "</td>";
string SZOperation = dtsnew.Rows[i]["OperationInfo"].ToString();
if (SZOperation.Length > 13)
{
SZOperation = SZOperation.Substring(0, 12) + "...";
}
tdRow += "<td align='left' valie=middle style='width:31%'>" + SZOperation + "</td>";
}
tdRow += "</tr>";
tdRows += tdRow;
}
//htmlbody = tdRows == "" ? htmlbody : body.Replace("{rows}", tdRows);
return tdRows;
}
catch (Exception exp)
{
return "";
throw;
}
}
public void GetCurrentOperationOperatorInfo(HttpContext context)
{
GetRoomNameByIp(context);
if (RoomId == "") return;
DataTable dt = PublicMethod.GetCurrentRoomPatientsInfo(int.Parse(RoomId), DateTime.Now.ToString("yyyy-MM-dd 00:00:00"));
foreach (DataRow item in dt.Rows)
{
string OperationDoctorId = item["SZOperationDoctorId"].ToString() == "" ? item["SQOperationDoctorId"].ToString() : item["SZOperationDoctorId"].ToString();
if (OperationDoctorId != "")
{
string[] doctorids = OperationDoctorId.Split(',');
for (int i = 0; i < doctorids.Length; i++)
{
if (i == 0)
{
GetWorkInfo(1, "主刀", int.Parse(doctorids[i]));
}
}
}
string Assistant1 = item["SZAssistant1Id"].ToString() == "" ? item["SQAssistant1Id"].ToString() : item["SZAssistant1Id"].ToString();
if (Assistant1 != "")
{
//一助
string[] assistant1ids = Assistant1.Split(',');
for (int i = 0; i < assistant1ids.Length; i++)
{
if (i == 0)
{
GetWorkInfo(2, "第一助手", int.Parse(assistant1ids[i]));
}
}
}
string Assistant2 = item["SZAssistant2Id"].ToString() == "" ? item["SQAssistant2Id"].ToString() : item["SZAssistant2Id"].ToString();
if (Assistant2 != "")
{
string[] assistant2ids = Assistant2.Split(',');
for (int i = 0; i < assistant2ids.Length; i++)
{
if (i == 0)
{
GetWorkInfo(3, "第二助手", int.Parse(assistant2ids[i]));
}
}
}
string Assistant3 = item["SZAssistant3Id"].ToString() == "" ? item["SQAssistant3Id"].ToString() : item["SZAssistant3Id"].ToString();
if (Assistant3 != "")
{
string[] assistant3ds = Assistant3.Split(',');
for (int i = 0; i < assistant3ds.Length; i++)
{
if (i == 0)
{
GetWorkInfo(4, "第三助手", int.Parse(assistant3ds[i]));
}
}
}
string AnesthesiaDoctorId = item["SZAnesthesiaDoctorId"].ToString() == "" ? item["SQAnesthesiaDoctorId"].ToString() : item["SZAnesthesiaDoctorId"].ToString();
if (AnesthesiaDoctorId != "")
{
string[] anesthesiaDoctorids = AnesthesiaDoctorId.Split(',');
for (int i = 0; i < anesthesiaDoctorids.Length; i++)
{
if (i == 0)
{
GetWorkInfo(5, "麻醉", int.Parse(anesthesiaDoctorids[i]));
}
if (i == 1)
{
GetWorkInfo(6, "麻醉", int.Parse(anesthesiaDoctorids[i]));
}
}
}
string InstrumentNurseId = item["SZInstrumentNurseId"].ToString() == "" ? item["SQInstrumentNurseId"].ToString() : item["SZInstrumentNurseId"].ToString();
if (InstrumentNurseId != "")
{
string[] instrumentNurseids = InstrumentNurseId.Split(',');
for (int i = 0; i < instrumentNurseids.Length; i++)
{
if (i == 0)
{
GetWorkInfo(7, "洗手护士", int.Parse(instrumentNurseids[i]));
}
}
}
string TourNurseId = item["SZTourNurseId"].ToString() == "" ? item["SQTourNurseId"].ToString() : item["SZTourNurseId"].ToString();
if (TourNurseId != "")
{
string[] tourNurseids = TourNurseId.Split(',');
for (int i = 0; i < tourNurseids.Length; i++)
{
if (i == 0)
{
GetWorkInfo(8, "巡回护士", int.Parse(tourNurseids[i]));
}
}
}
}
if (sql != "")
{
sql = sql.Substring(0, sql.Length - 5);
InfoDataTable = PublicMethod.GetCurrentRoomPatientsInfo(sql);
}
string json = DatasetJson(InfoDataTable);
context.Response.Write(json);//返回给前台页面
context.Response.End();
}
string sql = "";
public void GetWorkInfo(int index, string name, int Id)
{
sql += " select " + index + " as Id, '" + name + "' as 角色,w.Name as Workname,w.ElectronicSignature,bd.Name as teachname,d.Name as departName, r.Name as rolename,w.Remark from Workers w left join BasicDictionary bd on w.JobTitleId = bd.Id left join Roles r on r.Id = w.RoleId left join Departments d on d.Id = w.DepartmentId where w.Id =" + Id + " union";
}
/// <summary>
/// 解析DataTable成Json格式
/// </summary>
/// <param name="dt"></param>
/// <returns></returns>
public static string DatasetJson(DataTable dt)
{
StringBuilder jsonBuilder = new StringBuilder();
jsonBuilder.Append("[");
for (int i = 0; i < dt.Rows.Count; i++)
{
jsonBuilder.Append("{");
for (int j = 0; j < dt.Columns.Count; j++)
{
jsonBuilder.Append("\"");
jsonBuilder.Append(dt.Columns[j].ColumnName);
jsonBuilder.Append("\":\"");
jsonBuilder.Append(dt.Rows[i][j].ToString().Trim());
jsonBuilder.Append("\",");
}
if (dt.Columns.Count > 0)
{
jsonBuilder.Remove(jsonBuilder.Length - 1, 1);
}
jsonBuilder.Append("},");
}
if (dt.Rows.Count > 0)
{
jsonBuilder.Remove(jsonBuilder.Length - 1, 1);
}
jsonBuilder.Append("]");
return jsonBuilder.ToString();
}
#endregion
public void testGetRoomNameByIp(HttpContext context)
{
clientip = context.Request.UserHostAddress.ToString();
JavaScriptSerializer jss = new JavaScriptSerializer();
message msg = new message(true, clientip, "1", "1");
context.Response.Write(jss.Serialize(msg));//返回给前台页面
context.Response.End();
}
}
}

View File

@ -25,13 +25,13 @@ namespace BeginScreen
/// <returns></returns> /// <returns></returns>
public static DataTable GetPlanNoticeNew(DateTime dtBegin, DateTime dtEnd, string OpeTime, string DeptId) public static DataTable GetPlanNoticeNew(DateTime dtBegin, DateTime dtEnd, string OpeTime, string DeptId)
{ {
string strSql = "select * from (select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'等待手术' [State],SQState,SZState,ApplyOperationInfoName OperationInfo,OperationBeginTime,ApplyOperationDoctor OperationDoctor,applyAnesthesiaDoctor AnesthesiaDoctor,TourNurse,InstrumentNurse from [dbo].[V_OperationRecordALL] where sqstate <6 and ((OrderOperationTime >='" + dtBegin.ToString() + "' and OrderOperationTime<='" + dtEnd.ToString() + "')) union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术进行中'[State],SQState,SZState,OperationInfoName OperationInfo,OperationBeginTime,OperationDoctor OperationDoctor,AnesthesiaDoctor,TourNurse,InstrumentNurse from [V_OperationRecordALL] where SZstate in(1) and ((InRoomTime >='" + dtBegin.ToString() + "' and InRoomTime<='" + dtEnd.ToString() + "')) and OutRoomTime is null union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术结束'[State],SQState,SZState,OperationInfoName OperationInfo,OperationBeginTime,OperationDoctor OperationDoctor,AnesthesiaDoctor,TourNurse,InstrumentNurse from [V_OperationRecordALL] where datediff(minute,CONVERT(DATETIME,outRoomTime,120),GETDATE())<" + OpeTime + ") as a order by a.ApplyDepName collate Chinese_PRC_CS_AS_KS_WS,a.SQState desc,a.SZState desc"; string strSql = "select * from (select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'等待手术' [State],SQState,SZState,ApplyOperationInfoName OperationInfo,OperationBeginTime,ApplyOperationDoctor OperationDoctor,applyAnesthesiaDoctor AnesthesiaDoctor,TourNurse,InstrumentNurse from [dbo].[V_OperationRecordALL] where sqstate <6 and ((OrderOperationTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术进行中'[State],SQState,SZState,OperationInfoName OperationInfo,OperationBeginTime,OperationDoctor OperationDoctor,AnesthesiaDoctor,TourNurse,InstrumentNurse from [V_OperationRecordALL] where SZstate in(1) and ((InRoomTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and InRoomTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) and OutRoomTime is null union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术结束'[State],SQState,SZState,OperationInfoName OperationInfo,OperationBeginTime,OperationDoctor OperationDoctor,AnesthesiaDoctor,TourNurse,InstrumentNurse from [V_OperationRecordALL] where datediff(minute,CONVERT(DATETIME,outRoomTime,120),GETDATE())<" + OpeTime + ") as a order by a.ApplyDepName collate Chinese_PRC_CS_AS_KS_WS,a.SQState desc,a.SZState desc";
return DBHelper.GetDataTable(strSql); return DBHelper.GetDataTable(strSql);
} }
public static DataTable GetPlanNoticeNew1(DateTime dtBegin, DateTime dtEnd, string OpeTime, string DeptId) public static DataTable GetPlanNoticeNew1(DateTime dtBegin, DateTime dtEnd, string OpeTime, string DeptId)
{ {
string strSql = "select * from (select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'等待手术' [State],SQState,SZState from [dbo].[V_OperationRecordALL] where sqstate <6 and ((OrderOperationTime >='" + dtBegin.ToString() + "' and OrderOperationTime<='" + dtEnd.ToString() + "')) union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术进行中'[State],SQState,SZState from [V_OperationRecordALL] where SZstate in(1) and ((InRoomTime >='" + dtBegin.ToString() + "' and InRoomTime<='" + dtEnd.ToString() + "')) and OutRoomTime is null union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术结束'[State],SQState,SZState from [V_OperationRecordALL] where datediff(minute,CONVERT(DATETIME,outRoomTime,120),GETDATE())<" + OpeTime + ") as a order by a.ApplyDepName collate Chinese_PRC_CS_AS_KS_WS,a.SQState desc,a.SZState desc"; string strSql = "select * from (select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'等待手术' [State],SQState,SZState from [dbo].[V_OperationRecordALL] where sqstate <6 and ((OrderOperationTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术进行中'[State],SQState,SZState from [V_OperationRecordALL] where SZstate in(1) and ((InRoomTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and InRoomTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) and OutRoomTime is null union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术结束'[State],SQState,SZState from [V_OperationRecordALL] where datediff(minute,CONVERT(DATETIME,outRoomTime,120),GETDATE())<" + OpeTime + ") as a order by a.ApplyDepName collate Chinese_PRC_CS_AS_KS_WS,a.SQState desc,a.SZState desc";
return DBHelper.GetDataTable(strSql); return DBHelper.GetDataTable(strSql);
} }
@ -48,140 +48,7 @@ namespace BeginScreen
return null; return null;
} }
} }
public static string getMessige(string DeptId)
{
string strSql = "select top 1 Contents from NoticeContent where datediff(second,CONVERT(DATETIME,OperatorTime,120),GETDATE())<ReleaseTime order by ID desc ";// and OperatorId='" + DeptId + "'
DataTable dt = DBHelper.GetDataTable(strSql);
string messige = "";
if (dt.Rows.Count > 0)
{
messige = dt.Rows[0][0].ToString();
}
return messige;
}
/// <summary>
/// 公告显示
/// </summary>
/// <returns></returns>
public static DataRow getMessigeData(string DeptId)
{
string strSql = "select top 1 * from NoticeContent where datediff(second,CONVERT(DATETIME,OperatorTime,120),GETDATE())<ReleaseTime and OperatorId='" + DeptId + "' order by ID desc ";
DataTable dt = DBHelper.GetDataTable(strSql);
if (dt.Rows.Count > 0)
{
return dt.Rows[0];
}
else
{
return null;
}
}
public static string GetOpeStatus(DataRow dts)
{
//--0.【等待手术】 “已排程”“待访视”“已访视”
//--1.【术前准备】 点击“手术转入”
//--2.【手术进行中】 点击“手术开始”
//--3.【术后恢复】 点击“手术结束”
//--4.【离开手术室】 从点击手术结束
//--5.【转入复苏室】 麻醉恢复记录单点击“转入”
//--6.【离开手术室】 点击“转出”恢复室
string OperationRecordId = dts["OperationRecordId"].ToString();
string OpeStatus = dts["Szstate"].ToString();
string InRoomTime = dts["InRoomTime"].ToString();
string OperationBeginTime = dts["OperationBeginTime"].ToString();
string OperationEndTime = dts["OperationEndTime"].ToString();
string OutRoomTime = dts["OutRoomTime"].ToString();
string Temp = "";
if ((dts["SQstate"].ToString() == "2" && OperationRecordId == "") || (dts["SQstate"].ToString() == "1" && OperationRecordId == "" && dts["PlanOperationTime"].ToString() != "" && dts["SQOperationRoomId"].ToString() != "" && dts["APassApply"].ToString() != "0"))
{
Temp = "等待手术";
}
if (OpeStatus == "0" && InRoomTime != "" && OperationBeginTime == "" && OperationEndTime == "" && OutRoomTime == "")
{
Temp = "手术准备";
}
if (OpeStatus == "0" && InRoomTime != "" && OperationBeginTime != "" && OperationEndTime == "" && OutRoomTime == "")
{
Temp = "手术进行中";
}
if (OpeStatus == "0" && InRoomTime != "" && OperationBeginTime != "" && OperationEndTime != "" && OutRoomTime == "")
{
if (DateTime.Now < Convert.ToDateTime(OperationEndTime))
{
Temp = "手术进行中";
}
else
{
Temp = "术后恢复";
}
}
if (InRoomTime != "" && OperationBeginTime != "" && OperationEndTime != "" && OutRoomTime != "")
{
if (DateTime.Now < Convert.ToDateTime(OutRoomTime))
Temp = "术后恢复";
else
if (dts["Whereabouts"].ToString() == "病房")
{
Temp = "手术结束安返病房";
}
else if (dts["Whereabouts"].ToString() == "恢复室")
{
Temp = "手术结束转恢复室";
}
else
{
Temp = "手术结束";
}
}
if (OpeStatus == "4" && InRoomTime != "" && OutRoomTime == "")
{
Temp = "转入复苏室";
}
if (OpeStatus == "5" && InRoomTime != "" && OutRoomTime != "")
{
Temp = "离开复苏室";
}
return Temp;
}
/// <summary>
/// 将异常打印到LOG文件
/// </summary>
/// <param name="ex">异常</param>
/// <param name="LogAddress">日志文件地址</param>
public static void WriteLog(Exception ex, string LogAddress = "")
{
try
{
//如果日志文件为空则默认在Debug目录下新建 YYYY-mm-dd_Log.log文件
if (LogAddress == "")
{
LogAddress = Environment.CurrentDirectory + '\\' +
DateTime.Now.Year + '-' +
DateTime.Now.Month + '-' +
DateTime.Now.Day + "_Log.log";
}
//把异常信息输出到文件
StreamWriter sw = new StreamWriter(LogAddress, true);
sw.WriteLine("当前时间:" + DateTime.Now.ToString());
sw.WriteLine("异常信息:" + ex.Message);
sw.WriteLine("异常对象:" + ex.Source);
sw.WriteLine("调用堆栈:\n" + ex.StackTrace.Trim());
sw.WriteLine("触发方法:" + ex.TargetSite);
sw.WriteLine();
sw.Close();
}
catch (Exception)
{
return;
}
}
/// <summary> /// <summary>
/// 查询患者信息 /// 查询患者信息
/// </summary> /// </summary>
@ -189,19 +56,7 @@ namespace BeginScreen
/// <param name="dtEnd"></param> /// <param name="dtEnd"></param>
/// <returns></returns> /// <returns></returns>
public static DataTable GetCurrentRoomPatientsInfo(int OperationRoom, string bdate) public static DataTable GetCurrentRoomPatientsInfo(int OperationRoom, string bdate)
{ {
// string strSql = string.Format(@" select * from (select a.OperationDoctor,
// a.Assistant1,
// a.Assistant2,
// a.Assistant3,
// a.AnesthesiaDoctor,
// a.AnesthesiaDoctorSucceed,
// a.InstrumentNurse,
// a.TourNurse,
// a.TourNurseSucceed
// from OperationRecord a
// where a.OperationRoomId ={0} and State = 0 and a.InRoomTime > '{1}') a", OperationRoom, bdate);
string strSql = string.Format(@" select * from (select [SQOperationDoctorId],[SZOperationDoctorId], string strSql = string.Format(@" select * from (select [SQOperationDoctorId],[SZOperationDoctorId],
a.[SQAssistant1Id],[SZAssistant1Id], a.[SQAssistant1Id],[SZAssistant1Id],
[SQAssistant2Id],[SZAssistant2Id], [SQAssistant2Id],[SZAssistant2Id],

View File

@ -1 +0,0 @@
<%@ WebHandler Language="C#" CodeBehind="RelationsWaitingAreaBigScreenHandler.ashx.cs" Class="BeginScreen.RelationsWaitingAreaBigScreenHandler" %>

View File

@ -1 +0,0 @@
<%@ WebHandler Language="C#" CodeBehind="RelationsWaitingAreaBigScreenSYDHandler.ashx.cs" Class="BeginScreen.RelationsWaitingAreaBigScreenSYDHandler" %>

View File

@ -1,505 +0,0 @@
using System;
using System.Data;
using System.Web;
using System.Web.Configuration;
using System.Xml.Linq;
using System.Web.Script.Serialization;
namespace BeginScreen
{
/// <summary>
/// RelationsWaitingAreaBigScreenHandler 的摘要说明
/// </summary>
public class RelationsWaitingAreaBigScreenSYDHandler : Handler1
{
static int glop = 1;
private DateTime _beginDate;
private DateTime _endDate;
private int dSum; //数据表的总记录
private int startRecond; //起始记录
private int endRecond; //结束记录
private static int PageSum = 9; //每页显示的记录数
private int countPage; //总页数
private int currentPage; //当前页
private DataTable dts;
#region
public static XElement xmlOpe = null;
private string fontSize = "27px";
private string fontFamily = "黑体";
private string bodyBgColor = "#000000";
private string titleBgColor = "#62D377";
private string titleColBgColor = "#2D9131";
private string bottomBgColor = "#2D9131";
private string rowOddBgColor = "#000000";
private string rowEvenBgColor = "#000000";
private string opeBeforColor = "DodgerBlue";
//private string opeInColor = "red";
private string opeInColor = "yellow";
private string opeAfterColor = "rgb(32, 218, 112)";
private string opeInColor1 = "Orange";
private string opeAfterColor1 = "Wheat";
private string defaultColor = "LightSkyBlue"; //1
private string PatientNames = "";
private string OpeTime = "";
private string DeptId = "";
#endregion
private string body = "";
private string messageStr = "";
private string systemType = "";
private string sendType = "";
private int messId = 0;
private static void InitConfig()
{
#region
string baseDirectory = AppDomain.CurrentDomain.BaseDirectory + "ConfigBigScreen.xml";
xmlOpe = XElement.Load(baseDirectory);
#endregion
}
public string GetHtml(HttpContext context)
{
//try
//{
//设置显示信息的开始和结束时间
InitConfig();
SetViewTime();
currentPage = int.Parse(xmlOpe.Element("currentPage").Value);
PatientNames = xmlOpe.Element("PatientName").Value;
OpeTime = xmlOpe.Element("OpeTime").Value;
DeptId = xmlOpe.Element("DeptId").Value;
DataTable dt = new DataTable();
dt = PublicMethod.GetPlanNoticeNew1(_beginDate, _endDate, OpeTime == "" ? "5" : OpeTime, DeptId);
//DataRow[] sqzb = dt.Select("Szstate = '0' and InRoomTime is not null and OperationBeginTime is null and OperationEndTime is null and OutRoomTime is null");
//DataRow[] ssjxz = dt.Select("Szstate = '0' and InRoomTime is not null and OperationBeginTime is not null and OperationEndTime is null and OutRoomTime is null");
//DataRow[] ssjxz1 = dt.Select("Szstate = '0' and InRoomTime is not null and OperationBeginTime is not null and OperationEndTime is not null and OutRoomTime is null");
//DataRow[] shhf = dt.Select("InRoomTime is not null and OperationBeginTime is not null and OperationEndTime is not null and'" + DateTime.Now + "' < OutRoomTime");
//DataRow[] lkssj = dt.Select("InRoomTime is not null and OperationBeginTime is not null and OperationEndTime is not null and '" + DateTime.Now + "' > OutRoomTime");
//DataRow[] hfsjl = dt.Select(" Szstate = '4' and InRoomTime is not null ");
//DataRow[] lkhfsjl = dt.Select(" Szstate = '5' and InRoomTime is not null and outRoomTime is not null ");
//DataRow[] sqdd = dt.Select("SQstate = '2' and PlanOperationTime is not null and SQOperationRoomId is not null ");
//dts = dt.Clone();
//foreach (DataRow row in sqzb)
//{
// dts.Rows.Add(row.ItemArray);
//}
//foreach (DataRow row in ssjxz)
//{
// dts.Rows.Add(row.ItemArray);
//}
//foreach (DataRow row in ssjxz1)
//{
// dts.Rows.Add(row.ItemArray);
//}
//foreach (DataRow row in shhf)
//{
// dts.Rows.Add(row.ItemArray);
//}
//foreach (DataRow row in lkssj)
//{
// dts.Rows.Add(row.ItemArray);
//}
//foreach (DataRow row in hfsjl)
//{
// dts.Rows.Add(row.ItemArray);
//}
//foreach (DataRow row in lkhfsjl)
//{
// dts.Rows.Add(row.ItemArray);
//}
//foreach (DataRow row in sqdd)
//{
// dts.Rows.Add(row.ItemArray);
//}
dts = dt;
//总记录数
dSum = dts.Rows.Count;
countPage = GetPageCount();
string tdRows = string.Empty;
if (HttpContext.Current.Request["WorkerCurrentPage"] != null && HttpContext.Current.Request["WorkerCurrentPage"] != "")
{
LoadWaitNurseOpe(Convert.ToInt32(HttpContext.Current.Request["WorkerCurrentPage"]));
}
JavaScriptSerializer jss = new JavaScriptSerializer();
message1 msg = new message1(true, body, messageStr, systemType, sendType, messId, countPage.ToString(), "");
context.Response.Write(jss.Serialize(msg));//返回给前台页面
context.Response.End();
//}
//catch (Exception exp)
//{
// body = " <div style='position: absolute;top: 50%;left: 50%;width: 800px;height: 50px;margin-top: -25px; margin-left: -400px; background-color:#000;font: bold 48px/50px Verdana, Geneva, sans-serif; '>";
// body += "<marquee direction='left' scrollamount='5' style='font: bold 48px/50px Verdana, Geneva, sans-serif; color:#FF0000'>";
// body += exp.Message + " 与数据服务器连接中断,请稍候......</marquee></div>";
// PublicMethod.WriteLog(exp);
//}
return body;
}
public void GetOpenFile(HttpContext context)
{
TestMoveMouse();
context.Response.Write("");//返回给前台页面
context.Response.End();
}
public string GetOpenFile1(HttpContext context)
{
string fileid = HttpContext.Current.Request["fileid"];
context.Response.Write(context.Application[fileid]);//返回给前台页面
context.Response.End();
return "1";
}
[System.Runtime.InteropServices.DllImport("user32")]
private static extern int mouse_event(int dwFlags, int dx, int dy, int dwData, int dwExtraInfo);
//移动鼠标
const int MOUSEEVENTF_MOVE = 0x0001;
//模拟鼠标左键按下
const int MOUSEEVENTF_LEFTDOWN = 0x0002;
//模拟鼠标左键抬起
const int MOUSEEVENTF_LEFTUP = 0x0004;
//模拟鼠标右键按下
const int MOUSEEVENTF_RIGHTDOWN = 0x0008;
//模拟鼠标右键抬起
const int MOUSEEVENTF_RIGHTUP = 0x0010;
//模拟鼠标中键按下
const int MOUSEEVENTF_MIDDLEDOWN = 0x0020;
//模拟鼠标中键抬起
const int MOUSEEVENTF_MIDDLEUP = 0x0040;
//标示是否采用绝对坐标
const int MOUSEEVENTF_ABSOLUTE = 0x8000;
//模拟鼠标滚轮滚动操作必须配合dwData参数
const int MOUSEEVENTF_WHEEL = 0x0800;
public static void TestMoveMouse()
{
//Console.WriteLine("模拟鼠标移动5个像素点。");
mouse_event(MOUSEEVENTF_MOVE, -5000, -5000, 0, 0);//相对当前鼠标位置x轴和y轴分别移动50像素
mouse_event(MOUSEEVENTF_MOVE, 0, 200, 0, 0);//相对当前鼠标位置x轴和y轴分别移动50像素
//mouse_event(MOUSEEVENTF_WHEEL, 0, 0, -20, 0);//鼠标滚动使界面向下滚动20的高度
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);//相对当前鼠标位置x轴和y轴分别移动50像素
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);//相对当前鼠标位置x轴和y轴分别移动50像素
//mouse_event(MOUSEEVENTF_ABSOLUTE, 0, 0, 0, 0);//相对当前鼠标位置x轴和y轴分别移动50像素
//mouse_event(MOUSEEVENTF_MOVE, 0, 0, 0, 0);//相对当前鼠标位置x轴和y轴分别移动50像素
//var screenHeight = System.Windows.SystemParameters.PrimaryScreenHeight;
//var screenWidth = System.Windows.SystemParameters.PrimaryScreenWidth;
}
#region //计算总页数
public int GetPageCount()
{
if (PageSum == 0)
PageSum = 9; //每页显示的记录条数为"0",则默认为"20"
if (dSum % PageSum == 0)
return (dSum / PageSum);
else
return (dSum / PageSum) + 1;
}
#endregion
/// <summary>
/// 加载所有手术状态为“术前、术中、”的申请信息
/// </summary>
/// <param name="m"></param>
/// <param name="n"></param>
private void LoadWaitNurseOpe(int curPage)
{
//每次去查询时要更新一下记录总数RecondSum,每一页显示的记录数为PageSum ,
body = "";
messageStr = "";
systemType = "";
sendType = "";
///创建表
//CreateTable();
//创建表头
//insertTitle();
///创建列名
curPage -= 1;
startRecond = curPage * PageSum;
endRecond = startRecond + PageSum;
try
{
//状态vchrOpeStatus 手术间vchrOperatingRoomName 时间BeginTime 姓名vchrPatientName
//手术名称vchrOperationName术者 麻醉者 器械 巡回
string tdRows = "";
for (int i = startRecond; i < endRecond; i++)
{
string tdRow = "<tr>";
#region
if (i >= dSum)
{
tdRow += "<td colspan='9'> </td>";
}
else
{
string intApplyID = dts.Rows[i]["OperationApplyId"].ToString();
string OperationRoom = dts.Rows[i]["SqOperationRoom"].ToString();// dts.Rows[i]["SZOperationRoom"].ToString() == "" ? dts.Rows[i]["SqOperationRoom"].ToString() : dts.Rows[i]["SZOperationRoom"].ToString();
string vchrOpeStatus = PublicMethod.GetOpeStatus(dts.Rows[i]);
if (vchrOpeStatus == "") continue;
string rowStyle = "";
if (i % 2 == 0)
{
rowStyle = "bgcolor='" + rowEvenBgColor + "' align=left valie=middle style='border-bottom:1px solid #629069;height:50px;font-size:" +
fontSize + ";font-weight:bold; vertical-align: middle;font-family:\"" + fontFamily + "\"; ";
}
else
{
rowStyle = "bgcolor='" + rowOddBgColor + "' align=left valie=middle style='border-bottom:1px solid #629069;height:50px;font-size:" +
fontSize + ";font-weight:bold; vertical-align: middle;font-family:\"" + fontFamily + "\"; ";
}
switch (vchrOpeStatus)
{
case "等待手术":
rowStyle += " color:" + defaultColor + ";'";
break;
case "手术准备":
rowStyle += " color:" + opeBeforColor + ";'"; //2
break;
case "手术进行中":
rowStyle += " color:" + opeInColor + ";'"; //3
break;
case "术后恢复":
rowStyle += " color:" + opeAfterColor + ";'"; //4
break;
case "手术结束转恢复室":
OperationRoom = dts.Rows[i]["PACUBed"].ToString();
rowStyle += " color:" + opeInColor1 + ";'"; //6
break;
case "手术结束安返病房":
rowStyle += " color:" + opeAfterColor1 + ";'"; //57
break;
case "转入复苏室":
//OperationRoom = dts.Rows[i]["PACUBed"].ToString();
rowStyle += " color:" + opeInColor1 + ";'"; //6
//OperationRoom = dts.Rows[i]["PACUBed"].ToString();
break;
case "离开复苏室":
//OperationRoom = dts.Rows[i]["PACUBed"].ToString();
rowStyle += " color:" + opeAfterColor1 + ";'"; //57
break;
case "手术结束":
rowStyle += " color:" + opeAfterColor1 + ";'"; //57
break;
default:
break;
}
#endregion
//注释时间列改为从床号 LM
//vchrFactBeginTime = dts.Rows[i]["OperationBeginTime"].ToString();// == "" ? dts.Rows[i]["OrderOperationTime"].ToString() : dts.Rows[i]["InRoomTime"].ToString();
//if (vchrFactBeginTime.Trim().ToString() != "")
//{
// vchrFactBeginTime = Convert.ToDateTime(vchrFactBeginTime).ToString("HH:mm");
//}
//else vchrFactBeginTime = "- -";
tdRow += "<td align='center' " + rowStyle + "><div></div></td>";
tdRow += "<td align='center' " + rowStyle + "><div>" + dts.Rows[i]["DepartmentName"] + "</div></td>";
tdRow += "<td align='center' " + rowStyle + "><div>" + dts.Rows[i]["Bed"] + "</div></td>";
string PatientName = "";
if (PatientNames == "")
{
PatientName = dts.Rows[i]["PatientName"].ToString();
}
else
{
string name = dts.Rows[i]["PatientName"].ToString().Length < 2 ? "" : dts.Rows[i]["PatientName"].ToString().Substring(2);
PatientName = dts.Rows[i]["PatientName"].ToString().Substring(0, 1) + PatientNames + name;
}
tdRow += "<td align='center' " + rowStyle + "><div>&nbsp" + PatientName + "</div></td>";
//tdRow += "<td align='center' " + rowStyle + ">&nbsp" + OperationRoom + "</td>";
//tdRow += "<td align='center' " + rowStyle + ">&nbsp" + vchrFactBeginTime + " </td>";
tdRow += "<td align='center' " + rowStyle + "><div>" + vchrOpeStatus + "</div></td>";
}
tdRow += "</tr>";
tdRows += tdRow;
}
//显示备注等
body += tdRows;
//body += viewRemark();
GetT_Inform();
//插入底部
insertBottom();
}
catch (Exception exp)
{
throw;
}
}
/// <summary>
/// 显示备注
/// </summary>
private string viewRemark()
{
string str = "";
str += "<tr style=\"position: fixed; bottom: 0;width: 100%;\">";
str += "<td colspan=\"10\" style=\"border-bottom: 0 !important;display: block;\">";
str += "<div style=\"background: #016768 !important; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; padding: 0 5%; height: 60px; width: 89%; position: relative;\">";
str += "<div style=\"background: #17233B!important; width: 99%; height: 40px; margin-top: 10px; padding: 0 0px;\">";
//str += GetT_Inform();
str += "</div>";
str += "<span style=\"display: block; width: 20px; height: 20px; background: red; position: absolute; left: 1.8%; top: 22px; border-radius: 50%; border: 1px solid #fff;\"></span>";
str += "<span style=\"display: block; width: 20px; height: 20px; background: red; position: absolute; right: 1.8%; top: 22px; border-radius: 50%; border: 1px solid #fff;\"></span>";
str += "</div>";
str += "</td>";
str += "</tr>";
return str;
}
/// <summary>
/// 获取通知档的内容
/// </summary>
private void GetT_Inform()
{
messageStr = "";
systemType = "";
sendType = "";
DeptId = xmlOpe.Element("DeptId").Value;
DataRow dr = PublicMethod.getMessigeData(DeptId);
if (dr != null)
{
if (dr["Contents"] != null && dr["Contents"].ToString().Trim() != "")
{
messageStr = dr["Contents"].ToString().Trim();
}
if (dr["SystemType"] != null && dr["SystemType"].ToString().Trim() != "")
{
systemType = dr["SystemType"].ToString().Trim();
}
else
{
systemType = "0";
}
if (dr["SendType"] != null && dr["SendType"].ToString().Trim() != "")
{
sendType = dr["SendType"].ToString().Trim();
}
else
{
sendType = "0";
}
if (dr["Id"] != null && dr["Id"].ToString().Trim() != "")
{
messId = Convert.ToInt32(dr["Id"].ToString().Trim());
}
}
//string messige = PublicMethod.getMessige();
//if (messige.Trim() == "") return "";
//body += " <tr><td><div style='position: absolute;top: 50%;left: 50%;width: 1000px;height: 50px;margin-top: -25px; margin-left:-500px; background-color:#000;font: bold 55px/57px Verdana, Geneva, sans-serif; '>";
//body += "<marquee direction='left' scrollamount='12' style='font: bold 55px/57px Verdana, Geneva, sans-serif; color:#d808d6'>";
//body += messige + " </marquee></div></td></tr>";
//return "<marquee direction=\"left\" scrollamount=\"12\" style=\"font: bold 25px/27px Verdana, Geneva, sans-serif; color: #fff\">" + messige + " </marquee>";
//return messige;
}
private void SetViewTime()
{
_beginDate = PublicMethod.ServerTime().Date.AddSeconds(1);
_endDate = PublicMethod.ServerTime().Date.AddHours(23).AddMinutes(59).AddSeconds(59);
}
#region
private void CreateTable()
{
//body += "<script language='javascript'> setInterval(someFunction, 10000);function someFunction() {window.location.reload();}</script>";
body += "<table border=0 width='100%' height='100%' cellpadding=0 cellspacing=0>";
body += "{title}";
body += "{columens}";
body += "{rows}";
body += "</table>";
}
/// <summary>
/// 定义列
/// </summary>
/// <param name="colNames"></param>
/// <param name="colWidths"></param>
private void insertCols(string[] colNames, string[] colWidths)
{
string colString = "";
string colContent = "";
colString += "<tr style='background:" + titleColBgColor + ";color:white;margin-bottom:6px;font-size:" +
fontSize + ";font-weight:bold;font-family:\"" + fontFamily + "\";'>{td}</tr>";
for (int i = 0; i < colNames.Length; i++)
{
colContent += "<td width = '" + colWidths[i] +
"' align='center' valign='middle' height='5%' style='padding:6px;'>" + colNames[i] +
"</td>";
}
colString = colString.Replace("{td}", colContent);
body = body.Replace("{columens}", colString);
}
/// <summary>
/// 插入表头
/// </summary>
private void insertTitle()
{
if (countPage == 0)
{
currentPage = 0;
}
string titleStr = "";
titleStr += "<tr style='background:black;color:white;margin-bottom:6px;font-size:40px;font-weight:bold;font-family:\"" + fontFamily + "\";'>";
titleStr += "<td colspan='9' align='center' valign='middle' height='10%' style='padding:6px;'>";
titleStr += "<DIV style='left:10px; top: 22px; position: absolute;color:" + titleBgColor + ";font-size:" + fontSize + ";'>" + WebConfigurationManager.AppSettings["BigScreenHospitalName"].ToString();
titleStr += "</DIV>今日手术<DIV style='right: 10px; top: 22px; position: absolute;color:" + titleBgColor + ";font-size:" + fontSize + ";'>" + PublicMethod.ServerTime().ToString("yyyy-MM-dd HH:mm") + "\n第" + currentPage + "屏/共" + countPage + "屏) </DIV></TD></tr>";
body = body.Replace("{title}", titleStr);
}
/// <summary>
/// 插入表底部
/// </summary>
private void insertBottom()
{
string bottomStr = "";
bottomStr += "<tr>";
bottomStr += "<td colspan='9' align='center' valign='middle' id='bottom1'></td>";
bottomStr += "</tr>";
//body = body.Replace("{Bootom}", bottomStr);
body += bottomStr;
}
#endregion
}
}

243
BeginScreen/Room.aspx Normal file
View File

@ -0,0 +1,243 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Room.aspx.cs"
Inherits="BeginScreen.Room" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%;">
<head id="Head1" runat="server">
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/speak.js"></script>
<script language="javascript" src="js/url.js" charset="utf-8"></script>
<style type="text/css">
thead tr:last-child td {
height: 50px;
}
tbody td {
background: none !important;
color: #fff !important;
border-bottom: 15px solid #62906900 !important;
}
tbody td div {
width: 100%;
height: 100%;
line-height: 50px;
background: #E46705 !important;
border-top: 1.9px solid #fff;
border-bottom: 1.9px solid #fff;
}
tbody tr td:first-child {
padding-left: 1%;
}
tbody tr td:last-child {
padding-right: 1%;
}
tbody tr td:first-child div {
border-left: 1.9px solid #fff;
border-top-left-radius: 30px;
border-bottom-left-radius: 30px;
}
tbody tr td:last-child div {
border-right: 1.9px solid #fff;
border-top-right-radius: 30px;
border-bottom-right-radius: 30px;
}
</style>
</head>
<body style="margin: 0; /*background: linear-gradient(#08413C,#28A1A9); */background: linear-gradient(#0E101A,#DF8A53); height: 100%;" bgcolor="#000000" id="Mybody">
<table id="table" border="0" width='100%' height='100%' cellpadding="0" cellspacing="0">
<thead>
<tr style="/*background: black; */ background: linear-gradient(#08413C,#28A1A9); color: white; margin-bottom: 6px; font-size: 40px; font-weight: bold;">
<td colspan="10" align="center" valign="middle" height="10%" style="padding: 6px;">
<div onclick="speak('');" style="left: 10px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
秦皇岛市工人医院
</div>
每日手术情况一览表
<div style="right: 250px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
<div id="currentTime">
</div>
<div id="currentHour"></div>
</div>
<div style="right: 20px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
<div id="js">
</div>
</div>
</td>
</tr>
<tr style="/*background: #2D9131; */ color: white; margin-bottom: 6px; font-size: 24px; font-weight: bold;">
<td width="3%" align="center" valign="middle" height="5%" style="padding: 6px;"></td>
</td>
<td width="5%%" align="center" valign="middle" height="5%" style="padding: 6px;">
术间
</td>
<td width="13%%" align="center" valign="middle" height="5%" style="padding: 6px;">
科室
</td>
<td width="8%%" align="center" valign="middle" height="5%" style="padding: 6px;">
姓名
</td>
<td width="19%%" align="center" valign="middle" height="5%" style="padding: 6px;">
手术名称
</td>
<td width="9%%" align="center" valign="middle" height="5%" style="padding: 6px;">
手术医生
</td>
<td width="14%%" align="center" valign="middle" height="5%" style="padding: 6px;">
麻醉医生
</td>
<td width="14%%" align="center" valign="middle" height="5%" style="padding: 6px;">
护士
</td>
<td width="8%%" align="center" valign="middle" height="5%" style="padding: 6px;">
时间
</td>
<td width="9%%" align="center" valign="middle" height="5%" style="padding: 6px;">
状态
</td>
</tr>
</thead>
<tbody id="Mytbody" style="background: linear-gradient(#221A1C,#DF8A53);">
</tbody>
</table>
<table id="table1" table border="0" width='100%' height='0' cellpadding="0" cellspacing="0">
<tbody id="Mytbody1" style="background: linear-gradient(#221A1C,#DF8A53);">
<tr style="position: fixed; bottom: 0; width: 100%;">
<td colspan="10" style="border-bottom: 0 !important; display: block;">
<div style="background: #016768 !important; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; padding: 0 5%; height: 60px; width: 89%; position: relative;">
<div style="background: #17233B!important; width: 99%; height: 40px; margin-top: 10px; padding: 0 0px;">
<marquee id="marquee" direction="left" scrollamount="12" style="font-family: sans-serif; font-size: 25px; color: #fff; height: 40px; line-height: 40px; font-weight: bold;"></marquee>
</div>
<span style="display: block; width: 20px; height: 20px; background: red; position: absolute; left: 1.8%; top: 22px; border-radius: 50%; border: 1px solid #fff;"></span>
<span style="display: block; width: 20px; height: 20px; background: red; position: absolute; right: 1.8%; top: 22px; border-radius: 50%; border: 1px solid #fff;"></span>
</div>
</td>
</tr>
</tbody>
</table>
<div id="officeId" style="width: 4%; height: 100%; background: #ff000000; position: fixed; left: 0; top: 0; z-index: 100000;">
</div>
<script language="javascript" src="js/webofficetip.js" charset="utf-8"></script>
<script language="javascript">
SetupTip();
</script>
</body>
<script type="text/javascript">
var messId = 0;
var sendType = "";
var tbodyobj = document.getElementById('Mytbody');
setInterval(load, 10000);
var WorkerCurrentPage = 1;
var countPage;
function load() {
if (WorkerCurrentPage > countPage) {
WorkerCurrentPage = 1;
}
$.ajax({
type: "POST",
url: "RoomHandler.ashx?cmd=GetHtml&WorkerCurrentPage=" + WorkerCurrentPage,
dataType: 'json',
async: false,
success: function (result) {
var data = eval(result);
if (data.success) {
tbodyobj.innerHTML = data.html;
sendType = data.sendType;
messId = data.messId;
countPage = data.countPage;
$("#js").html('(第' + WorkerCurrentPage + '屏/共' + data.countPage + '屏)');
}
}
});
WorkerCurrentPage = WorkerCurrentPage + 1
}
Date.prototype.format = function (format) {
var o = {
"M+": this.getMonth() + 1, //month
"d+": this.getDate(), //day
"h+": this.getHours(), //hour
"m+": this.getMinutes(), //minute
"s+": this.getSeconds(), //second
"q+": Math.floor((this.getMonth() + 3) / 3), //quarter
"S": this.getMilliseconds() //millisecond
}
if (/(y+)/.test(format)) {
format = format.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
}
var week = {
"0": "日",
"1": "一",
"2": "二",
"3": "三",
"4": "四",
"5": "五",
"6": "六"
};
if (/(E+)/.test(format)) {
format = format.replace(RegExp.$1, ((RegExp.$1.length > 1) ? (RegExp.$1.length > 2 ? "星期" : "周") : "") + week[this.getDay() + ""]);
}
for (var k in o) {
if (new RegExp("(" + k + ")").test(format)) {
format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length));
}
}
return format;
}
$(function () {
var _timestamp
$.ajax({
type: "POST",
url: "RoomHandler.ashx?cmd=GetHtmlTime",
async: false,
success: function (result) {
_timestamp = Date.parse(result);
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek());
setInterval(function () {
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek());
_timestamp += 1000;
}, 1000);
}
});
});
function GetWeek() {
var a = new Array("日", "一", "二", "三", "四", "五", "六");
var week = new Date().getDay();
var str = "星期" + a[week];
return str;
}
///设置字体颜色
function SetFontColor(family, size, color, weight, style) {
if (family != "") {
$("#marquee").css("font-family", family);
}
if (size != "") {
$("#marquee").css("font-size", size + "px");
}
if (color != "") {
$("#marquee").css("color", color);
}
if (weight != "") {
$("#marquee").css("font-weight", weight);
}
if (style != "") {
$("#marquee").css("font-style", style);
}
}
</script>
</html>

View File

@ -7,7 +7,7 @@ using System.Web.UI.WebControls;
namespace BeginScreen namespace BeginScreen
{ {
public partial class D_SYD : System.Web.UI.Page public partial class Room : System.Web.UI.Page
{ {
protected void Page_Load(object sender, EventArgs e) protected void Page_Load(object sender, EventArgs e)
{ {

View File

@ -11,7 +11,7 @@ namespace BeginScreen
{ {
public partial class D_SYD public partial class Room
{ {
/// <summary> /// <summary>

View File

@ -6,5 +6,5 @@
<!--结束显示时间--> <!--结束显示时间-->
<OpeTime>5</OpeTime> <OpeTime>5</OpeTime>
<!--显示科室--> <!--显示科室-->
<DeptId>958</DeptId> <DeptId></DeptId>
</main> </main>

View File

@ -0,0 +1 @@
<%@ WebHandler Language="C#" CodeBehind="RoomHandler.ashx.cs" Class="BeginScreen.RoomHandler" %>

View File

@ -0,0 +1,241 @@
using System;
using System.Data;
using System.Web;
using System.Web.Configuration;
using System.Xml.Linq;
using System.Web.Script.Serialization;
namespace BeginScreen
{
/// <summary>
/// RoomHandler 的摘要说明
/// </summary>
public class RoomHandler : HandlerBase
{
private DateTime _beginDate;
private DateTime _endDate;
private int dSum; //数据表的总记录
private int startRecond; //起始记录
private int endRecond; //结束记录
private static int PageSum = 9; //每页显示的记录数
private int countPage; //总页数
private int currentPage; //当前页
private DataTable dts;
#region
public static XElement xmlOpe = null;
private string fontSize = "27px";
private string fontFamily = "黑体";
private string rowOddBgColor = "#000000";
private string rowEvenBgColor = "#000000";
private string opeBeforColor = "DodgerBlue";
private string opeInColor = "yellow";
private string opeAfterColor = "rgb(32, 218, 112)";
private string opeInColor1 = "Orange";
private string opeAfterColor1 = "Wheat";
private string defaultColor = "LightSkyBlue"; //1
private string PatientNames = "";
private string OpeTime = "";
private string DeptId = "";
#endregion
private string body = "";
private string messageStr = "";
private string systemType = "";
private string sendType = "";
private int messId = 0;
private static void InitConfig()
{
#region
string baseDirectory = AppDomain.CurrentDomain.BaseDirectory + "RoomConfig.xml";
xmlOpe = XElement.Load(baseDirectory);
#endregion
}
public string GetHtml(HttpContext context)
{
//设置显示信息的开始和结束时间
InitConfig();
SetViewTime();
currentPage = int.Parse(xmlOpe.Element("currentPage").Value);
PatientNames = xmlOpe.Element("PatientName").Value;
OpeTime = xmlOpe.Element("OpeTime").Value;
DeptId = xmlOpe.Element("DeptId").Value;
DataTable dt = new DataTable();
dt = PublicMethod.GetPlanNoticeNew(_beginDate, _endDate, OpeTime == "" ? "5" : OpeTime, DeptId);
dts = dt;
//总记录数
dSum = dts.Rows.Count;
countPage = GetPageCount();
string tdRows = string.Empty;
if (HttpContext.Current.Request["WorkerCurrentPage"] != null && HttpContext.Current.Request["WorkerCurrentPage"] != "")
{
LoadWaitNurseOpe(Convert.ToInt32(HttpContext.Current.Request["WorkerCurrentPage"]));
}
JavaScriptSerializer jss = new JavaScriptSerializer();
message1 msg = new message1(true, body, messageStr, systemType, sendType, messId, countPage.ToString(), "");
context.Response.Write(jss.Serialize(msg));//返回给前台页面
context.Response.End();
return body;
}
#region //计算总页数
public int GetPageCount()
{
if (PageSum == 0)
PageSum = 9; //每页显示的记录条数为"0",则默认为"20"
if (dSum % PageSum == 0)
return (dSum / PageSum);
else
return (dSum / PageSum) + 1;
}
#endregion
/// <summary>
/// 加载所有手术状态为“术前、术中、”的申请信息
/// </summary>
/// <param name="m"></param>
/// <param name="n"></param>
private void LoadWaitNurseOpe(int curPage)
{
//每次去查询时要更新一下记录总数RecondSum,每一页显示的记录数为PageSum ,
body = "";
messageStr = "";
systemType = "";
sendType = "";
curPage -= 1;
startRecond = curPage * PageSum;
endRecond = startRecond + PageSum;
string tdRows = "";
for (int i = startRecond; i < endRecond; i++)
{
try
{
string tdRow = "<tr>";
if (i >= dSum)
{
tdRow += "<td colspan='9'> </td>";
}
else
{
string intApplyID = dts.Rows[i]["ApplyId"].ToString();
string OperationRoom = dts.Rows[i]["OperationRoom"].ToString();
string vchrOpeStatus = dts.Rows[i]["State"].ToString();
string vchrFactBeginTime = "";
vchrFactBeginTime = dts.Rows[i]["OperationBeginTime"].ToString();
if (vchrFactBeginTime.Trim().ToString() != "")
{
vchrFactBeginTime = Convert.ToDateTime(vchrFactBeginTime).ToString("HH:mm");
}
if (vchrOpeStatus == "") continue;
string rowStyle = "";
if (i % 2 == 0)
{
rowStyle = "bgcolor='" + rowEvenBgColor + "' align=left valie=middle style='border-bottom:1px solid #629069;height:50px;font-size:" +
fontSize + ";font-weight:bold; vertical-align: middle;font-family:\"" + fontFamily + "\"; ";
}
else
{
rowStyle = "bgcolor='" + rowOddBgColor + "' align=left valie=middle style='border-bottom:1px solid #629069;height:50px;font-size:" +
fontSize + ";font-weight:bold; vertical-align: middle;font-family:\"" + fontFamily + "\"; ";
}
switch (vchrOpeStatus)
{
case "等待手术":
rowStyle += " color:" + defaultColor + ";'";
break;
case "手术准备":
rowStyle += " color:" + defaultColor + ";'";
break;
case "手术进行中":
rowStyle += " color:" + defaultColor + ";'";
break;
case "术后恢复":
break;
case "手术结束转恢复室":
break;
case "手术结束安返病房":
break;
case "转入复苏室":
break;
case "离开复苏室":
break;
case "手术结束":
rowStyle += " color:" + defaultColor + ";'";
break;
default:
break;
}
tdRow += "<td align='center' " + rowStyle + "></td>";
tdRow += "<td align='center' " + rowStyle + ">" + OperationRoom + "</td>";
tdRow += "<td align='center' " + rowStyle + ">" + dts.Rows[i]["ApplyDepName"] + "</td>";
tdRow += "<td align='center' " + rowStyle + ">" + dts.Rows[i]["PatientName"] + "</td>";
string SZOperation = dts.Rows[i]["OperationInfo"].ToString();
tdRow += "<td align='center' " + rowStyle + ">" + SZOperation + "</td>";
#region
string SZOperationDoctor = dts.Rows[i]["OperationDoctor"].ToString();
tdRow += "<td align='center' " + rowStyle + ">" + SZOperationDoctor + "</td>";
#endregion
#region 2
string SZAnesthesiaDoctor = dts.Rows[i]["AnesthesiaDoctor"].ToString();
SZAnesthesiaDoctor = SZAnesthesiaDoctor == "" ? "- -" : SZAnesthesiaDoctor;
if (SZAnesthesiaDoctor.Contains(","))
{
SZAnesthesiaDoctor = SZAnesthesiaDoctor.Replace(',', '/');
}
tdRow += "<td align='center' " + rowStyle + ">" + SZAnesthesiaDoctor + "</td>";
#endregion
#region
string SZTourNurse = dts.Rows[i]["TourNurse"].ToString();
string SZInstrumentNurse = dts.Rows[i]["InstrumentNurse"].ToString();
if (SZInstrumentNurse == "") SZInstrumentNurse = "- -";
if (SZTourNurse == "") SZTourNurse = "- -";
tdRow += "<td align='center' " + rowStyle + ">" + SZInstrumentNurse + "/" + SZTourNurse + "</td>";
#endregion
tdRow += "<td align='center' " + rowStyle + ">" + vchrFactBeginTime + "</td>";
tdRow += "<td align='center' " + rowStyle + ">" + vchrOpeStatus + "</td>";
}
tdRow += "</tr>";
tdRows += tdRow;
}
catch (Exception)
{
}
}
//显示备注等
body += tdRows;
}
private void SetViewTime()
{
_beginDate = PublicMethod.ServerTime().Date.AddSeconds(1);
_endDate = PublicMethod.ServerTime().Date.AddHours(23).AddMinutes(59).AddSeconds(59);
}
public void GetHtmlTime(HttpContext context)
{
DateTime dt = PublicMethod.ServerTime();
context.Response.Write(dt.ToString());//返回给前台页面
context.Response.End();
}
}
}

View File

@ -1,4 +1,4 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="D_SYD.aspx.cs" Inherits="BeginScreen.D_SYD" %> <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Wait.aspx.cs" Inherits="BeginScreen.Wait" %>
<!DOCTYPE html> <!DOCTYPE html>
@ -50,22 +50,12 @@
</head> </head>
<body style="margin: 0; /*background: linear-gradient(#08413C,#28A1A9); */background: linear-gradient(#0E101A,#DF8A53); height: 100%;" bgcolor="#000000" id="Mybody"> <body style="margin: 0; /*background: linear-gradient(#08413C,#28A1A9); */background: linear-gradient(#0E101A,#DF8A53); height: 100%;" bgcolor="#000000" id="Mybody">
<%-- <a id="wert" onclick="OpenDoc(1,0,'fffff.docx')" href="javascript:;">关闭</a> <table id="table" border="0" width='100%' height='100%' cellpadding="0" cellspacing="0">
<a onclick="OpenDoc(1,1,'手麻系统项目实施文档.doc')" href="javascript:;">关闭</a>
<a id="test" href="javascript:;">触发</a>X:<input id="xxx" type="text" />
Y:<input id="yyy" type="text" />
<a id="we11rt" onclick="GetClickOpenFile('测试关闭.docx',1)" href="javascript:;">测试触发</a>--%>
<table id="table" table border="0" width='100%' height='100%' cellpadding="0" cellspacing="0">
<thead> <thead>
<tr style="/*background: black; */ background: linear-gradient(#08413C,#28A1A9); color: white; margin-bottom: 6px; font-size: 40px; font-weight: bold;"> <tr style="/*background: black; */ background: linear-gradient(#08413C,#28A1A9); color: white; margin-bottom: 6px; font-size: 40px; font-weight: bold;">
<td colspan="10" align="center" valign="middle" height="10%" style="padding: 6px;"> <td colspan="10" align="center" valign="middle" height="10%" style="padding: 6px;">
<div onclick="speak('爱上对方过后就哭了');" style="left: 10px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;"> <div onclick="speak('');" style="left: 10px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
屯留县人民医院 秦皇岛市工人医院
</div> </div>
今日手术 今日手术
<div style="right: 250px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;"> <div style="right: 250px; top: 22px; position: absolute; /*color: #62D377; */ font-size: 27px;">
@ -86,10 +76,7 @@
<td width="15%" align="center" valign="middle" height="5%" style="padding: 6px;">床号 <td width="15%" align="center" valign="middle" height="5%" style="padding: 6px;">床号
</td> </td>
<td width="16%" align="center" valign="middle" height="5%" style="padding: 6px;">姓名 <td width="16%" align="center" valign="middle" height="5%" style="padding: 6px;">姓名
</td> </td>
<%-- <td width="24%" align="center" valign="middle" height="5%" style="padding: 6px;">
手术间
</td>--%>
<td width="24%" align="center" valign="middle" height="5%" style="padding: 6px;">状态 <td width="24%" align="center" valign="middle" height="5%" style="padding: 6px;">状态
</td> </td>
</tr> </tr>
@ -118,79 +105,8 @@
<script language="javascript"> <script language="javascript">
SetupTip(); SetupTip();
</script> </script>
</body> </body>
<script type="text/javascript"> <script type="text/javascript">
////document上绑定自定义事件ondataavailable
//document.addEventListener('ondataavailable', function (event) {
// //alert(event.eventType);
//}, false);
//var obj = document.getElementById("wert");
////obj元素上绑定click事件
//obj.addEventListener('click', function (event) {
// //alert(event.eventType);
//}, false);
////调用document对象的 createEvent 方法得到一个event的对象实例。
//var event = document.createEvent('HTMLEvents');
//// initEvent接受3个参数
//// 事件类型,是否冒泡,是否阻止浏览器的默认行为
//event.initEvent("ondataavailable", true, true);
//event.eventType = 'message';
////触发document上绑定的自定义事件ondataavailable
//document.dispatchEvent(event);
//var event1 = document.createEvent('HTMLEvents');
//event1.initEvent("click", true, true);
////event1.eventType = 'message';
////触发obj元素上绑定click事件
//document.getElementById("test").onclick = function () {
// obj.dispatchEvent(event1);
//};
///打开或关闭文件
function GetClickOpenFile(fileName, isClose) {
$("#officeId").attr("onclick", "OpenDoc(1," + isClose + ",'" + fileName + "')");
$.ajax({
type: "POST",
url: "RelationsWaitingAreaBigScreenSYDHandler.ashx?cmd=GetOpenFile",
dataType: 'json',
async: false,
success: function (result) {
}
});
}
</script>
<script type="text/javascript">
//function mousePosition(ev) {
// if (ev.pageX || ev.pageY) {
// return { x: ev.pageX, y: ev.pageY };
// }
// return {
// x: ev.clientX + document.body.scrollLeft - document.body.clientLeft,
// y: ev.clientY + document.body.scrollTop - document.body.clientTop
// };
//}
//function mouseMove(ev) {
// ev = ev || window.event;
// var mousePos = mousePosition(ev);
// document.getElementById('xxx').value = mousePos.x;
// document.getElementById('yyy').value = mousePos.y;
// //mousePos.y = 5000;
// //document.getElementById('yyy').value = mousePos.y;
// $("#xxx").focus();
// document.getElementById('yyy').value = mousePos.y;
//}
///*onmousemove事件委托在document对象上调用mouseMove函数*/
//document.onmousemove = mouseMove;
</script>
<script type="text/javascript">
// 新式注入
//CefSharp.BindObjectAsync("jsObj");
var messId = 0; var messId = 0;
var sendType = ""; var sendType = "";
@ -207,51 +123,13 @@
} }
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: "RelationsWaitingAreaBigScreenSYDHandler.ashx?cmd=GetHtml&WorkerCurrentPage=" + WorkerCurrentPage, url: "WaitingHandler.ashx?cmd=GetHtml&WorkerCurrentPage=" + WorkerCurrentPage,
dataType: 'json', dataType: 'json',
async: false, async: false,
success: function (result) { success: function (result) {
var data = eval(result); var data = eval(result);
if (data.success) { if (data.success) {
tbodyobj.innerHTML = data.html; tbodyobj.innerHTML = data.html;
if (data.systemType == "1") {
//location.href = "https://www.baidu.com";//重症大屏地址
}
if (data.sendType == "0") {
if (typeof jsObj == "undefined") {
//html
if (sendType == "1") {
GetClickOpenFile('测试关闭.docx', 0);
}
$("#Mytbody1 marquee").html(data.msg);
} else {
//winform
jsObj.bbb("WindowLoad", "", "");
jsObj.bbb("SendNotice", data.msg.toString(), data.messId.toString());
$("#Mytbody1 marquee").html(data.msg);
}
} else {
$("#Mytbody1 marquee").html("");
if (data.sendType == "1") {
if (sendType != data.sendType) {
if (typeof jsObj == "undefined") {
//html
GetClickOpenFile(data.msg, 1);
} else {
//winform
jsObj.bbb("SendFile", data.msg.toString(), data.messId.toString());
}
} else if (messId != data.messId) {//如果不是同一消息,则打开文件
if (typeof jsObj == "undefined") {
//html
GetClickOpenFile(data.msg, 1);
} else {
//winform
jsObj.bbb("SendFile", data.msg.toString(), data.messId.toString());
}
}
}
}
sendType = data.sendType; sendType = data.sendType;
messId = data.messId; messId = data.messId;
@ -299,15 +177,13 @@
$(function () { $(function () {
var _timestamp var _timestamp
//setInterval("$('#currentHour').text(new Date(_timestamp).format('hh:mm:ss'));",1000);
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: "OpeRoomPlanNoticeHandler.ashx?cmd=GetHtmlTime", url: "RoomHandler.ashx?cmd=GetHtmlTime",
async: false, async: false,
success: function (result) { success: function (result) {
_timestamp = Date.parse(result); _timestamp = Date.parse(result);
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek());// EEE $("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek());
//_timestamp = _timestamp.toString().match(/^\d$/) ? _timestamp : new Date().getTime();
setInterval(function () { setInterval(function () {
$("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek()); $("#currentTime").text(new Date(_timestamp).format("yyyy年MM月dd日") + " " + GetWeek());
_timestamp += 1000; _timestamp += 1000;
@ -366,14 +242,6 @@
if (style != "") { if (style != "") {
$("#marquee").css("font-style", style); $("#marquee").css("font-style", style);
} }
} }
</script>
<script language="javascript" type="text/javascript">
function OpenDoc(flag, isClose, filename) {
var strPath = 'WebOffice.aspx?fileid=' + flag + '&close=' + isClose + "&filename=" + escape(filename); //fileid为文件编号
//console.log(strPath);
ShowPage(strRoot, strPath);
}
</script> </script>
</html> </html>

View File

@ -7,7 +7,7 @@ using System.Web.UI.WebControls;
namespace BeginScreen namespace BeginScreen
{ {
public partial class OpeRoomPlanNotice : System.Web.UI.Page public partial class Wait : System.Web.UI.Page
{ {
protected void Page_Load(object sender, EventArgs e) protected void Page_Load(object sender, EventArgs e)
{ {

View File

@ -7,11 +7,13 @@
// </自动生成> // </自动生成>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
namespace BeginScreen { namespace BeginScreen
{
public partial class RelationsWaitingAreaBigScreen {
public partial class Wait
{
/// <summary> /// <summary>
/// Head1 控件。 /// Head1 控件。
/// </summary> /// </summary>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<main>
<currentPage>1</currentPage>
<!--是否隐藏姓名 空不隐藏-->
<PatientName>*</PatientName>
<!--结束显示时间-->
<OpeTime>5</OpeTime>
<!--显示科室-->
<DeptId>30</DeptId>
<!--字休-->
<fontFamily>楷体</fontFamily>
</main>

View File

@ -0,0 +1 @@
<%@ WebHandler Language="C#" CodeBehind="WaitingHandler.ashx.cs" Class="BeginScreen.WaitingHandler" %>

View File

@ -9,9 +9,9 @@ using System.Web.Script.Serialization;
namespace BeginScreen namespace BeginScreen
{ {
/// <summary> /// <summary>
/// RelationsWaitingAreaBigScreenHandler 的摘要说明 /// WaitingHandler 的摘要说明
/// </summary> /// </summary>
public class RelationsWaitingAreaBigScreenHandler : Handler1 public class WaitingHandler : HandlerBase
{ {
static int glop = 1; static int glop = 1;
@ -31,10 +31,6 @@ namespace BeginScreen
public static XElement xmlOpe = null; public static XElement xmlOpe = null;
private string fontSize = "27px"; private string fontSize = "27px";
private string fontFamily = "黑体"; private string fontFamily = "黑体";
private string bodyBgColor = "#000000";
private string titleBgColor = "#62D377";
private string titleColBgColor = "#2D9131";
private string bottomBgColor = "#2D9131";
private string rowOddBgColor = "#000000"; private string rowOddBgColor = "#000000";
private string rowEvenBgColor = "#000000"; private string rowEvenBgColor = "#000000";
private string opeBeforColor = "DodgerBlue"; private string opeBeforColor = "DodgerBlue";
@ -50,19 +46,21 @@ namespace BeginScreen
#endregion #endregion
private string body = ""; private string body = "";
private string messageStr = "";
private string systemType = "";
private string sendType = "";
private int messId = 0;
private static void InitConfig() private static void InitConfig()
{ {
#region #region
string baseDirectory = AppDomain.CurrentDomain.BaseDirectory + "ConfigBigScreen.xml"; string baseDirectory = AppDomain.CurrentDomain.BaseDirectory + "WaitConfig.xml";
xmlOpe = XElement.Load(baseDirectory); xmlOpe = XElement.Load(baseDirectory);
#endregion #endregion
} }
public string GetHtml(HttpContext context) public string GetHtml(HttpContext context)
{ {
//try
//{
//设置显示信息的开始和结束时间 //设置显示信息的开始和结束时间
InitConfig(); InitConfig();
SetViewTime(); SetViewTime();
@ -71,7 +69,8 @@ namespace BeginScreen
OpeTime = xmlOpe.Element("OpeTime").Value; OpeTime = xmlOpe.Element("OpeTime").Value;
DeptId = xmlOpe.Element("DeptId").Value; DeptId = xmlOpe.Element("DeptId").Value;
DataTable dt = new DataTable(); DataTable dt = new DataTable();
dt = PublicMethod.GetPlanNoticeNew1(_beginDate, _endDate, OpeTime == "" ? "5" : OpeTime, DeptId); dt = PublicMethod.GetPlanNoticeNew1(_beginDate, _endDate, OpeTime == "" ? "5" : OpeTime, DeptId);
dts = dt; dts = dt;
//总记录数 //总记录数
dSum = dts.Rows.Count; dSum = dts.Rows.Count;
@ -82,14 +81,27 @@ namespace BeginScreen
LoadWaitNurseOpe(Convert.ToInt32(HttpContext.Current.Request["WorkerCurrentPage"])); LoadWaitNurseOpe(Convert.ToInt32(HttpContext.Current.Request["WorkerCurrentPage"]));
} }
JavaScriptSerializer jss = new JavaScriptSerializer(); JavaScriptSerializer jss = new JavaScriptSerializer();
message msg = new message(true, body, countPage.ToString(), ""); message1 msg = new message1(true, body, messageStr, systemType, sendType, messId, countPage.ToString(), "");
context.Response.Write(jss.Serialize(msg));//返回给前台页面 context.Response.Write(jss.Serialize(msg));//返回给前台页面
context.Response.End(); context.Response.End();
return body; return body;
} }
public void GetOpenFile(HttpContext context)
{
context.Response.Write("");//返回给前台页面
context.Response.End();
}
public string GetOpenFile1(HttpContext context)
{
string fileid = HttpContext.Current.Request["fileid"];
context.Response.Write(context.Application[fileid]);//返回给前台页面
context.Response.End();
return "1";
}
#region //计算总页数 #region //计算总页数
public int GetPageCount() public int GetPageCount()
@ -113,25 +125,20 @@ namespace BeginScreen
{ {
//每次去查询时要更新一下记录总数RecondSum,每一页显示的记录数为PageSum , //每次去查询时要更新一下记录总数RecondSum,每一页显示的记录数为PageSum ,
body = ""; body = "";
messageStr = "";
///创建表 systemType = "";
//CreateTable(); sendType = "";
//创建表头
//insertTitle();
///创建列名
curPage -= 1; curPage -= 1;
startRecond = curPage * PageSum; startRecond = curPage * PageSum;
endRecond = startRecond + PageSum; endRecond = startRecond + PageSum;
try
string tdRows = "";
for (int i = startRecond; i < endRecond; i++)
{ {
//状态vchrOpeStatus 手术间vchrOperatingRoomName 时间BeginTime 姓名vchrPatientName try
//手术名称vchrOperationName术者 麻醉者 器械 巡回
string tdRows = "";
for (int i = startRecond; i < endRecond; i++)
{ {
string tdRow = "<tr>"; string tdRow = "<tr>";
#region
if (i >= dSum) if (i >= dSum)
{ {
tdRow += "<td colspan='9'> </td>"; tdRow += "<td colspan='9'> </td>";
@ -140,7 +147,7 @@ namespace BeginScreen
{ {
string intApplyID = dts.Rows[i]["ApplyId"].ToString(); string intApplyID = dts.Rows[i]["ApplyId"].ToString();
string OperationRoom = dts.Rows[i]["OperationRoom"].ToString(); string OperationRoom = dts.Rows[i]["OperationRoom"].ToString();
string vchrOpeStatus = dts.Rows[i]["State"].ToString();//PublicMethod.GetOpeStatus(dts.Rows[i]); string vchrOpeStatus = dts.Rows[i]["State"].ToString();
if (vchrOpeStatus == "") continue; if (vchrOpeStatus == "") continue;
@ -161,33 +168,28 @@ namespace BeginScreen
rowStyle += " color:" + defaultColor + ";'"; rowStyle += " color:" + defaultColor + ";'";
break; break;
case "手术准备": case "手术准备":
rowStyle += " color:" + opeBeforColor + ";'"; //2 rowStyle += " color:" + defaultColor + ";'";
break; break;
case "手术进行中": case "手术进行中":
rowStyle += " color:" + opeInColor + ";'"; //3 rowStyle += " color:" + defaultColor + ";'";
break; break;
case "术后恢复": case "术后恢复":
rowStyle += " color:" + opeAfterColor + ";'"; //4 break;
break; case "手术结束转恢复室":
break;
case "手术结束安返病房":
break;
case "转入复苏室": case "转入复苏室":
//OperationRoom = dts.Rows[i]["PACUBed"].ToString();
rowStyle += " color:" + opeInColor1 + ";'"; //6
//OperationRoom = dts.Rows[i]["PACUBed"].ToString();
break; break;
case "离开复苏室": case "离开复苏室":
//OperationRoom = dts.Rows[i]["PACUBed"].ToString();
rowStyle += " color:" + opeAfterColor1 + ";'"; //57
break; break;
case "手术结束": case "手术结束":
rowStyle += " color:" + opeAfterColor1 + ";'"; //57 rowStyle += " color:" + defaultColor + ";'";
break; break;
default: default:
break; break;
} }
#endregion
//注释时间列改为从床号 LM
tdRow += "<td align='center' " + rowStyle + "></td>"; tdRow += "<td align='center' " + rowStyle + "></td>";
tdRow += "<td align='center' " + rowStyle + ">" + dts.Rows[i]["ApplyDepName"] + "</td>"; tdRow += "<td align='center' " + rowStyle + ">" + dts.Rows[i]["ApplyDepName"] + "</td>";
tdRow += "<td align='center' " + rowStyle + ">" + dts.Rows[i]["SickBed"] + "</td>"; tdRow += "<td align='center' " + rowStyle + ">" + dts.Rows[i]["SickBed"] + "</td>";
@ -202,51 +204,20 @@ namespace BeginScreen
PatientName = dts.Rows[i]["PatientName"].ToString().Substring(0, 1) + PatientNames + name; PatientName = dts.Rows[i]["PatientName"].ToString().Substring(0, 1) + PatientNames + name;
} }
tdRow += "<td align='center' " + rowStyle + ">&nbsp" + PatientName + "</td>"; tdRow += "<td align='center' " + rowStyle + ">&nbsp" + PatientName + "</td>";
//tdRow += "<td align='center' " + rowStyle + ">&nbsp" + OperationRoom + "</td>";
//tdRow += "<td align='center' " + rowStyle + ">&nbsp" + vchrFactBeginTime + " </td>";
tdRow += "<td align='center' " + rowStyle + ">" + vchrOpeStatus + "</td>"; tdRow += "<td align='center' " + rowStyle + ">" + vchrOpeStatus + "</td>";
} }
tdRow += "</tr>"; tdRow += "</tr>";
tdRows += tdRow; tdRows += tdRow;
} }
//显示备注等 catch (Exception)
viewRemark(); {
body += tdRows; }
//插入底部
insertBottom();
}
catch (Exception exp)
{
throw;
} }
//显示备注等
body += tdRows;
} }
/// <summary>
/// 显示备注
/// </summary>
private void viewRemark()
{
GetT_Inform();
}
/// <summary>
/// 获取通知档的内容
/// </summary>
private void GetT_Inform()
{
DeptId = xmlOpe.Element("DeptId").Value;
string messige = PublicMethod.getMessige(DeptId);
if (messige.Trim() == "") return;
//body += "<script language='javascript'> setInterval(someFunction, 20000);function someFunction() {window.location.reload();}</script>";
///原有
body += " <div style='position: absolute;top: 50%;left: 50%;width: 1000px;height: 50px;margin-top: -25px; margin-left:-500px; background-color:#000;font: bold 55px/57px Verdana, Geneva, sans-serif; '>";
body += "<marquee direction='left' scrollamount='12' style='font: bold 55px/57px Verdana, Geneva, sans-serif; color:#d808d6'>";
///酒泉
//body += " <div style='position: absolute;top: 4%;left: 50%;width: 1000px;height: 50px;margin-top: -25px; margin-left:-500px; background-color:#000;font: bold 55px/57px Verdana, Geneva, sans-serif; '>";
//body += "<marquee direction='left' scrolldelay=1000 scrollamount='450' style='font: bold 55px/57px Verdana, Geneva, sans-serif; color:#FF0000'>";
body += messige + " </marquee></div>";
}
private void SetViewTime() private void SetViewTime()
{ {
@ -254,74 +225,6 @@ namespace BeginScreen
_endDate = PublicMethod.ServerTime().Date.AddHours(23).AddMinutes(59).AddSeconds(59); _endDate = PublicMethod.ServerTime().Date.AddHours(23).AddMinutes(59).AddSeconds(59);
} }
#region
private void CreateTable()
{
//body += "<script language='javascript'> setInterval(someFunction, 10000);function someFunction() {window.location.reload();}</script>";
body += "<table border=0 width='100%' height='100%' cellpadding=0 cellspacing=0>";
body += "{title}";
body += "{columens}";
body += "{rows}";
body += "</table>";
}
/// <summary>
/// 定义列
/// </summary>
/// <param name="colNames"></param>
/// <param name="colWidths"></param>
private void insertCols(string[] colNames, string[] colWidths)
{
string colString = "";
string colContent = "";
colString += "<tr style='background:" + titleColBgColor + ";color:white;margin-bottom:6px;font-size:" +
fontSize + ";font-weight:bold;font-family:\"" + fontFamily + "\";'>{td}</tr>";
for (int i = 0; i < colNames.Length; i++)
{
colContent += "<td width = '" + colWidths[i] +
"' align='center' valign='middle' height='5%' style='padding:6px;'>" + colNames[i] +
"</td>";
}
colString = colString.Replace("{td}", colContent);
body = body.Replace("{columens}", colString);
}
/// <summary>
/// 插入表头
/// </summary>
private void insertTitle()
{
if (countPage == 0)
{
currentPage = 0;
}
string titleStr = "";
titleStr += "<tr style='background:black;color:white;margin-bottom:6px;font-size:40px;font-weight:bold;font-family:\"" + fontFamily + "\";'>";
titleStr += "<td colspan='9' align='center' valign='middle' height='10%' style='padding:6px;'>";
titleStr += "<DIV style='left:10px; top: 22px; position: absolute;color:" + titleBgColor + ";font-size:" + fontSize + ";'>" + WebConfigurationManager.AppSettings["BigScreenHospitalName"].ToString();
titleStr += "</DIV>今日手术<DIV style='right: 10px; top: 22px; position: absolute;color:" + titleBgColor + ";font-size:" + fontSize + ";'>" + PublicMethod.ServerTime().ToString("yyyy-MM-dd HH:mm") + "\n第" + currentPage + "屏/共" + countPage + "屏) </DIV></TD></tr>";
body = body.Replace("{title}", titleStr);
}
/// <summary>
/// 插入表底部
/// </summary>
private void insertBottom()
{
string bottomStr = "";
bottomStr += "<tr>";
bottomStr += "<td colspan='9' align='center' valign='middle' id='bottom1'></td>";
bottomStr += "</tr>";
//body = body.Replace("{Bootom}", bottomStr);
body += bottomStr;
}
#endregion
} }
} }

View File

@ -1,15 +1,10 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<configuration> <configuration>
<connectionStrings> <connectionStrings>
<add name="MindraySqlString" connectionString="Data Source=.;Initial Catalog=AIMSDB_SXTLYY;User ID=sa;Password=Test2020;MultipleActiveResultSets=true;" providerName="System.Data.SqlClient"/> <add name="MindraySqlString" connectionString="Data Source=.;Initial Catalog=AIMSDB_QHDSGRYY;User ID=sa;Password=sm123456;MultipleActiveResultSets=true;" providerName="System.Data.SqlClient"/>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
</connectionStrings> </connectionStrings>
<appSettings> <appSettings>
<add key="MSSQL" value="Data Source=192.168.10.47;Initial Catalog=AIMSDB_SXTLYY;User ID=sm;Password=ysyhl9t;MultipleActiveResultSets=true;"/> <add key="BigScreenHospitalName" value="秦皇岛市工人医院"/>
<add key="InsertionPumpClient" value="DeviceIntegration.Implement.InsertionPumpClient.WCFInsertionPumpClient"/>
<add key="MonitorClient" value="DeviceIntegration.Implement.MonitorClient.WCFMonitorClient"/>
<add key="AnaethesiaMachineClient" value="DeviceIntegration.Implement.AnaesthesiaMachine.WCFAnaesthesiaMachineClient"/>
<add key="BigScreenHospitalName" value="屯留县人民医院"/>
<!--设置等候区大屏手术结束后显示时间--> <!--设置等候区大屏手术结束后显示时间-->
<add key="OpeEndTime" value="15"/> <add key="OpeEndTime" value="15"/>
<!--设置手术室大屏手术结束后显示时间--> <!--设置手术室大屏手术结束后显示时间-->
@ -20,7 +15,6 @@
<add key="PatientDocumentFilePath" value="E:\\PatientDocumentFiles"/> <add key="PatientDocumentFilePath" value="E:\\PatientDocumentFiles"/>
</appSettings> </appSettings>
<system.web> <system.web>
<!--<globalization requestEncoding="gb2312" responseEncoding="gb2312" culture="zh-CN" fileEncoding="gb2312" /> -->
<compilation debug="true" targetFramework="4.0"/> <compilation debug="true" targetFramework="4.0"/>
<pages controlRenderingCompatibilityVersion="4.0"/> <pages controlRenderingCompatibilityVersion="4.0"/>
</system.web> </system.web>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 174 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB