using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Core.Mes.ClientFrameWork;
using Core.Mes.IBaseInterface;
using System.Data;

namespace Core.XgMes.Client.JGKC.TurnoffManager
{
	/// <summary>
	/// Frm_TurnoffCollect 的摘要说明。
	/// </summary>
	public class Frm_TurnoffCollect : Core.Mes.ClientFrameWork.FrmBase 
	{
		#region 变量
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
		private System.Windows.Forms.Panel panel1;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
		private Infragistics.Win.Misc.UltraLabel ultraLabel38;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_PEndTime;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_PBeginTime;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Ptime;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Condole;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Condole;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanID;
		private Infragistics.Win.Misc.UltraLabel Lab_To;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ShopSign;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProductLine;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOEnd;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOBegin;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BilletID;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BilletID;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ShopSign;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNum;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
		private Infragistics.Win.UltraWinGrid.UltraGrid gd_Turnoff;
		private System.Data.DataSet ds_All;
		private System.Data.DataTable DT_KCJ_TURNOFF;
		private System.Data.DataColumn dataColumn1;
		private System.Data.DataColumn dataColumn2;
		private System.Data.DataColumn dataColumn3;
		private System.Data.DataColumn dataColumn4;
		private System.Data.DataColumn dataColumn5;
		private System.Data.DataColumn dataColumn6;
		private System.Data.DataColumn dataColumn7;
		private System.Data.DataColumn dataColumn8;
		private System.Data.DataColumn dataColumn9;
		private System.Data.DataColumn dataColumn10;
		private System.Data.DataColumn dataColumn11;
		private System.Data.DataColumn dataColumn12;
		private System.Data.DataColumn dataColumn13;
		private System.Data.DataColumn dataColumn14;
		private System.Data.DataColumn dataColumn15;
		private System.Data.DataColumn dataColumn16;
		private System.Data.DataColumn dataColumn17;
		private System.Data.DataColumn dataColumn18;
		private System.Data.DataColumn dataColumn19;
		private System.Data.DataColumn dataColumn20;
		private System.Data.DataColumn dataColumn21;
		private System.Data.DataColumn dataColumn22;
		private System.Data.DataColumn dataColumn23;
		private System.Data.DataColumn dataColumn24;
		private System.Data.DataColumn dataColumn25;
		private System.Data.DataColumn dataColumn26;
		private System.Data.DataColumn dataColumn27;
		private System.Data.DataColumn dataColumn28;
		private System.Data.DataColumn dataColumn29;
		private System.Data.DataColumn dataColumn30;
		private System.Data.DataColumn dataColumn31;
		private System.Data.DataColumn dataColumn32;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProductLine;
		private System.ComponentModel.IContainer components;
		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;

		#endregion 

		private System.Data.DataColumn dataColumn33;
		private System.Windows.Forms.Panel panel2;
		private System.Windows.Forms.Panel panel3;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InMan;
		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Comments;
		private Infragistics.Win.Misc.UltraLabel ultraLabel19;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProductLineEdit;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_InTime;
		private Infragistics.Win.Misc.UltraLabel ultraLabel18;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress;
		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Routing;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_StoveNo;
		private Infragistics.Win.Misc.UltraLabel ultraLabel37;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_EndEnter;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_FaceQuality;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTopEdit;
		private Infragistics.Win.Misc.UltraLabel ultraLabel15;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BilletType;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassTeam;
		private Infragistics.Win.Misc.UltraLabel ultraLabel10;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOrder;
		private Infragistics.Win.Misc.UltraLabel ultraLabel14;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor Txt_FNum;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_DH;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor Txt_DHNum;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_DHDate;
		private Infragistics.Win.Misc.UltraLabel ultraLabel16;
		private Infragistics.Win.Misc.UltraLabel ultraLabel8;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_DecideResult;
		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClipType;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_SourceId;
		private Infragistics.Win.Misc.UltraLabel lab_YL;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BugReaSon;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Ply;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollEnd;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_MBilletID;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Roll;
		private Infragistics.Win.Misc.UltraLabel ultraLabel27;
		private Infragistics.Win.Misc.UltraLabel ultraLabel25;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNOEdit;
		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
		private Infragistics.Win.Misc.UltraLabel lab_cd;
		private Infragistics.Win.Misc.UltraLabel ultraLabel17;
		private Infragistics.Win.Misc.UltraLabel ultraLabel12;
		private Infragistics.Win.Misc.UltraLabel ultraLabel11;
		private Infragistics.Win.Misc.UltraLabel ultraLabel13;
		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
		private System.Data.DataSet ds_Coll;
		private System.Data.DataTable DT_KCJ_ZY_TASKDETAIL;
		private System.Data.DataColumn dataColumn36;
		private System.Data.DataColumn dataColumn37;
		private System.Data.DataColumn dataColumn40;
		private System.Data.DataColumn dataColumn41;
		private System.Data.DataColumn dataColumn43;
		private System.Data.DataColumn dataColumn38;
		private System.Data.DataColumn dataColumn39;
		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Coll;
		private Infragistics.Win.Misc.UltraLabel ultraLabel20;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Rule;
		private System.Data.DataColumn dataColumn34;
		private Infragistics.Win.Misc.UltraLabel ultraLabel21;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ReMark;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InSteel;
		private System.Data.DataColumn dataColumn35;
		private System.Data.DataColumn dataColumn42;
		private System.Data.DataColumn dataColumn44;


		private string strCreateTime = "";

		public Frm_TurnoffCollect()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
            this.components = new System.ComponentModel.Container();
            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECORD");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCELRECORD");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCEL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFUBISH");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCELRECORD");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCEL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECORD");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFUBISH");
            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ_ZY_TASKDETAIL", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PROCESS_LINE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLY");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTCARDNUMBER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "BILLETID", 0, true, "KCJ_ZY_TASKDETAIL", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "WEIGHT", 6, true, "KCJ_ZY_TASKDETAIL", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ_TURNOFF", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CONDOLENUMBER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PRODUCTLINE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROLLNUMBER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTEEL");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLY");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("THEORYWEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("RULE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETTYP");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FACEQUALITY");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUGREASON");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTCARDNUMBER");
            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ATTESTATIONRESULT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ATTESTATIONORGAN");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETWEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLIPTYPEPROCESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SOURCEID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSPECTIONID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACREAGE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROUTING");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SCID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INBUTTRESSTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YPLANNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YORDERNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CL");
            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "BILLETID", 2, true, "KCJ_TURNOFF", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "THEORYWEIGHT", 10, true, "KCJ_TURNOFF", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACREAGE", 25, true, "KCJ_TURNOFF", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
            Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance64 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance65 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance66 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance67 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance68 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance69 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance70 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance71 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance72 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance73 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance74 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance75 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance76 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance77 = new Infragistics.Win.Appearance();
            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
            this.panel1 = new System.Windows.Forms.Panel();
            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
            this.cmb_ProductLine = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel38 = new Infragistics.Win.Misc.UltraLabel();
            this.dte_PEndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.dte_PBeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.chk_Ptime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_Condole = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_Condole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_PlanID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.cmb_ShopSign = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.chk_ProductLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_RollNOEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_RollNOBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_BilletID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_BilletID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chk_ShopSign = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chk_RollNum = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
            this.panel3 = new System.Windows.Forms.Panel();
            this.gb_Coll = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.DT_KCJ_ZY_TASKDETAIL = new System.Data.DataTable();
            this.dataColumn36 = new System.Data.DataColumn();
            this.dataColumn37 = new System.Data.DataColumn();
            this.dataColumn40 = new System.Data.DataColumn();
            this.dataColumn41 = new System.Data.DataColumn();
            this.dataColumn43 = new System.Data.DataColumn();
            this.dataColumn38 = new System.Data.DataColumn();
            this.dataColumn39 = new System.Data.DataColumn();
            this.dataColumn34 = new System.Data.DataColumn();
            this.panel2 = new System.Windows.Forms.Panel();
            this.cmb_InSteel = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.txt_ReMark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel21 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_Rule = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_InMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_Comments = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
            this.dte_InTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_Routing = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.txt_StoveNo = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel37 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_EndEnter = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.cmb_FaceQuality = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.txt_RollTopEdit = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_BilletType = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
            this.Txt_FNum = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.Txt_DH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.Txt_DHNum = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.Txt_DHDate = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_DecideResult = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_ClipType = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.txt_SourceId = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.lab_YL = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_BugReaSon = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.txt_Ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.txt_RollEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_MBilletID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_Roll = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel27 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_OrderNOEdit = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
            this.lab_cd = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_ProductLineEdit = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
            this.gd_Turnoff = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.DT_KCJ_TURNOFF = new System.Data.DataTable();
            this.dataColumn1 = new System.Data.DataColumn();
            this.dataColumn2 = new System.Data.DataColumn();
            this.dataColumn3 = new System.Data.DataColumn();
            this.dataColumn4 = new System.Data.DataColumn();
            this.dataColumn5 = new System.Data.DataColumn();
            this.dataColumn6 = new System.Data.DataColumn();
            this.dataColumn7 = new System.Data.DataColumn();
            this.dataColumn8 = new System.Data.DataColumn();
            this.dataColumn9 = new System.Data.DataColumn();
            this.dataColumn10 = new System.Data.DataColumn();
            this.dataColumn11 = new System.Data.DataColumn();
            this.dataColumn12 = new System.Data.DataColumn();
            this.dataColumn13 = new System.Data.DataColumn();
            this.dataColumn14 = new System.Data.DataColumn();
            this.dataColumn15 = new System.Data.DataColumn();
            this.dataColumn16 = new System.Data.DataColumn();
            this.dataColumn17 = new System.Data.DataColumn();
            this.dataColumn18 = new System.Data.DataColumn();
            this.dataColumn19 = new System.Data.DataColumn();
            this.dataColumn20 = new System.Data.DataColumn();
            this.dataColumn21 = new System.Data.DataColumn();
            this.dataColumn22 = new System.Data.DataColumn();
            this.dataColumn23 = new System.Data.DataColumn();
            this.dataColumn24 = new System.Data.DataColumn();
            this.dataColumn25 = new System.Data.DataColumn();
            this.dataColumn26 = new System.Data.DataColumn();
            this.dataColumn27 = new System.Data.DataColumn();
            this.dataColumn28 = new System.Data.DataColumn();
            this.dataColumn29 = new System.Data.DataColumn();
            this.dataColumn30 = new System.Data.DataColumn();
            this.dataColumn31 = new System.Data.DataColumn();
            this.dataColumn32 = new System.Data.DataColumn();
            this.dataColumn33 = new System.Data.DataColumn();
            this.dataColumn35 = new System.Data.DataColumn();
            this.dataColumn42 = new System.Data.DataColumn();
            this.dataColumn44 = new System.Data.DataColumn();
            this.ds_All = new System.Data.DataSet();
            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
            this.ds_Coll = new System.Data.DataSet();
            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
            this.ultraGroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_PEndTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_PBeginTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Condole)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ShopSign)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_BilletID)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
            this.ultraExpandableGroupBox1.SuspendLayout();
            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
            this.panel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gb_Coll)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_ZY_TASKDETAIL)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_InSteel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ReMark)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Rule)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Comments)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_InTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Routing)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_StoveNo)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_EndEnter)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_FaceQuality)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTopEdit)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_BilletType)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_FNum)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_DH)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHNum)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHDate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_DecideResult)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClipType)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_SourceId)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_MBilletID)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Roll)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNOEdit)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLineEdit)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
            this.ultraGroupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gd_Turnoff)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_TURNOFF)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ds_All)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ds_Coll)).BeginInit();
            this.SuspendLayout();
            // 
            // ultraToolbarsManager1
            // 
            this.ultraToolbarsManager1.DesignerFlags = 1;
            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
            ultraToolbar1.DockedColumn = 0;
            ultraToolbar1.DockedRow = 0;
            ultraToolbar1.Text = "工具栏";
            buttonTool1.InstanceProps.IsFirstInGroup = true;
            buttonTool2.InstanceProps.IsFirstInGroup = true;
            buttonTool4.InstanceProps.IsFirstInGroup = true;
            buttonTool5.InstanceProps.IsFirstInGroup = true;
            buttonTool6.InstanceProps.IsFirstInGroup = true;
            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool1,
            buttonTool2,
            buttonTool3,
            buttonTool4,
            buttonTool5,
            buttonTool6});
            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
            ultraToolbar1});
            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
            buttonTool7.SharedProps.Caption = "关闭";
            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool8.SharedProps.Caption = "查询";
            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool9.SharedProps.Caption = "撤销登记";
            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool10.SharedProps.Caption = "导出";
            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool11.SharedProps.Caption = "登记";
            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool12.SharedProps.Caption = "成品收集槽刷新";
            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool7,
            buttonTool8,
            buttonTool9,
            buttonTool10,
            buttonTool11,
            buttonTool12});
            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
            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(1176, 32);
            this.panel1.TabIndex = 4;
            // 
            // _panel1_Toolbars_Dock_Area_Left
            // 
            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 52);
            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // _panel1_Toolbars_Dock_Area_Right
            // 
            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1176, 52);
            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // _panel1_Toolbars_Dock_Area_Top
            // 
            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1176, 52);
            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // _panel1_Toolbars_Dock_Area_Bottom
            // 
            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1176, 0);
            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // ultraGroupBox1
            // 
            this.ultraGroupBox1.Controls.Add(this.cmb_ProductLine);
            this.ultraGroupBox1.Controls.Add(this.ultraLabel38);
            this.ultraGroupBox1.Controls.Add(this.dte_PEndTime);
            this.ultraGroupBox1.Controls.Add(this.dte_PBeginTime);
            this.ultraGroupBox1.Controls.Add(this.chk_Ptime);
            this.ultraGroupBox1.Controls.Add(this.txt_Condole);
            this.ultraGroupBox1.Controls.Add(this.chk_Condole);
            this.ultraGroupBox1.Controls.Add(this.txt_RollTop);
            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
            this.ultraGroupBox1.Controls.Add(this.chk_PlanID);
            this.ultraGroupBox1.Controls.Add(this.Lab_To);
            this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
            this.ultraGroupBox1.Controls.Add(this.cmb_ShopSign);
            this.ultraGroupBox1.Controls.Add(this.chk_ProductLine);
            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
            this.ultraGroupBox1.Controls.Add(this.ultraLabel5);
            this.ultraGroupBox1.Controls.Add(this.txt_RollNOEnd);
            this.ultraGroupBox1.Controls.Add(this.txt_RollNOBegin);
            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
            this.ultraGroupBox1.Controls.Add(this.txt_BilletID);
            this.ultraGroupBox1.Controls.Add(this.chk_BilletID);
            this.ultraGroupBox1.Controls.Add(this.chk_ShopSign);
            this.ultraGroupBox1.Controls.Add(this.chk_RollNum);
            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
            this.ultraGroupBox1.Name = "ultraGroupBox1";
            this.ultraGroupBox1.Size = new System.Drawing.Size(1176, 84);
            this.ultraGroupBox1.SupportThemes = false;
            this.ultraGroupBox1.TabIndex = 5;
            // 
            // cmb_ProductLine
            // 
            appearance1.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_ProductLine.Appearance = appearance1;
            this.cmb_ProductLine.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_ProductLine.DisplayMember = "";
            this.cmb_ProductLine.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_ProductLine.Enabled = false;
            this.cmb_ProductLine.Location = new System.Drawing.Point(72, 54);
            this.cmb_ProductLine.Name = "cmb_ProductLine";
            this.cmb_ProductLine.Size = new System.Drawing.Size(104, 21);
            this.cmb_ProductLine.TabIndex = 186;
            this.cmb_ProductLine.TabStop = false;
            this.cmb_ProductLine.ValueMember = "";
            this.cmb_ProductLine.RowSelected += new Infragistics.Win.UltraWinGrid.RowSelectedEventHandler(this.cmb_ProductLine_RowSelected);
            // 
            // ultraLabel38
            // 
            this.ultraLabel38.FlatMode = true;
            this.ultraLabel38.Location = new System.Drawing.Point(208, 31);
            this.ultraLabel38.Name = "ultraLabel38";
            this.ultraLabel38.Size = new System.Drawing.Size(11, 14);
            this.ultraLabel38.TabIndex = 185;
            this.ultraLabel38.Text = "-";
            // 
            // dte_PEndTime
            // 
            appearance2.BackColor = System.Drawing.Color.LightCyan;
            this.dte_PEndTime.Appearance = appearance2;
            this.dte_PEndTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
            this.dte_PEndTime.Enabled = false;
            this.dte_PEndTime.FlatMode = true;
            this.dte_PEndTime.Location = new System.Drawing.Point(220, 30);
            this.dte_PEndTime.MaskInput = "{date} {time}";
            this.dte_PEndTime.Name = "dte_PEndTime";
            this.dte_PEndTime.Size = new System.Drawing.Size(116, 19);
            this.dte_PEndTime.TabIndex = 184;
            this.dte_PEndTime.TabStop = false;
            this.dte_PEndTime.Tag = "";
            this.dte_PEndTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
            // 
            // dte_PBeginTime
            // 
            appearance3.BackColor = System.Drawing.Color.LightCyan;
            this.dte_PBeginTime.Appearance = appearance3;
            this.dte_PBeginTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
            this.dte_PBeginTime.Enabled = false;
            this.dte_PBeginTime.FlatMode = true;
            this.dte_PBeginTime.Location = new System.Drawing.Point(88, 30);
            this.dte_PBeginTime.MaskInput = "{date} {time}";
            this.dte_PBeginTime.Name = "dte_PBeginTime";
            this.dte_PBeginTime.Size = new System.Drawing.Size(116, 19);
            this.dte_PBeginTime.TabIndex = 183;
            this.dte_PBeginTime.TabStop = false;
            this.dte_PBeginTime.Tag = "";
            this.dte_PBeginTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
            // 
            // chk_Ptime
            // 
            this.chk_Ptime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
            this.chk_Ptime.Location = new System.Drawing.Point(16, 32);
            this.chk_Ptime.Name = "chk_Ptime";
            this.chk_Ptime.Size = new System.Drawing.Size(72, 16);
            this.chk_Ptime.TabIndex = 182;
            this.chk_Ptime.TabStop = false;
            this.chk_Ptime.Text = "生产时间";
            this.chk_Ptime.CheckedChanged += new System.EventHandler(this.chk_Ptime_CheckedChanged);
            // 
            // txt_Condole
            // 
            appearance4.BackColor = System.Drawing.Color.LightCyan;
            this.txt_Condole.Appearance = appearance4;
            this.txt_Condole.AutoSize = true;
            this.txt_Condole.Enabled = false;
            this.txt_Condole.FlatMode = true;
            this.txt_Condole.Location = new System.Drawing.Point(592, 30);
            this.txt_Condole.Name = "txt_Condole";
            this.txt_Condole.Size = new System.Drawing.Size(200, 19);
            this.txt_Condole.TabIndex = 181;
            this.txt_Condole.TabStop = false;
            this.txt_Condole.Tag = "A.CONDOLENUMBER#S#7|:LISN";
            // 
            // chk_Condole
            // 
            this.chk_Condole.FlatMode = true;
            this.chk_Condole.Location = new System.Drawing.Point(536, 32);
            this.chk_Condole.Name = "chk_Condole";
            this.chk_Condole.Size = new System.Drawing.Size(48, 16);
            this.chk_Condole.TabIndex = 180;
            this.chk_Condole.TabStop = false;
            this.chk_Condole.Text = "吊号";
            this.chk_Condole.CheckedChanged += new System.EventHandler(this.chk_Condole_CheckedChanged);
            // 
            // txt_RollTop
            // 
            appearance5.BackColor = System.Drawing.Color.LightCyan;
            this.txt_RollTop.Appearance = appearance5;
            this.txt_RollTop.AutoSize = true;
            this.txt_RollTop.Enabled = false;
            this.txt_RollTop.FlatMode = true;
            this.txt_RollTop.Location = new System.Drawing.Point(798, 10);
            this.txt_RollTop.MaxLength = 5;
            this.txt_RollTop.Name = "txt_RollTop";
            this.txt_RollTop.Size = new System.Drawing.Size(40, 19);
            this.txt_RollTop.TabIndex = 178;
            this.txt_RollTop.TabStop = false;
            this.txt_RollTop.Visible = false;
            // 
            // txt_PlanID
            // 
            appearance6.BackColor = System.Drawing.Color.LightCyan;
            this.txt_PlanID.Appearance = appearance6;
            this.txt_PlanID.AutoSize = true;
            this.txt_PlanID.Enabled = false;
            this.txt_PlanID.FlatMode = true;
            this.txt_PlanID.Location = new System.Drawing.Point(408, 30);
            this.txt_PlanID.Name = "txt_PlanID";
            this.txt_PlanID.Size = new System.Drawing.Size(120, 19);
            this.txt_PlanID.TabIndex = 177;
            this.txt_PlanID.TabStop = false;
            this.txt_PlanID.Tag = "";
            // 
            // chk_PlanID
            // 
            this.chk_PlanID.Location = new System.Drawing.Point(344, 32);
            this.chk_PlanID.Name = "chk_PlanID";
            this.chk_PlanID.Size = new System.Drawing.Size(60, 16);
            this.chk_PlanID.TabIndex = 176;
            this.chk_PlanID.TabStop = false;
            this.chk_PlanID.Text = "计划号";
            this.chk_PlanID.CheckedChanged += new System.EventHandler(this.chk_PlanID_CheckedChanged);
            // 
            // Lab_To
            // 
            this.Lab_To.FlatMode = true;
            this.Lab_To.Location = new System.Drawing.Point(208, 7);
            this.Lab_To.Name = "Lab_To";
            this.Lab_To.Size = new System.Drawing.Size(11, 14);
            this.Lab_To.TabIndex = 175;
            this.Lab_To.Text = "-";
            // 
            // chk_CollectTime
            // 
            this.chk_CollectTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
            this.chk_CollectTime.Location = new System.Drawing.Point(16, 9);
            this.chk_CollectTime.Name = "chk_CollectTime";
            this.chk_CollectTime.Size = new System.Drawing.Size(72, 16);
            this.chk_CollectTime.TabIndex = 174;
            this.chk_CollectTime.TabStop = false;
            this.chk_CollectTime.Text = "入库时间";
            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
            // 
            // cmb_ShopSign
            // 
            appearance7.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_ShopSign.Appearance = appearance7;
            this.cmb_ShopSign.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_ShopSign.DisplayMember = "";
            this.cmb_ShopSign.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_ShopSign.Enabled = false;
            this.cmb_ShopSign.Location = new System.Drawing.Point(232, 54);
            this.cmb_ShopSign.Name = "cmb_ShopSign";
            this.cmb_ShopSign.Size = new System.Drawing.Size(104, 21);
            this.cmb_ShopSign.TabIndex = 173;
            this.cmb_ShopSign.TabStop = false;
            this.cmb_ShopSign.ValueMember = "";
            // 
            // chk_ProductLine
            // 
            this.chk_ProductLine.Location = new System.Drawing.Point(16, 53);
            this.chk_ProductLine.Name = "chk_ProductLine";
            this.chk_ProductLine.Size = new System.Drawing.Size(48, 20);
            this.chk_ProductLine.TabIndex = 171;
            this.chk_ProductLine.TabStop = false;
            this.chk_ProductLine.Text = "产线";
            this.chk_ProductLine.CheckedChanged += new System.EventHandler(this.chk_ProductLine_CheckedChanged);
            // 
            // chk_AllowFilter
            // 
            this.chk_AllowFilter.Location = new System.Drawing.Point(536, 54);
            this.chk_AllowFilter.Name = "chk_AllowFilter";
            this.chk_AllowFilter.Size = new System.Drawing.Size(50, 20);
            this.chk_AllowFilter.TabIndex = 170;
            this.chk_AllowFilter.TabStop = false;
            this.chk_AllowFilter.Text = "过滤";
            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
            // 
            // ultraLabel5
            // 
            this.ultraLabel5.Location = new System.Drawing.Point(708, 10);
            this.ultraLabel5.Name = "ultraLabel5";
            this.ultraLabel5.Size = new System.Drawing.Size(17, 16);
            this.ultraLabel5.TabIndex = 169;
            this.ultraLabel5.Text = "至";
            this.ultraLabel5.Visible = false;
            // 
            // txt_RollNOEnd
            // 
            appearance8.BackColor = System.Drawing.Color.LightCyan;
            this.txt_RollNOEnd.Appearance = appearance8;
            this.txt_RollNOEnd.AutoSize = true;
            this.txt_RollNOEnd.Enabled = false;
            this.txt_RollNOEnd.FlatMode = true;
            this.txt_RollNOEnd.Location = new System.Drawing.Point(728, 7);
            this.txt_RollNOEnd.MaxLength = 5;
            this.txt_RollNOEnd.Name = "txt_RollNOEnd";
            this.txt_RollNOEnd.Size = new System.Drawing.Size(64, 19);
            this.txt_RollNOEnd.TabIndex = 168;
            this.txt_RollNOEnd.TabStop = false;
            this.txt_RollNOEnd.Visible = false;
            // 
            // txt_RollNOBegin
            // 
            appearance9.BackColor = System.Drawing.Color.LightCyan;
            this.txt_RollNOBegin.Appearance = appearance9;
            this.txt_RollNOBegin.AutoSize = true;
            this.txt_RollNOBegin.Enabled = false;
            this.txt_RollNOBegin.FlatMode = true;
            this.txt_RollNOBegin.Location = new System.Drawing.Point(592, 5);
            this.txt_RollNOBegin.MaxLength = 5;
            this.txt_RollNOBegin.Name = "txt_RollNOBegin";
            this.txt_RollNOBegin.Size = new System.Drawing.Size(200, 19);
            this.txt_RollNOBegin.TabIndex = 167;
            this.txt_RollNOBegin.TabStop = false;
            // 
            // txt_OrderNO
            // 
            appearance10.BackColor = System.Drawing.Color.LightCyan;
            this.txt_OrderNO.Appearance = appearance10;
            this.txt_OrderNO.AutoSize = true;
            this.txt_OrderNO.Enabled = false;
            this.txt_OrderNO.FlatMode = true;
            this.txt_OrderNO.Location = new System.Drawing.Point(408, 7);
            this.txt_OrderNO.Name = "txt_OrderNO";
            this.txt_OrderNO.Size = new System.Drawing.Size(120, 19);
            this.txt_OrderNO.TabIndex = 166;
            this.txt_OrderNO.TabStop = false;
            this.txt_OrderNO.Tag = "";
            // 
            // txt_BilletID
            // 
            appearance11.BackColor = System.Drawing.Color.LightCyan;
            this.txt_BilletID.Appearance = appearance11;
            this.txt_BilletID.AutoSize = true;
            this.txt_BilletID.Enabled = false;
            this.txt_BilletID.FlatMode = true;
            this.txt_BilletID.Location = new System.Drawing.Point(408, 54);
            this.txt_BilletID.Name = "txt_BilletID";
            this.txt_BilletID.Size = new System.Drawing.Size(120, 19);
            this.txt_BilletID.TabIndex = 165;
            this.txt_BilletID.TabStop = false;
            this.txt_BilletID.Tag = "";
            // 
            // chk_BilletID
            // 
            this.chk_BilletID.Location = new System.Drawing.Point(344, 57);
            this.chk_BilletID.Name = "chk_BilletID";
            this.chk_BilletID.Size = new System.Drawing.Size(48, 16);
            this.chk_BilletID.TabIndex = 164;
            this.chk_BilletID.TabStop = false;
            this.chk_BilletID.Text = "序号";
            this.chk_BilletID.CheckedChanged += new System.EventHandler(this.chk_BilletID_CheckedChanged);
            // 
            // chk_ShopSign
            // 
            this.chk_ShopSign.Location = new System.Drawing.Point(184, 57);
            this.chk_ShopSign.Name = "chk_ShopSign";
            this.chk_ShopSign.Size = new System.Drawing.Size(48, 16);
            this.chk_ShopSign.TabIndex = 163;
            this.chk_ShopSign.TabStop = false;
            this.chk_ShopSign.Text = "牌号";
            this.chk_ShopSign.CheckedChanged += new System.EventHandler(this.chk_ShopSign_CheckedChanged);
            // 
            // chk_RollNum
            // 
            this.chk_RollNum.Location = new System.Drawing.Point(536, 9);
            this.chk_RollNum.Name = "chk_RollNum";
            this.chk_RollNum.Size = new System.Drawing.Size(60, 16);
            this.chk_RollNum.TabIndex = 162;
            this.chk_RollNum.TabStop = false;
            this.chk_RollNum.Text = "轧批号";
            this.chk_RollNum.CheckedChanged += new System.EventHandler(this.chk_RollNum_CheckedChanged);
            // 
            // chk_OrderNO
            // 
            this.chk_OrderNO.Location = new System.Drawing.Point(344, 9);
            this.chk_OrderNO.Name = "chk_OrderNO";
            this.chk_OrderNO.Size = new System.Drawing.Size(64, 16);
            this.chk_OrderNO.TabIndex = 161;
            this.chk_OrderNO.TabStop = false;
            this.chk_OrderNO.Text = "订单号";
            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
            // 
            // dte_EndTime
            // 
            appearance12.BackColor = System.Drawing.Color.LightCyan;
            this.dte_EndTime.Appearance = appearance12;
            this.dte_EndTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
            this.dte_EndTime.Enabled = false;
            this.dte_EndTime.FlatMode = true;
            this.dte_EndTime.Location = new System.Drawing.Point(220, 7);
            this.dte_EndTime.MaskInput = "{date} {time}";
            this.dte_EndTime.Name = "dte_EndTime";
            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
            this.dte_EndTime.TabIndex = 160;
            this.dte_EndTime.TabStop = false;
            this.dte_EndTime.Tag = "";
            this.dte_EndTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
            // 
            // dte_BeginTime
            // 
            appearance13.BackColor = System.Drawing.Color.LightCyan;
            this.dte_BeginTime.Appearance = appearance13;
            this.dte_BeginTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
            this.dte_BeginTime.Enabled = false;
            this.dte_BeginTime.FlatMode = true;
            this.dte_BeginTime.Location = new System.Drawing.Point(88, 7);
            this.dte_BeginTime.MaskInput = "{date} {time}";
            this.dte_BeginTime.Name = "dte_BeginTime";
            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
            this.dte_BeginTime.TabIndex = 159;
            this.dte_BeginTime.TabStop = false;
            this.dte_BeginTime.Tag = "";
            this.dte_BeginTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
            // 
            // ultraExpandableGroupBox1
            // 
            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(924, 172);
            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 116);
            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1176, 200);
            this.ultraExpandableGroupBox1.SupportThemes = false;
            this.ultraExpandableGroupBox1.TabIndex = 5555;
            this.ultraExpandableGroupBox1.TabStop = false;
            this.ultraExpandableGroupBox1.Text = "编辑区";
            // 
            // ultraExpandableGroupBoxPanel1
            // 
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.panel3);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.panel2);
            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1170, 178);
            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
            // 
            // panel3
            // 
            this.panel3.Controls.Add(this.gb_Coll);
            this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel3.Location = new System.Drawing.Point(760, 0);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(410, 178);
            this.panel3.TabIndex = 1;
            // 
            // gb_Coll
            // 
            this.gb_Coll.DataSource = this.DT_KCJ_ZY_TASKDETAIL;
            appearance14.BackColor = System.Drawing.Color.Ivory;
            this.gb_Coll.DisplayLayout.Appearance = appearance14;
            ultraGridColumn1.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn1.Header.Caption = "序号";
            ultraGridColumn1.Header.VisiblePosition = 0;
            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 26);
            ultraGridColumn1.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn2.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn2.Header.Caption = "生产线";
            ultraGridColumn2.Header.VisiblePosition = 1;
            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn3.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn3.Header.Caption = "计划号";
            ultraGridColumn3.Header.VisiblePosition = 2;
            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 26);
            ultraGridColumn3.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn4.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn4.Header.Caption = "订单号";
            ultraGridColumn4.Header.VisiblePosition = 3;
            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 26);
            ultraGridColumn4.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn5.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn5.Header.Caption = "规格";
            ultraGridColumn5.Header.VisiblePosition = 4;
            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(110, 26);
            ultraGridColumn5.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn6.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn6.Header.Caption = "牌号";
            ultraGridColumn6.Header.VisiblePosition = 5;
            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn7.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn7.Header.Caption = "重量";
            ultraGridColumn7.Header.VisiblePosition = 6;
            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn8.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn8.Header.Caption = "堆位";
            ultraGridColumn8.Header.VisiblePosition = 7;
            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand1.Columns.AddRange(new object[] {
            ultraGridColumn1,
            ultraGridColumn2,
            ultraGridColumn3,
            ultraGridColumn4,
            ultraGridColumn5,
            ultraGridColumn6,
            ultraGridColumn7,
            ultraGridColumn8});
            appearance15.BackColor = System.Drawing.Color.LightSteelBlue;
            ultraGridBand1.Header.Appearance = appearance15;
            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            appearance16.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance16.TextVAlign = Infragistics.Win.VAlign.Middle;
            summarySettings1.Appearance = appearance16;
            summarySettings1.DisplayFormat = "{0}块";
            summarySettings1.GroupBySummaryValueAppearance = appearance17;
            summarySettings1.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
            summarySettings2.DisplayFormat = "{0:.###}T";
            summarySettings2.GroupBySummaryValueAppearance = appearance18;
            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
            summarySettings1,
            summarySettings2});
            ultraGridBand1.UseRowLayout = true;
            this.gb_Coll.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
            this.gb_Coll.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance19.BackColor = System.Drawing.SystemColors.ActiveBorder;
            appearance19.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance19.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance19.BorderColor = System.Drawing.SystemColors.Window;
            this.gb_Coll.DisplayLayout.GroupByBox.Appearance = appearance19;
            appearance20.ForeColor = System.Drawing.SystemColors.GrayText;
            this.gb_Coll.DisplayLayout.GroupByBox.BandLabelAppearance = appearance20;
            this.gb_Coll.DisplayLayout.GroupByBox.Hidden = true;
            this.gb_Coll.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            appearance21.BackColor = System.Drawing.SystemColors.Window;
            appearance21.ForeColor = System.Drawing.SystemColors.ControlText;
            this.gb_Coll.DisplayLayout.Override.ActiveCellAppearance = appearance21;
            appearance22.BackColor = System.Drawing.SystemColors.Highlight;
            appearance22.ForeColor = System.Drawing.SystemColors.HighlightText;
            this.gb_Coll.DisplayLayout.Override.ActiveRowAppearance = appearance22;
            appearance23.BorderColor = System.Drawing.Color.Black;
            appearance23.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Coll.DisplayLayout.Override.CellAppearance = appearance23;
            this.gb_Coll.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.gb_Coll.DisplayLayout.Override.CellPadding = 0;
            appearance24.BackColor = System.Drawing.SystemColors.Control;
            appearance24.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance24.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
            appearance24.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance24.BorderColor = System.Drawing.SystemColors.Window;
            appearance24.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance24.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Coll.DisplayLayout.Override.GroupByRowAppearance = appearance24;
            this.gb_Coll.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            appearance25.BackColor = System.Drawing.Color.LightSteelBlue;
            this.gb_Coll.DisplayLayout.Override.HeaderAppearance = appearance25;
            this.gb_Coll.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.gb_Coll.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            appearance26.BackColor = System.Drawing.SystemColors.Window;
            appearance26.BorderColor = System.Drawing.Color.Black;
            appearance26.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Coll.DisplayLayout.Override.RowAppearance = appearance26;
            appearance27.BackColor = System.Drawing.SystemColors.Window;
            appearance27.BorderColor = System.Drawing.Color.Black;
            appearance27.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Coll.DisplayLayout.Override.RowPreviewAppearance = appearance27;
            this.gb_Coll.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gb_Coll.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gb_Coll.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            appearance28.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance28.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Coll.DisplayLayout.Override.SelectedRowAppearance = appearance28;
            this.gb_Coll.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            appearance29.BackColor = System.Drawing.SystemColors.Window;
            this.gb_Coll.DisplayLayout.Override.SummaryFooterAppearance = appearance29;
            appearance30.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            appearance30.ForeColor = System.Drawing.Color.Red;
            this.gb_Coll.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance30;
            this.gb_Coll.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance31.BackColor = System.Drawing.Color.MistyRose;
            appearance31.ForeColor = System.Drawing.Color.Blue;
            appearance31.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance31.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Coll.DisplayLayout.Override.SummaryValueAppearance = appearance31;
            appearance32.BackColor = System.Drawing.SystemColors.ControlLight;
            this.gb_Coll.DisplayLayout.Override.TemplateAddRowAppearance = appearance32;
            this.gb_Coll.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gb_Coll.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gb_Coll.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gb_Coll.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gb_Coll.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.gb_Coll.Location = new System.Drawing.Point(0, 0);
            this.gb_Coll.Name = "gb_Coll";
            this.gb_Coll.Size = new System.Drawing.Size(410, 178);
            this.gb_Coll.TabIndex = 1;
            this.gb_Coll.Text = "ultraGrid1";
            // 
            // DT_KCJ_ZY_TASKDETAIL
            // 
            this.DT_KCJ_ZY_TASKDETAIL.Columns.AddRange(new System.Data.DataColumn[] {
            this.dataColumn36,
            this.dataColumn37,
            this.dataColumn40,
            this.dataColumn41,
            this.dataColumn43,
            this.dataColumn38,
            this.dataColumn39,
            this.dataColumn34});
            this.DT_KCJ_ZY_TASKDETAIL.TableName = "KCJ_ZY_TASKDETAIL";
            // 
            // dataColumn36
            // 
            this.dataColumn36.ColumnName = "BILLETID";
            // 
            // dataColumn37
            // 
            this.dataColumn37.ColumnName = "PROCESS_LINE";
            // 
            // dataColumn40
            // 
            this.dataColumn40.ColumnName = "PLANNO";
            // 
            // dataColumn41
            // 
            this.dataColumn41.ColumnName = "ORDERNO";
            // 
            // dataColumn43
            // 
            this.dataColumn43.ColumnName = "PLY";
            // 
            // dataColumn38
            // 
            this.dataColumn38.ColumnName = "DETERMINANTCARDNUMBER";
            // 
            // dataColumn39
            // 
            this.dataColumn39.ColumnName = "WEIGHT";
            this.dataColumn39.DataType = typeof(decimal);
            // 
            // dataColumn34
            // 
            this.dataColumn34.ColumnName = "BUTTRESS";
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.cmb_InSteel);
            this.panel2.Controls.Add(this.txt_ReMark);
            this.panel2.Controls.Add(this.ultraLabel21);
            this.panel2.Controls.Add(this.cmb_Rule);
            this.panel2.Controls.Add(this.ultraLabel20);
            this.panel2.Controls.Add(this.cmb_InMan);
            this.panel2.Controls.Add(this.ultraLabel9);
            this.panel2.Controls.Add(this.txt_Comments);
            this.panel2.Controls.Add(this.ultraLabel19);
            this.panel2.Controls.Add(this.dte_InTime);
            this.panel2.Controls.Add(this.ultraLabel18);
            this.panel2.Controls.Add(this.cmb_Buttress);
            this.panel2.Controls.Add(this.ultraLabel4);
            this.panel2.Controls.Add(this.ultraLabel3);
            this.panel2.Controls.Add(this.cmb_Routing);
            this.panel2.Controls.Add(this.txt_StoveNo);
            this.panel2.Controls.Add(this.ultraLabel37);
            this.panel2.Controls.Add(this.txt_EndEnter);
            this.panel2.Controls.Add(this.cmb_FaceQuality);
            this.panel2.Controls.Add(this.txt_RollTopEdit);
            this.panel2.Controls.Add(this.ultraLabel15);
            this.panel2.Controls.Add(this.cmb_BilletType);
            this.panel2.Controls.Add(this.cmb_ClassTeam);
            this.panel2.Controls.Add(this.ultraLabel10);
            this.panel2.Controls.Add(this.cmb_ClassOrder);
            this.panel2.Controls.Add(this.ultraLabel14);
            this.panel2.Controls.Add(this.Txt_FNum);
            this.panel2.Controls.Add(this.Txt_DH);
            this.panel2.Controls.Add(this.Txt_DHNum);
            this.panel2.Controls.Add(this.Txt_DHDate);
            this.panel2.Controls.Add(this.ultraLabel16);
            this.panel2.Controls.Add(this.ultraLabel8);
            this.panel2.Controls.Add(this.cmb_DecideResult);
            this.panel2.Controls.Add(this.ultraLabel2);
            this.panel2.Controls.Add(this.cmb_ClipType);
            this.panel2.Controls.Add(this.txt_SourceId);
            this.panel2.Controls.Add(this.lab_YL);
            this.panel2.Controls.Add(this.cmb_BugReaSon);
            this.panel2.Controls.Add(this.txt_WEIGHT);
            this.panel2.Controls.Add(this.ultraLabel1);
            this.panel2.Controls.Add(this.txt_PlanNO);
            this.panel2.Controls.Add(this.txt_Width);
            this.panel2.Controls.Add(this.txt_Length);
            this.panel2.Controls.Add(this.txt_Ply);
            this.panel2.Controls.Add(this.txt_RollEnd);
            this.panel2.Controls.Add(this.txt_MBilletID);
            this.panel2.Controls.Add(this.txt_Roll);
            this.panel2.Controls.Add(this.ultraLabel27);
            this.panel2.Controls.Add(this.ultraLabel25);
            this.panel2.Controls.Add(this.txt_OrderNOEdit);
            this.panel2.Controls.Add(this.ultraLabel7);
            this.panel2.Controls.Add(this.lab_cd);
            this.panel2.Controls.Add(this.ultraLabel17);
            this.panel2.Controls.Add(this.ultraLabel12);
            this.panel2.Controls.Add(this.ultraLabel11);
            this.panel2.Controls.Add(this.ultraLabel13);
            this.panel2.Controls.Add(this.ultraLabel6);
            this.panel2.Controls.Add(this.cmb_ProductLineEdit);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
            this.panel2.Location = new System.Drawing.Point(0, 0);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(760, 178);
            this.panel2.TabIndex = 0;
            // 
            // cmb_InSteel
            // 
            this.cmb_InSteel.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_InSteel.DisplayMember = "";
            this.cmb_InSteel.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_InSteel.Location = new System.Drawing.Point(476, 77);
            this.cmb_InSteel.Name = "cmb_InSteel";
            this.cmb_InSteel.Size = new System.Drawing.Size(112, 21);
            this.cmb_InSteel.TabIndex = 706;
            this.cmb_InSteel.ValueMember = "";
            // 
            // txt_ReMark
            // 
            this.txt_ReMark.AutoSize = true;
            this.txt_ReMark.FlatMode = true;
            this.txt_ReMark.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txt_ReMark.Location = new System.Drawing.Point(636, 148);
            this.txt_ReMark.Name = "txt_ReMark";
            this.txt_ReMark.Size = new System.Drawing.Size(116, 19);
            this.txt_ReMark.TabIndex = 704;
            // 
            // ultraLabel21
            // 
            this.ultraLabel21.Location = new System.Drawing.Point(596, 152);
            this.ultraLabel21.Name = "ultraLabel21";
            this.ultraLabel21.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel21.TabIndex = 705;
            this.ultraLabel21.Text = "备注";
            // 
            // cmb_Rule
            // 
            this.cmb_Rule.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Rule.DisplayMember = "";
            this.cmb_Rule.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_Rule.FlatMode = true;
            this.cmb_Rule.Location = new System.Drawing.Point(476, 29);
            this.cmb_Rule.Name = "cmb_Rule";
            this.cmb_Rule.ReadOnly = true;
            this.cmb_Rule.Size = new System.Drawing.Size(112, 19);
            this.cmb_Rule.TabIndex = 702;
            this.cmb_Rule.Tag = "";
            this.cmb_Rule.ValueMember = "";
            this.cmb_Rule.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_Rule.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // ultraLabel20
            // 
            this.ultraLabel20.Location = new System.Drawing.Point(441, 33);
            this.ultraLabel20.Name = "ultraLabel20";
            this.ultraLabel20.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel20.TabIndex = 703;
            this.ultraLabel20.Text = "定尺";
            // 
            // cmb_InMan
            // 
            this.cmb_InMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_InMan.DisplayMember = "";
            this.cmb_InMan.FlatMode = true;
            this.cmb_InMan.Location = new System.Drawing.Point(296, 53);
            this.cmb_InMan.Name = "cmb_InMan";
            this.cmb_InMan.Size = new System.Drawing.Size(112, 19);
            this.cmb_InMan.TabIndex = 662;
            this.cmb_InMan.Tag = "";
            this.cmb_InMan.ValueMember = "";
            this.cmb_InMan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_InMan.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // ultraLabel9
            // 
            this.ultraLabel9.Location = new System.Drawing.Point(248, 57);
            this.ultraLabel9.Name = "ultraLabel9";
            this.ultraLabel9.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel9.TabIndex = 701;
            this.ultraLabel9.Text = "入库人";
            // 
            // txt_Comments
            // 
            appearance33.BackColor = System.Drawing.Color.LightCyan;
            appearance33.FontData.BoldAsString = "True";
            appearance33.ForeColor = System.Drawing.Color.Red;
            appearance33.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance33.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.txt_Comments.Appearance = appearance33;
            this.txt_Comments.AutoSize = true;
            this.txt_Comments.FlatMode = true;
            this.txt_Comments.Location = new System.Drawing.Point(80, 5);
            this.txt_Comments.Name = "txt_Comments";
            this.txt_Comments.ReadOnly = true;
            this.txt_Comments.Size = new System.Drawing.Size(672, 19);
            this.txt_Comments.TabIndex = 699;
            this.txt_Comments.TabStop = false;
            // 
            // ultraLabel19
            // 
            appearance34.FontData.BoldAsString = "True";
            appearance34.ForeColor = System.Drawing.Color.Red;
            appearance34.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.ultraLabel19.Appearance = appearance34;
            this.ultraLabel19.Font = new System.Drawing.Font("宋体", 9.5F);
            this.ultraLabel19.Location = new System.Drawing.Point(12, 5);
            this.ultraLabel19.Name = "ultraLabel19";
            this.ultraLabel19.Size = new System.Drawing.Size(62, 18);
            this.ultraLabel19.TabIndex = 700;
            this.ultraLabel19.Text = "提示信息";
            // 
            // dte_InTime
            // 
            this.dte_InTime.DateTime = new System.DateTime(2012, 9, 17, 0, 0, 0, 0);
            this.dte_InTime.FlatMode = true;
            this.dte_InTime.Location = new System.Drawing.Point(296, 149);
            this.dte_InTime.MaskInput = "{date} {time}";
            this.dte_InTime.Name = "dte_InTime";
            this.dte_InTime.Size = new System.Drawing.Size(112, 19);
            this.dte_InTime.TabIndex = 666;
            this.dte_InTime.Tag = "";
            this.dte_InTime.Value = new System.DateTime(2012, 9, 17, 0, 0, 0, 0);
            this.dte_InTime.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.dte_InTime.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // ultraLabel18
            // 
            this.ultraLabel18.Location = new System.Drawing.Point(236, 153);
            this.ultraLabel18.Name = "ultraLabel18";
            this.ultraLabel18.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel18.TabIndex = 698;
            this.ultraLabel18.Text = "入库时间";
            // 
            // cmb_Buttress
            // 
            this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Buttress.DisplayMember = "";
            this.cmb_Buttress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_Buttress.FlatMode = true;
            this.cmb_Buttress.Location = new System.Drawing.Point(296, 77);
            this.cmb_Buttress.Name = "cmb_Buttress";
            this.cmb_Buttress.Size = new System.Drawing.Size(112, 19);
            this.cmb_Buttress.TabIndex = 663;
            this.cmb_Buttress.Tag = "";
            this.cmb_Buttress.ValueMember = "";
            this.cmb_Buttress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_Buttress.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // ultraLabel4
            // 
            this.ultraLabel4.Location = new System.Drawing.Point(236, 81);
            this.ultraLabel4.Name = "ultraLabel4";
            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel4.TabIndex = 697;
            this.ultraLabel4.Text = "入库堆位";
            // 
            // ultraLabel3
            // 
            this.ultraLabel3.Location = new System.Drawing.Point(596, 33);
            this.ultraLabel3.Name = "ultraLabel3";
            this.ultraLabel3.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel3.TabIndex = 696;
            this.ultraLabel3.Text = "加工线";
            // 
            // cmb_Routing
            // 
            appearance35.BackColor = System.Drawing.Color.LightCyan;
            this.cmb_Routing.Appearance = appearance35;
            this.cmb_Routing.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Routing.DisplayMember = "";
            this.cmb_Routing.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_Routing.Location = new System.Drawing.Point(652, 28);
            this.cmb_Routing.Name = "cmb_Routing";
            this.cmb_Routing.ReadOnly = true;
            this.cmb_Routing.Size = new System.Drawing.Size(100, 21);
            this.cmb_Routing.TabIndex = 667;
            this.cmb_Routing.ValueMember = "";
            this.cmb_Routing.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_Routing.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // txt_StoveNo
            // 
            appearance36.BackColor = System.Drawing.Color.LightCyan;
            this.txt_StoveNo.Appearance = appearance36;
            this.txt_StoveNo.AutoSize = true;
            this.txt_StoveNo.FlatMode = true;
            this.txt_StoveNo.Location = new System.Drawing.Point(48, 77);
            this.txt_StoveNo.Name = "txt_StoveNo";
            this.txt_StoveNo.Size = new System.Drawing.Size(180, 19);
            this.txt_StoveNo.TabIndex = 657;
            this.txt_StoveNo.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_StoveNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // ultraLabel37
            // 
            this.ultraLabel37.Location = new System.Drawing.Point(12, 81);
            this.ultraLabel37.Name = "ultraLabel37";
            this.ultraLabel37.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel37.TabIndex = 695;
            this.ultraLabel37.Text = "炉号";
            // 
            // txt_EndEnter
            // 
            appearance37.BackColor = System.Drawing.Color.LightCyan;
            this.txt_EndEnter.Appearance = appearance37;
            this.txt_EndEnter.AutoSize = true;
            this.txt_EndEnter.FlatMode = true;
            this.txt_EndEnter.Location = new System.Drawing.Point(202, 53);
            this.txt_EndEnter.MaxLength = 2;
            this.txt_EndEnter.Name = "txt_EndEnter";
            this.txt_EndEnter.Size = new System.Drawing.Size(25, 19);
            this.txt_EndEnter.TabIndex = 656;
            this.txt_EndEnter.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_EndEnter.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // cmb_FaceQuality
            // 
            this.cmb_FaceQuality.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_FaceQuality.DisplayMember = "";
            this.cmb_FaceQuality.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_FaceQuality.Location = new System.Drawing.Point(476, 101);
            this.cmb_FaceQuality.Name = "cmb_FaceQuality";
            this.cmb_FaceQuality.Size = new System.Drawing.Size(112, 21);
            this.cmb_FaceQuality.TabIndex = 670;
            this.cmb_FaceQuality.ValueMember = "";
            this.cmb_FaceQuality.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_FaceQuality.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // txt_RollTopEdit
            // 
            appearance38.BackColor = System.Drawing.Color.LightCyan;
            this.txt_RollTopEdit.Appearance = appearance38;
            this.txt_RollTopEdit.AutoSize = true;
            this.txt_RollTopEdit.FlatMode = true;
            this.txt_RollTopEdit.Location = new System.Drawing.Point(48, 53);
            this.txt_RollTopEdit.MaxLength = 5;
            this.txt_RollTopEdit.Name = "txt_RollTopEdit";
            this.txt_RollTopEdit.Size = new System.Drawing.Size(32, 19);
            this.txt_RollTopEdit.TabIndex = 652;
            this.txt_RollTopEdit.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_RollTopEdit.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // ultraLabel15
            // 
            this.ultraLabel15.Location = new System.Drawing.Point(236, 33);
            this.ultraLabel15.Name = "ultraLabel15";
            this.ultraLabel15.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel15.TabIndex = 694;
            this.ultraLabel15.Text = "板块类型";
            // 
            // cmb_BilletType
            // 
            this.cmb_BilletType.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_BilletType.DisplayMember = "";
            this.cmb_BilletType.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_BilletType.FlatMode = true;
            this.cmb_BilletType.Location = new System.Drawing.Point(296, 29);
            this.cmb_BilletType.Name = "cmb_BilletType";
            this.cmb_BilletType.Size = new System.Drawing.Size(112, 19);
            this.cmb_BilletType.TabIndex = 661;
            this.cmb_BilletType.Tag = "";
            this.cmb_BilletType.ValueMember = "";
            this.cmb_BilletType.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_BilletType.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // cmb_ClassTeam
            // 
            this.cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_ClassTeam.DisplayMember = "";
            this.cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_ClassTeam.FlatMode = true;
            this.cmb_ClassTeam.Location = new System.Drawing.Point(296, 125);
            this.cmb_ClassTeam.Name = "cmb_ClassTeam";
            this.cmb_ClassTeam.Size = new System.Drawing.Size(112, 19);
            this.cmb_ClassTeam.TabIndex = 665;
            this.cmb_ClassTeam.Tag = "";
            this.cmb_ClassTeam.ValueMember = "";
            this.cmb_ClassTeam.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_ClassTeam.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // ultraLabel10
            // 
            this.ultraLabel10.Location = new System.Drawing.Point(236, 129);
            this.ultraLabel10.Name = "ultraLabel10";
            this.ultraLabel10.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel10.TabIndex = 693;
            this.ultraLabel10.Text = "入库班组";
            // 
            // cmb_ClassOrder
            // 
            this.cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_ClassOrder.DisplayMember = "";
            this.cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_ClassOrder.FlatMode = true;
            this.cmb_ClassOrder.Location = new System.Drawing.Point(296, 101);
            this.cmb_ClassOrder.Name = "cmb_ClassOrder";
            this.cmb_ClassOrder.Size = new System.Drawing.Size(112, 19);
            this.cmb_ClassOrder.TabIndex = 664;
            this.cmb_ClassOrder.Tag = "";
            this.cmb_ClassOrder.ValueMember = "";
            this.cmb_ClassOrder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_ClassOrder.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // ultraLabel14
            // 
            this.ultraLabel14.Location = new System.Drawing.Point(236, 105);
            this.ultraLabel14.Name = "ultraLabel14";
            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel14.TabIndex = 692;
            this.ultraLabel14.Text = "入库班次";
            // 
            // Txt_FNum
            // 
            appearance39.BackColor = System.Drawing.Color.LavenderBlush;
            this.Txt_FNum.Appearance = appearance39;
            this.Txt_FNum.FlatMode = true;
            this.Txt_FNum.Location = new System.Drawing.Point(193, 29);
            this.Txt_FNum.MaskInput = "nn";
            this.Txt_FNum.MaxValue = 99;
            this.Txt_FNum.MinValue = -1;
            this.Txt_FNum.Name = "Txt_FNum";
            this.Txt_FNum.PromptChar = ' ';
            this.Txt_FNum.ReadOnly = true;
            this.Txt_FNum.Size = new System.Drawing.Size(35, 19);
            this.Txt_FNum.TabIndex = 651;
            this.Txt_FNum.TabStop = false;
            this.Txt_FNum.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.Txt_FNum.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // Txt_DH
            // 
            appearance40.BackColor = System.Drawing.Color.LightCyan;
            this.Txt_DH.Appearance = appearance40;
            this.Txt_DH.AutoSize = true;
            this.Txt_DH.FlatMode = true;
            this.Txt_DH.Location = new System.Drawing.Point(94, 29);
            this.Txt_DH.MaxLength = 3;
            this.Txt_DH.Name = "Txt_DH";
            this.Txt_DH.Size = new System.Drawing.Size(68, 19);
            this.Txt_DH.TabIndex = 649;
            this.Txt_DH.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.Txt_DH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // Txt_DHNum
            // 
            appearance41.BackColor = System.Drawing.Color.LightCyan;
            this.Txt_DHNum.Appearance = appearance41;
            this.Txt_DHNum.FlatMode = true;
            this.Txt_DHNum.Location = new System.Drawing.Point(162, 29);
            this.Txt_DHNum.MaskInput = "nn";
            this.Txt_DHNum.MaxValue = 99;
            this.Txt_DHNum.MinValue = -1;
            this.Txt_DHNum.Name = "Txt_DHNum";
            this.Txt_DHNum.PromptChar = ' ';
            this.Txt_DHNum.Size = new System.Drawing.Size(31, 19);
            this.Txt_DHNum.TabIndex = 650;
            this.Txt_DHNum.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.Txt_DHNum.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // Txt_DHDate
            // 
            appearance42.BackColor = System.Drawing.Color.LightCyan;
            this.Txt_DHDate.Appearance = appearance42;
            this.Txt_DHDate.AutoSize = true;
            this.Txt_DHDate.FlatMode = true;
            this.Txt_DHDate.Location = new System.Drawing.Point(48, 29);
            this.Txt_DHDate.Name = "Txt_DHDate";
            this.Txt_DHDate.Size = new System.Drawing.Size(46, 19);
            this.Txt_DHDate.TabIndex = 648;
            this.Txt_DHDate.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.Txt_DHDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // ultraLabel16
            // 
            appearance43.TextHAlign = Infragistics.Win.HAlign.Center;
            appearance43.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.ultraLabel16.Appearance = appearance43;
            this.ultraLabel16.Location = new System.Drawing.Point(12, 33);
            this.ultraLabel16.Name = "ultraLabel16";
            this.ultraLabel16.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel16.TabIndex = 691;
            this.ultraLabel16.Text = "吊号";
            // 
            // ultraLabel8
            // 
            this.ultraLabel8.Location = new System.Drawing.Point(416, 153);
            this.ultraLabel8.Name = "ultraLabel8";
            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel8.TabIndex = 690;
            this.ultraLabel8.Text = "判定结果";
            // 
            // cmb_DecideResult
            // 
            this.cmb_DecideResult.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_DecideResult.DisplayMember = "";
            this.cmb_DecideResult.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_DecideResult.Location = new System.Drawing.Point(476, 149);
            this.cmb_DecideResult.Name = "cmb_DecideResult";
            this.cmb_DecideResult.ReadOnly = true;
            this.cmb_DecideResult.Size = new System.Drawing.Size(112, 21);
            this.cmb_DecideResult.TabIndex = 672;
            this.cmb_DecideResult.ValueMember = "";
            this.cmb_DecideResult.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_DecideResult.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // ultraLabel2
            // 
            this.ultraLabel2.Location = new System.Drawing.Point(416, 60);
            this.ultraLabel2.Name = "ultraLabel2";
            this.ultraLabel2.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel2.TabIndex = 689;
            this.ultraLabel2.Text = "切边类型";
            // 
            // cmb_ClipType
            // 
            this.cmb_ClipType.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_ClipType.DisplayMember = "";
            this.cmb_ClipType.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_ClipType.Location = new System.Drawing.Point(476, 53);
            this.cmb_ClipType.Name = "cmb_ClipType";
            this.cmb_ClipType.ReadOnly = true;
            this.cmb_ClipType.Size = new System.Drawing.Size(112, 21);
            this.cmb_ClipType.TabIndex = 669;
            this.cmb_ClipType.ValueMember = "";
            this.cmb_ClipType.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_ClipType.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // txt_SourceId
            // 
            appearance44.BackColor = System.Drawing.Color.LightCyan;
            this.txt_SourceId.Appearance = appearance44;
            this.txt_SourceId.AutoSize = true;
            this.txt_SourceId.FlatMode = true;
            this.txt_SourceId.Location = new System.Drawing.Point(60, 149);
            this.txt_SourceId.Name = "txt_SourceId";
            this.txt_SourceId.ReadOnly = true;
            this.txt_SourceId.Size = new System.Drawing.Size(168, 19);
            this.txt_SourceId.TabIndex = 660;
            this.txt_SourceId.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_SourceId.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // lab_YL
            // 
            this.lab_YL.Location = new System.Drawing.Point(12, 153);
            this.lab_YL.Name = "lab_YL";
            this.lab_YL.Size = new System.Drawing.Size(42, 16);
            this.lab_YL.TabIndex = 688;
            this.lab_YL.Text = "明细号";
            // 
            // cmb_BugReaSon
            // 
            this.cmb_BugReaSon.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_BugReaSon.DisplayMember = "";
            this.cmb_BugReaSon.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_BugReaSon.Location = new System.Drawing.Point(476, 125);
            this.cmb_BugReaSon.Name = "cmb_BugReaSon";
            this.cmb_BugReaSon.Size = new System.Drawing.Size(112, 21);
            this.cmb_BugReaSon.TabIndex = 671;
            this.cmb_BugReaSon.ValueMember = "";
            this.cmb_BugReaSon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            this.cmb_BugReaSon.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            // 
            // txt_WEIGHT
            // 
            appearance45.BackColor = System.Drawing.Color.LightCyan;
            this.txt_WEIGHT.Appearance = appearance45;
            this.txt_WEIGHT.FlatMode = true;
            this.txt_WEIGHT.Location = new System.Drawing.Point(652, 124);
            this.txt_WEIGHT.MaskInput = "nnn.nnn";
            this.txt_WEIGHT.Name = "txt_WEIGHT";
            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
            this.txt_WEIGHT.PromptChar = ' ';
            this.txt_WEIGHT.ReadOnly = true;
            this.txt_WEIGHT.Size = new System.Drawing.Size(100, 19);
            this.txt_WEIGHT.TabIndex = 676;
            this.txt_WEIGHT.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // ultraLabel1
            // 
            this.ultraLabel1.Location = new System.Drawing.Point(596, 128);
            this.ultraLabel1.Name = "ultraLabel1";
            this.ultraLabel1.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel1.TabIndex = 687;
            this.ultraLabel1.Text = "入库重量";
            // 
            // txt_PlanNO
            // 
            appearance46.BackColor = System.Drawing.Color.LightCyan;
            this.txt_PlanNO.Appearance = appearance46;
            this.txt_PlanNO.AutoSize = true;
            this.txt_PlanNO.FlatMode = true;
            this.txt_PlanNO.Location = new System.Drawing.Point(60, 101);
            this.txt_PlanNO.Name = "txt_PlanNO";
            this.txt_PlanNO.Size = new System.Drawing.Size(168, 19);
            this.txt_PlanNO.TabIndex = 658;
            this.txt_PlanNO.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_PlanNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // txt_Width
            // 
            appearance47.BackColor = System.Drawing.Color.LightCyan;
            this.txt_Width.Appearance = appearance47;
            this.txt_Width.FlatMode = true;
            this.txt_Width.Location = new System.Drawing.Point(652, 76);
            this.txt_Width.Name = "txt_Width";
            this.txt_Width.PromptChar = ' ';
            this.txt_Width.ReadOnly = true;
            this.txt_Width.Size = new System.Drawing.Size(100, 19);
            this.txt_Width.TabIndex = 674;
            this.txt_Width.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_Width.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // txt_Length
            // 
            appearance48.BackColor = System.Drawing.Color.LightCyan;
            this.txt_Length.Appearance = appearance48;
            this.txt_Length.FlatMode = true;
            this.txt_Length.Location = new System.Drawing.Point(652, 100);
            this.txt_Length.Name = "txt_Length";
            this.txt_Length.PromptChar = ' ';
            this.txt_Length.ReadOnly = true;
            this.txt_Length.Size = new System.Drawing.Size(100, 19);
            this.txt_Length.TabIndex = 675;
            this.txt_Length.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_Length.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // txt_Ply
            // 
            appearance49.BackColor = System.Drawing.Color.LightCyan;
            this.txt_Ply.Appearance = appearance49;
            this.txt_Ply.FlatMode = true;
            this.txt_Ply.Location = new System.Drawing.Point(652, 52);
            this.txt_Ply.MaskInput = "nnn.nnn";
            this.txt_Ply.Name = "txt_Ply";
            this.txt_Ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
            this.txt_Ply.PromptChar = ' ';
            this.txt_Ply.ReadOnly = true;
            this.txt_Ply.Size = new System.Drawing.Size(100, 19);
            this.txt_Ply.TabIndex = 673;
            this.txt_Ply.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_Ply.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // txt_RollEnd
            // 
            appearance50.BackColor = System.Drawing.Color.LavenderBlush;
            this.txt_RollEnd.Appearance = appearance50;
            this.txt_RollEnd.AutoSize = true;
            this.txt_RollEnd.FlatMode = true;
            this.txt_RollEnd.Location = new System.Drawing.Point(180, 53);
            this.txt_RollEnd.MaxLength = 2;
            this.txt_RollEnd.Name = "txt_RollEnd";
            this.txt_RollEnd.Size = new System.Drawing.Size(22, 19);
            this.txt_RollEnd.TabIndex = 655;
            this.txt_RollEnd.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_RollEnd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // txt_MBilletID
            // 
            appearance51.BackColor = System.Drawing.Color.LavenderBlush;
            this.txt_MBilletID.Appearance = appearance51;
            this.txt_MBilletID.AutoSize = true;
            this.txt_MBilletID.FlatMode = true;
            this.txt_MBilletID.Location = new System.Drawing.Point(148, 53);
            this.txt_MBilletID.MaxLength = 4;
            this.txt_MBilletID.Name = "txt_MBilletID";
            this.txt_MBilletID.Size = new System.Drawing.Size(32, 19);
            this.txt_MBilletID.TabIndex = 654;
            this.txt_MBilletID.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_MBilletID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // txt_Roll
            // 
            appearance52.BackColor = System.Drawing.Color.LavenderBlush;
            this.txt_Roll.Appearance = appearance52;
            this.txt_Roll.AutoSize = true;
            this.txt_Roll.FlatMode = true;
            this.txt_Roll.Location = new System.Drawing.Point(80, 53);
            this.txt_Roll.MaxLength = 6;
            this.txt_Roll.Name = "txt_Roll";
            this.txt_Roll.Size = new System.Drawing.Size(68, 19);
            this.txt_Roll.TabIndex = 653;
            this.txt_Roll.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_Roll.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // ultraLabel27
            // 
            this.ultraLabel27.Location = new System.Drawing.Point(416, 105);
            this.ultraLabel27.Name = "ultraLabel27";
            this.ultraLabel27.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel27.TabIndex = 686;
            this.ultraLabel27.Text = "表面质量";
            // 
            // ultraLabel25
            // 
            this.ultraLabel25.Location = new System.Drawing.Point(416, 129);
            this.ultraLabel25.Name = "ultraLabel25";
            this.ultraLabel25.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel25.TabIndex = 685;
            this.ultraLabel25.Text = "表面缺陷";
            // 
            // txt_OrderNOEdit
            // 
            appearance53.BackColor = System.Drawing.Color.LightCyan;
            this.txt_OrderNOEdit.Appearance = appearance53;
            this.txt_OrderNOEdit.AutoSize = true;
            this.txt_OrderNOEdit.FlatMode = true;
            this.txt_OrderNOEdit.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.txt_OrderNOEdit.Location = new System.Drawing.Point(60, 125);
            this.txt_OrderNOEdit.Name = "txt_OrderNOEdit";
            this.txt_OrderNOEdit.Size = new System.Drawing.Size(168, 19);
            this.txt_OrderNOEdit.TabIndex = 659;
            this.txt_OrderNOEdit.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
            this.txt_OrderNOEdit.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
            // 
            // ultraLabel7
            // 
            this.ultraLabel7.Location = new System.Drawing.Point(12, 129);
            this.ultraLabel7.Name = "ultraLabel7";
            this.ultraLabel7.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel7.TabIndex = 684;
            this.ultraLabel7.Text = "订单号";
            // 
            // lab_cd
            // 
            this.lab_cd.Location = new System.Drawing.Point(596, 104);
            this.lab_cd.Name = "lab_cd";
            this.lab_cd.Size = new System.Drawing.Size(54, 16);
            this.lab_cd.TabIndex = 683;
            this.lab_cd.Text = "入库长度";
            // 
            // ultraLabel17
            // 
            this.ultraLabel17.Location = new System.Drawing.Point(596, 80);
            this.ultraLabel17.Name = "ultraLabel17";
            this.ultraLabel17.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel17.TabIndex = 682;
            this.ultraLabel17.Text = "入库宽度";
            // 
            // ultraLabel12
            // 
            this.ultraLabel12.Location = new System.Drawing.Point(596, 56);
            this.ultraLabel12.Name = "ultraLabel12";
            this.ultraLabel12.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel12.TabIndex = 681;
            this.ultraLabel12.Text = "入库厚度";
            // 
            // ultraLabel11
            // 
            this.ultraLabel11.Location = new System.Drawing.Point(416, 84);
            this.ultraLabel11.Name = "ultraLabel11";
            this.ultraLabel11.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel11.TabIndex = 680;
            this.ultraLabel11.Text = "入库牌号";
            // 
            // ultraLabel13
            // 
            this.ultraLabel13.Location = new System.Drawing.Point(12, 105);
            this.ultraLabel13.Name = "ultraLabel13";
            this.ultraLabel13.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel13.TabIndex = 679;
            this.ultraLabel13.Text = "计划号";
            // 
            // ultraLabel6
            // 
            appearance54.TextHAlign = Infragistics.Win.HAlign.Center;
            appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.ultraLabel6.Appearance = appearance54;
            this.ultraLabel6.Location = new System.Drawing.Point(12, 57);
            this.ultraLabel6.Name = "ultraLabel6";
            this.ultraLabel6.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel6.TabIndex = 678;
            this.ultraLabel6.Text = "序号";
            // 
            // cmb_ProductLineEdit
            // 
            this.cmb_ProductLineEdit.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_ProductLineEdit.DisplayMember = "";
            this.cmb_ProductLineEdit.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_ProductLineEdit.Location = new System.Drawing.Point(656, 4);
            this.cmb_ProductLineEdit.Name = "cmb_ProductLineEdit";
            this.cmb_ProductLineEdit.Size = new System.Drawing.Size(104, 21);
            this.cmb_ProductLineEdit.TabIndex = 677;
            this.cmb_ProductLineEdit.TabStop = false;
            this.cmb_ProductLineEdit.ValueMember = "";
            this.cmb_ProductLineEdit.Visible = false;
            this.cmb_ProductLineEdit.ValueChanged += new System.EventHandler(this.cmb_ProductLineEdit_ValueChanged_1);
            // 
            // ultraGroupBox2
            // 
            this.ultraGroupBox2.Controls.Add(this.gd_Turnoff);
            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 316);
            this.ultraGroupBox2.Name = "ultraGroupBox2";
            this.ultraGroupBox2.Size = new System.Drawing.Size(1176, 142);
            this.ultraGroupBox2.SupportThemes = false;
            this.ultraGroupBox2.TabIndex = 7;
            this.ultraGroupBox2.Text = "成品入库信息";
            // 
            // gd_Turnoff
            // 
            this.gd_Turnoff.DataSource = this.DT_KCJ_TURNOFF;
            appearance55.BackColor = System.Drawing.Color.Ivory;
            this.gd_Turnoff.DisplayLayout.Appearance = appearance55;
            ultraGridColumn9.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn9.Header.Caption = "吊号";
            ultraGridColumn9.Header.VisiblePosition = 0;
            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 17;
            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn10.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn10.Header.Caption = "堆位";
            ultraGridColumn10.Header.VisiblePosition = 2;
            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 14;
            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn11.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn11.Header.Caption = "序号";
            ultraGridColumn11.Header.VisiblePosition = 1;
            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 26);
            ultraGridColumn11.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn12.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn12.Header.Caption = "产线";
            ultraGridColumn12.Header.VisiblePosition = 4;
            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 13;
            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn13.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn13.Header.Caption = "轧编号";
            ultraGridColumn13.Header.VisiblePosition = 5;
            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 26);
            ultraGridColumn13.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn14.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn14.Header.Caption = "炉号";
            ultraGridColumn14.Header.VisiblePosition = 7;
            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 26);
            ultraGridColumn14.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn15.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn15.Header.Caption = "计划号";
            ultraGridColumn15.Header.VisiblePosition = 8;
            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 26);
            ultraGridColumn15.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn16.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn16.Header.Caption = "订单号";
            ultraGridColumn16.Header.VisiblePosition = 9;
            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 26);
            ultraGridColumn16.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn17.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn17.Header.Caption = "入库牌号";
            ultraGridColumn17.Header.VisiblePosition = 10;
            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(81, 0);
            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn18.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn18.Header.Caption = "规格";
            ultraGridColumn18.Header.VisiblePosition = 11;
            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 10;
            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 26);
            ultraGridColumn18.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn19.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn19.Header.Caption = "重量";
            ultraGridColumn19.Header.VisiblePosition = 14;
            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 11;
            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 26);
            ultraGridColumn19.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn20.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn20.Header.Caption = "定尺";
            ultraGridColumn20.Header.VisiblePosition = 16;
            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 19;
            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 0);
            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn21.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn21.Header.Caption = "板块类型";
            ultraGridColumn21.Header.VisiblePosition = 12;
            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 18;
            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn22.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn22.Header.Caption = "表面质量";
            ultraGridColumn22.Header.VisiblePosition = 13;
            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 21;
            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn23.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn23.Header.Caption = "表面缺陷";
            ultraGridColumn23.Header.VisiblePosition = 15;
            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 22;
            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(68, 0);
            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn24.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            appearance56.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            ultraGridColumn24.CellAppearance = appearance56;
            ultraGridColumn24.Header.Caption = "判定牌号";
            ultraGridColumn24.Header.VisiblePosition = 17;
            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn25.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn25.Header.Caption = "判定结果";
            ultraGridColumn25.Header.VisiblePosition = 18;
            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 23;
            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 0);
            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn26.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn26.Header.Caption = "认证结果";
            ultraGridColumn26.Header.VisiblePosition = 19;
            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 24;
            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn27.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn27.Header.Caption = "认证机构";
            ultraGridColumn27.Header.VisiblePosition = 20;
            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 25;
            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn28.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn28.Header.Caption = "生产时间";
            ultraGridColumn28.Header.VisiblePosition = 21;
            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 27;
            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn29.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn29.Header.Caption = "入库时间";
            ultraGridColumn29.Header.VisiblePosition = 22;
            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 30;
            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn30.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn30.Header.Caption = "原料重量";
            ultraGridColumn30.Header.VisiblePosition = 24;
            ultraGridColumn30.Hidden = true;
            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 23;
            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn31.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn31.Header.Caption = "切边类型";
            ultraGridColumn31.Header.VisiblePosition = 25;
            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 20;
            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn32.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
            ultraGridColumn32.Header.Caption = "原料明细";
            ultraGridColumn32.Header.VisiblePosition = 26;
            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 26;
            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(86, 0);
            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn33.Header.Caption = "质检编号";
            ultraGridColumn33.Header.VisiblePosition = 27;
            ultraGridColumn33.Hidden = true;
            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 26;
            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn34.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn34.Header.Caption = "喷涂面积";
            ultraGridColumn34.Header.VisiblePosition = 28;
            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 12;
            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn35.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn35.Header.Caption = "生产线";
            ultraGridColumn35.Header.VisiblePosition = 29;
            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn36.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn36.Header.Caption = "生产序号";
            ultraGridColumn36.Header.VisiblePosition = 3;
            ultraGridColumn36.Hidden = true;
            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn37.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn37.Header.Caption = "工单号";
            ultraGridColumn37.Header.VisiblePosition = 6;
            ultraGridColumn37.Hidden = true;
            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(73, 0);
            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn38.Header.Caption = "";
            ultraGridColumn38.Header.VisiblePosition = 23;
            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(38, 26);
            ultraGridColumn38.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn38.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
            ultraGridColumn39.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn39.Header.Caption = "入库班次";
            ultraGridColumn39.Header.VisiblePosition = 30;
            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 28;
            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn40.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn40.Header.Caption = "入库班组";
            ultraGridColumn40.Header.VisiblePosition = 31;
            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 29;
            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn41.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
            ultraGridColumn41.Header.Caption = "登记时间";
            ultraGridColumn41.Header.VisiblePosition = 32;
            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 31;
            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn42.Header.Caption = "原计划号";
            ultraGridColumn42.Header.VisiblePosition = 33;
            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 15;
            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn42.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn43.Header.Caption = "原订单号";
            ultraGridColumn43.Header.VisiblePosition = 34;
            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 16;
            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 0);
            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn43.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
            ultraGridColumn44.Header.Caption = "状态";
            ultraGridColumn44.Header.VisiblePosition = 35;
            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(51, 0);
            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand2.Columns.AddRange(new object[] {
            ultraGridColumn9,
            ultraGridColumn10,
            ultraGridColumn11,
            ultraGridColumn12,
            ultraGridColumn13,
            ultraGridColumn14,
            ultraGridColumn15,
            ultraGridColumn16,
            ultraGridColumn17,
            ultraGridColumn18,
            ultraGridColumn19,
            ultraGridColumn20,
            ultraGridColumn21,
            ultraGridColumn22,
            ultraGridColumn23,
            ultraGridColumn24,
            ultraGridColumn25,
            ultraGridColumn26,
            ultraGridColumn27,
            ultraGridColumn28,
            ultraGridColumn29,
            ultraGridColumn30,
            ultraGridColumn31,
            ultraGridColumn32,
            ultraGridColumn33,
            ultraGridColumn34,
            ultraGridColumn35,
            ultraGridColumn36,
            ultraGridColumn37,
            ultraGridColumn38,
            ultraGridColumn39,
            ultraGridColumn40,
            ultraGridColumn41,
            ultraGridColumn42,
            ultraGridColumn43,
            ultraGridColumn44});
            appearance57.BackColor = System.Drawing.Color.LightSteelBlue;
            ultraGridBand2.Header.Appearance = appearance57;
            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            appearance58.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance58.TextVAlign = Infragistics.Win.VAlign.Middle;
            summarySettings3.Appearance = appearance58;
            summarySettings3.DisplayFormat = "{0}";
            summarySettings3.GroupBySummaryValueAppearance = appearance59;
            summarySettings3.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
            appearance60.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance60.TextVAlign = Infragistics.Win.VAlign.Middle;
            summarySettings4.Appearance = appearance60;
            summarySettings4.DisplayFormat = "{0:.###}";
            summarySettings4.GroupBySummaryValueAppearance = appearance61;
            summarySettings4.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
            appearance62.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance62.TextVAlign = Infragistics.Win.VAlign.Middle;
            summarySettings5.Appearance = appearance62;
            summarySettings5.DisplayFormat = "{0:.###}";
            summarySettings5.GroupBySummaryValueAppearance = appearance63;
            summarySettings5.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
            summarySettings3,
            summarySettings4,
            summarySettings5});
            ultraGridBand2.UseRowLayout = true;
            this.gd_Turnoff.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
            this.gd_Turnoff.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance64.BackColor = System.Drawing.SystemColors.ActiveBorder;
            appearance64.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance64.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance64.BorderColor = System.Drawing.SystemColors.Window;
            this.gd_Turnoff.DisplayLayout.GroupByBox.Appearance = appearance64;
            appearance65.ForeColor = System.Drawing.SystemColors.GrayText;
            this.gd_Turnoff.DisplayLayout.GroupByBox.BandLabelAppearance = appearance65;
            this.gd_Turnoff.DisplayLayout.GroupByBox.Hidden = true;
            this.gd_Turnoff.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            appearance66.BackColor = System.Drawing.SystemColors.Window;
            appearance66.ForeColor = System.Drawing.SystemColors.ControlText;
            this.gd_Turnoff.DisplayLayout.Override.ActiveCellAppearance = appearance66;
            appearance67.BackColor = System.Drawing.SystemColors.Highlight;
            appearance67.ForeColor = System.Drawing.SystemColors.HighlightText;
            this.gd_Turnoff.DisplayLayout.Override.ActiveRowAppearance = appearance67;
            appearance68.BorderColor = System.Drawing.Color.Black;
            appearance68.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_Turnoff.DisplayLayout.Override.CellAppearance = appearance68;
            this.gd_Turnoff.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.gd_Turnoff.DisplayLayout.Override.CellPadding = 0;
            appearance69.BackColor = System.Drawing.SystemColors.Control;
            appearance69.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance69.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
            appearance69.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance69.BorderColor = System.Drawing.SystemColors.Window;
            appearance69.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance69.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_Turnoff.DisplayLayout.Override.GroupByRowAppearance = appearance69;
            this.gd_Turnoff.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            appearance70.BackColor = System.Drawing.Color.LightSteelBlue;
            this.gd_Turnoff.DisplayLayout.Override.HeaderAppearance = appearance70;
            this.gd_Turnoff.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.gd_Turnoff.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            appearance71.BackColor = System.Drawing.SystemColors.Window;
            appearance71.BorderColor = System.Drawing.Color.Black;
            appearance71.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_Turnoff.DisplayLayout.Override.RowAppearance = appearance71;
            appearance72.BackColor = System.Drawing.SystemColors.Window;
            appearance72.BorderColor = System.Drawing.Color.Black;
            appearance72.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_Turnoff.DisplayLayout.Override.RowPreviewAppearance = appearance72;
            this.gd_Turnoff.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gd_Turnoff.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gd_Turnoff.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            appearance73.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance73.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_Turnoff.DisplayLayout.Override.SelectedRowAppearance = appearance73;
            this.gd_Turnoff.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            appearance74.BackColor = System.Drawing.SystemColors.Window;
            this.gd_Turnoff.DisplayLayout.Override.SummaryFooterAppearance = appearance74;
            appearance75.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            appearance75.ForeColor = System.Drawing.Color.Red;
            this.gd_Turnoff.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance75;
            this.gd_Turnoff.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance76.BackColor = System.Drawing.Color.MistyRose;
            appearance76.ForeColor = System.Drawing.Color.Blue;
            appearance76.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance76.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gd_Turnoff.DisplayLayout.Override.SummaryValueAppearance = appearance76;
            appearance77.BackColor = System.Drawing.SystemColors.ControlLight;
            this.gd_Turnoff.DisplayLayout.Override.TemplateAddRowAppearance = appearance77;
            this.gd_Turnoff.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gd_Turnoff.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gd_Turnoff.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gd_Turnoff.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gd_Turnoff.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.gd_Turnoff.Location = new System.Drawing.Point(3, 18);
            this.gd_Turnoff.Name = "gd_Turnoff";
            this.gd_Turnoff.Size = new System.Drawing.Size(1170, 121);
            this.gd_Turnoff.TabIndex = 0;
            this.gd_Turnoff.Text = "ultraGrid1";
            this.gd_Turnoff.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gd_Turnoff_CellChange);
            // 
            // DT_KCJ_TURNOFF
            // 
            this.DT_KCJ_TURNOFF.Columns.AddRange(new System.Data.DataColumn[] {
            this.dataColumn1,
            this.dataColumn2,
            this.dataColumn3,
            this.dataColumn4,
            this.dataColumn5,
            this.dataColumn6,
            this.dataColumn7,
            this.dataColumn8,
            this.dataColumn9,
            this.dataColumn10,
            this.dataColumn11,
            this.dataColumn12,
            this.dataColumn13,
            this.dataColumn14,
            this.dataColumn15,
            this.dataColumn16,
            this.dataColumn17,
            this.dataColumn18,
            this.dataColumn19,
            this.dataColumn20,
            this.dataColumn21,
            this.dataColumn22,
            this.dataColumn23,
            this.dataColumn24,
            this.dataColumn25,
            this.dataColumn26,
            this.dataColumn27,
            this.dataColumn28,
            this.dataColumn29,
            this.dataColumn30,
            this.dataColumn31,
            this.dataColumn32,
            this.dataColumn33,
            this.dataColumn35,
            this.dataColumn42,
            this.dataColumn44});
            this.DT_KCJ_TURNOFF.TableName = "KCJ_TURNOFF";
            // 
            // dataColumn1
            // 
            this.dataColumn1.ColumnName = "CONDOLENUMBER";
            // 
            // dataColumn2
            // 
            this.dataColumn2.ColumnName = "BUTTRESS";
            // 
            // dataColumn3
            // 
            this.dataColumn3.ColumnName = "BILLETID";
            // 
            // dataColumn4
            // 
            this.dataColumn4.ColumnName = "PRODUCTLINE";
            // 
            // dataColumn5
            // 
            this.dataColumn5.ColumnName = "ROLLNUMBER";
            // 
            // dataColumn6
            // 
            this.dataColumn6.ColumnName = "STOVENO";
            // 
            // dataColumn7
            // 
            this.dataColumn7.ColumnName = "PLANNO";
            // 
            // dataColumn8
            // 
            this.dataColumn8.ColumnName = "ORDERNO";
            // 
            // dataColumn9
            // 
            this.dataColumn9.ColumnName = "INSTEEL";
            // 
            // dataColumn10
            // 
            this.dataColumn10.ColumnName = "PLY";
            // 
            // dataColumn11
            // 
            this.dataColumn11.ColumnName = "THEORYWEIGHT";
            this.dataColumn11.DataType = typeof(decimal);
            // 
            // dataColumn12
            // 
            this.dataColumn12.ColumnName = "RULE";
            // 
            // dataColumn13
            // 
            this.dataColumn13.ColumnName = "BILLETTYP";
            // 
            // dataColumn14
            // 
            this.dataColumn14.ColumnName = "FACEQUALITY";
            // 
            // dataColumn15
            // 
            this.dataColumn15.ColumnName = "BUGREASON";
            // 
            // dataColumn16
            // 
            this.dataColumn16.ColumnName = "DETERMINANTCARDNUMBER";
            // 
            // dataColumn17
            // 
            this.dataColumn17.ColumnName = "DETERMINANTRESULT";
            // 
            // dataColumn18
            // 
            this.dataColumn18.ColumnName = "ATTESTATIONRESULT";
            // 
            // dataColumn19
            // 
            this.dataColumn19.ColumnName = "ATTESTATIONORGAN";
            // 
            // dataColumn20
            // 
            this.dataColumn20.ColumnName = "PTIME";
            // 
            // dataColumn21
            // 
            this.dataColumn21.ColumnName = "INTIME";
            // 
            // dataColumn22
            // 
            this.dataColumn22.ColumnName = "BILLETWEIGHT";
            this.dataColumn22.DataType = typeof(decimal);
            // 
            // dataColumn23
            // 
            this.dataColumn23.ColumnName = "CLIPTYPEPROCESS";
            // 
            // dataColumn24
            // 
            this.dataColumn24.ColumnName = "SOURCEID";
            // 
            // dataColumn25
            // 
            this.dataColumn25.ColumnName = "INSPECTIONID";
            // 
            // dataColumn26
            // 
            this.dataColumn26.ColumnName = "ACREAGE";
            this.dataColumn26.DataType = typeof(decimal);
            // 
            // dataColumn27
            // 
            this.dataColumn27.ColumnName = "ROUTING";
            // 
            // dataColumn28
            // 
            this.dataColumn28.ColumnName = "SCID";
            // 
            // dataColumn29
            // 
            this.dataColumn29.ColumnName = "WORKORDER_ID";
            // 
            // dataColumn30
            // 
            this.dataColumn30.ColumnName = "FLAG";
            // 
            // dataColumn31
            // 
            this.dataColumn31.ColumnName = "INCLASSORDER";
            // 
            // dataColumn32
            // 
            this.dataColumn32.ColumnName = "INCLASSTEAM";
            // 
            // dataColumn33
            // 
            this.dataColumn33.ColumnName = "INBUTTRESSTIME";
            // 
            // dataColumn35
            // 
            this.dataColumn35.ColumnName = "YPLANNO";
            // 
            // dataColumn42
            // 
            this.dataColumn42.ColumnName = "YORDERNO";
            // 
            // dataColumn44
            // 
            this.dataColumn44.ColumnName = "CL";
            // 
            // ds_All
            // 
            this.ds_All.DataSetName = "NewDataSet";
            this.ds_All.Locale = new System.Globalization.CultureInfo("zh-CN");
            this.ds_All.Tables.AddRange(new System.Data.DataTable[] {
            this.DT_KCJ_TURNOFF});
            // 
            // ds_Coll
            // 
            this.ds_Coll.DataSetName = "NewDataSet";
            this.ds_Coll.Locale = new System.Globalization.CultureInfo("zh-CN");
            this.ds_Coll.Tables.AddRange(new System.Data.DataTable[] {
            this.DT_KCJ_ZY_TASKDETAIL});
            // 
            // Frm_TurnoffCollect
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize = new System.Drawing.Size(1176, 458);
            this.Controls.Add(this.ultraGroupBox2);
            this.Controls.Add(this.ultraExpandableGroupBox1);
            this.Controls.Add(this.ultraGroupBox1);
            this.Controls.Add(this.panel1);
            this.Name = "Frm_TurnoffCollect";
            this.Text = "成品收集入库";
            this.Load += new System.EventHandler(this.Frm_TurnoffCollect_Load);
            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
            this.ultraGroupBox1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_PEndTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_PBeginTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Condole)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ShopSign)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_BilletID)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
            this.ultraExpandableGroupBox1.ResumeLayout(false);
            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
            this.panel3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gb_Coll)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_ZY_TASKDETAIL)).EndInit();
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.cmb_InSteel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ReMark)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Rule)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Comments)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_InTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Routing)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_StoveNo)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_EndEnter)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_FaceQuality)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTopEdit)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_BilletType)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_FNum)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_DH)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHNum)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHDate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_DecideResult)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClipType)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_SourceId)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_MBilletID)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Roll)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNOEdit)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLineEdit)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
            this.ultraGroupBox2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gd_Turnoff)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_TURNOFF)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ds_All)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ds_Coll)).EndInit();
            this.ResumeLayout(false);

		}
		#endregion

		private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
		{
			this.dte_BeginTime.Enabled = this.chk_CollectTime.Checked;
			this.dte_EndTime.Enabled = this.chk_CollectTime.Checked;
		}
		private void chk_Ptime_CheckedChanged(object sender, System.EventArgs e)
		{
			this.dte_PBeginTime.Enabled = this.chk_Ptime.Checked;
			this.dte_PEndTime.Enabled = this.chk_Ptime.Checked;
		}

		private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_OrderNO.Enabled = this.chk_OrderNO.Checked;
		}

		private void chk_PlanID_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_PlanID.Enabled = this.chk_PlanID.Checked;
		}

		private void chk_BilletID_CheckedChanged(object sender, System.EventArgs e)
		{
			txt_BilletID.Enabled = this.chk_BilletID.Checked;
		}

		private void chk_ProductLine_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_ProductLine.Enabled = this.chk_ProductLine.Checked;
		}

		private void chk_Condole_CheckedChanged(object sender, System.EventArgs e)
		{
			txt_Condole.Enabled =this.chk_Condole.Checked;
		}

		private void chk_RollNum_CheckedChanged(object sender, System.EventArgs e)
		{
			txt_RollTop.Enabled = this.chk_RollNum.Checked;
			txt_RollNOBegin.Enabled = this.chk_RollNum.Checked;
			txt_RollNOEnd.Enabled = this.chk_RollNum.Checked;
		}

		private void chk_ShopSign_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_ShopSign.Enabled = this.chk_ShopSign.Checked;
		}

		private void cmb_ProductLineEdit_ValueChanged_1(object sender, System.EventArgs e)
		{
			string strOut = "";
			string strSql = "";
			string plidSon = "";
			DataSet ds; 
			try
			{
				//----初始化cmb_ShopSign---------------
				 strSql = "SELECT STEELNAME,PLID FROM SCM_R_PLINE_STEELS WHERE PLID='" + Comm.ObjToStr(cmb_ProductLineEdit.Value)+ "' ORDER BY STEELNAME ASC";
				 ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="SCM_R_PLINE_STEELS";

				Comm.Init_ComboControl(this.cmb_InSteel,"SCM_R_PLINE_STEELS","STEELNAME","STEELNAME",ref ds);

				switch(Comm.ObjToStr(cmb_ProductLineEdit.Value))
				{
					case "4001HB1":
						plidSon = "4124HB";
						break;

					case "4001ZB1":
						plidSon = "4124ZB";
						break;
				}

				//初始化cmb_BugReaSon  表面缺陷
				strSql = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='4124' and substr(id_,1,6)='" + plidSon + "' order by NAME_ asc " ;
				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_BugReaSon,"SCM_BASE_INFO","NAME_","ID_",ref ds);

			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void cmb_ProductLine_RowSelected(object sender, Infragistics.Win.UltraWinGrid.RowSelectedEventArgs e)
		{
			string strOut = "";
			try
			{
				//----初始化cmb_ShopSign---------------
				string sql = "SELECT STEELNAME,PLID FROM SCM_R_PLINE_STEELS WHERE PLID='" + e.Row.Cells["ID_"].Text+ "' ORDER BY STEELNAME ASC";
				DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{sql},out strOut);
				ds.Tables[0].TableName="SCM_R_PLINE_STEELS";

				Comm.Init_ComboControl(this.cmb_ShopSign,"SCM_R_PLINE_STEELS","STEELNAME","STEELNAME",ref ds);
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}

		}

		private void cmb_ProductLineEdit_ValueChanged(object sender, System.EventArgs e)
		{
			string strOut = "";
			try
			{
				//初始化cmb_BugReaSon  表面缺陷
					string strSql = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='4124' and substr(id_,1,6)='" +  Comm.ObjToStr(cmb_ProductLineEdit.Value) + "' order by NAME_ asc " ;
				DataSet ds_ = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds_.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_BugReaSon,"SCM_BASE_INFO","NAME_","ID_",ref ds_);

				//----初始化cmb_InSteel---------------编辑区牌号
				string sql = "SELECT STEELNAME,PLID FROM SCM_R_PLINE_STEELS WHERE PLID='" +  Comm.ObjToStr(cmb_ProductLineEdit.Value)+ "' ORDER BY STEELNAME ASC";
				DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{sql},out strOut);
				ds.Tables[0].TableName="SCM_R_PLINE_STEELS";

				Comm.Init_ComboControl(this.cmb_InSteel,"SCM_R_PLINE_STEELS","STEELNAME","STEELNAME",ref ds);
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
		{
			try
			{
				if(this.chk_AllowFilter.Checked)
				{
					this.gd_Turnoff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
					this.gd_Turnoff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;

					this.gb_Coll.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
					this.gb_Coll.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;


				}
				else
				{
					this.gd_Turnoff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
					this.gd_Turnoff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
					if(this.gd_Turnoff.DisplayLayout.Bands[0].ColumnFilters.Count>0)
					{
						for(int i=0;i<this.gd_Turnoff.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
						{
							this.gd_Turnoff.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
						}
					}

					this.gb_Coll.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
					this.gb_Coll.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
					if(this.gb_Coll.DisplayLayout.Bands[0].ColumnFilters.Count>0)
					{
						for(int i=0;i<this.gb_Coll.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
						{
							this.gb_Coll.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
						}
					}
				
				}



			}
			catch(System.Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void gd_Turnoff_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
		{
			try
			{
				if(e.Cell.Column.Key == "FLAG")
				{
					e.Cell.Row.Update();
					if(Comm.ObjToStr(e.Cell.Value).ToUpper() == "TRUE")
					{
						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
					}
					else
					{
						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
					}
				}
			}
			catch(System.Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
        public string sstyle = "";
		private void Frm_TurnoffCollect_Load(object sender, System.EventArgs e)
		{
			Comm.SetGridSumArea(this.gb_Coll);
            if (this.Key.Split('@').Length > 1)
            {
                sstyle = this.Key.Split('@')[1];

            }
			try
			{
				this.dte_BeginTime.DateTime = System.DateTime.Now.Date;
				this.dte_EndTime.DateTime = System.DateTime.Now.Date;
				this.dte_PBeginTime.DateTime = System.DateTime.Now.Date;
				this.dte_PEndTime.DateTime = System.DateTime.Now.Date;
				this.dte_InTime.DateTime = System.DateTime.Now.Date;

				Txt_DHDate.Text=System.DateTime.Now.ToString("yyMMdd");
				this.IniComb();
				Comm.SetGridSumArea(this.gd_Turnoff);
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
		{
			try
			{
				switch(e.Tool.Key)
				{
					case "QUERY":
						//GetInStorage1(this.GetWhere());
						this.GetInStorage(this.GetWhere());
						break;

					case "RECORD":
						this.AffirmCollect();
						break;

					case "CANCELRECORD":		
						this.DelCollect();
						break;				

					case "TO_EXCEL":	
						this.Export(this.gd_Turnoff,@"成品收集入库信息.xls");
						break;
					case "REFUBISH":
						this.GetREI(this.GetReiWhere());
						break;

					case"CLOSE":
						this.Close();
						break;
				}

			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}

		}

		#region IniWindow
		private void IniComb()
		{
			string strOut = "";
			string strSql = "";
			DataSet ds; 

			try
			{
				//定尺
				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '1022'" ;
				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_Rule,"SCM_BASE_INFO","NAME_","ID_",ref ds);		

				//班次
				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_ClassOrder,"SCM_BASE_INFO","NAME_","ID_",ref ds);		
		
				//班组
				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds);

                if (ClientCommon._UserInfo.UserRoleID == "pszxck")
                {
                    //摆放堆位
                    if (sstyle == "2")
                    {
                        strSql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE ='配送中心（新钢库）'";
                        ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager", "Core.XgMes.Server.JGKC.TurnoffManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
                        ds.Tables[0].TableName = "KCJ_BUTTRESS";
                    }
                    else
                    {
                        strSql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE ='配送中心（线棒库）'";
                        ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager", "Core.XgMes.Server.JGKC.TurnoffManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
                        ds.Tables[0].TableName = "KCJ_BUTTRESS";
                    }
                }
                else
                {
                    //摆放堆位
                    strSql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS WHERE BUTTRESSTYPE='1' AND ISVALID='1' and  AREACODE  not in ('配送中心（线棒库）','配送中心（线棒库）')";
                    ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager", "Core.XgMes.Server.JGKC.TurnoffManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
                    ds.Tables[0].TableName = "KCJ_BUTTRESS";
                }

				Comm.Init_ComboControl(this.cmb_Buttress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);

				//板块类型
				strSql ="SELECT T.ID_,T.NAME_ FROM KCJ_BASEDATA T WHERE T.SORT_CODE='8006'" ;
				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="KCJ_BASEDATA";

				Comm.Init_ComboControl(this.cmb_BilletType,"KCJ_BASEDATA","NAME_","ID_",ref ds);	

				//入库人

                if (ClientCommon._UserInfo.UserRoleID == "pszxck")
                {
                    strSql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE ='514010'";
                    ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager", "Core.XgMes.Server.JGKC.TurnoffManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
                    ds.Tables[0].TableName = "KCJ_BASEDATA";
                }
                else
                {
                    strSql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE ='514003'";
                    ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager", "Core.XgMes.Server.JGKC.TurnoffManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
                    ds.Tables[0].TableName = "KCJ_BASEDATA";
                }

				Comm.Init_ComboControl(this.cmb_InMan,"KCJ_BASEDATA","NAME_","ID_",ref ds);

				//生产线
				strSql ="SELECT T.ID_,T.NAME_ FROM KCJ_BASEDATA T WHERE T.SORT_CODE='8010'" ;
				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="KCJ_BASEDATA";

				Comm.Init_ComboControl(this.cmb_Routing,"KCJ_BASEDATA","NAME_","ID_",ref ds);	

				//表面质量
				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '5126'" ;
				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_FaceQuality,"SCM_BASE_INFO","NAME_","ID_",ref ds);	
//
//				//表面缺陷
//				strSql = "SELECT ID_,NAME_ FROM SCM_BASE_INFO  WHERE SORT_CODE='4124' AND NOT ID_ LIKE '4124XC%' " ;
//				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
//				ds.Tables[0].TableName="SCM_BASE_INFO";
//
//				Comm.Init_ComboControl(this.cmb_BugReaSon,"SCM_BASE_INFO","NAME_","ID_",ref ds);
				
				//判定结果
				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '4014'" ;
				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_DecideResult,"SCM_BASE_INFO","NAME_","ID_",ref ds);	
				
				//切边类型
				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '1030'" ;
				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_ClipType,"SCM_BASE_INFO","NAME_","ID_",ref ds);	
				
				//产线
				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE ID_ IN ('4001HB1','4001ZB1')" ;
				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
				ds.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_ProductLine,"SCM_BASE_INFO","NAME_","ID_",ref ds);	
				Comm.Init_ComboControl(this.cmb_ProductLineEdit,"SCM_BASE_INFO","NAME_","ID_",ref ds);	

			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}

		}	

		#endregion		

		#region 查询
		/// <summary>
		/// 获取查询条件
		/// </summary>
		/// <returns></returns>
		private string GetWhere()
		{
			string rtnStr="";

			if(this.txt_PlanID.Enabled && this.txt_PlanID.Text.Trim().Length > 0)
				rtnStr += " AND A.PLANNO LIKE '" + this.txt_PlanID.Text.Trim() + "%'";

			if(this.dte_BeginTime.Enabled && this.dte_EndTime.Enabled)
                //rtnStr += " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
                //    + " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
            rtnStr += " AND (A.INTIME BETWEEN TO_DATE('"
                        + this.dte_BeginTime.DateTime + "','yyyy-MM-dd hh24:mi:ss') AND TO_DATE('"
                        + this.dte_EndTime.DateTime+ "','yyyy-MM-dd hh24:mi:ss'))"; 
				
			if(this.dte_PBeginTime.Enabled && this.dte_PEndTime.Enabled)
                //rtnStr += " AND TO_CHAR(A.PTIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_PBeginTime.Value).ToString("yyyy-MM-dd")+"' "
                //    + " AND TO_CHAR(A.PTIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_PEndTime.Value).ToString("yyyy-MM-dd")+"' ";
            rtnStr += " AND (A.PTIME BETWEEN TO_DATE('"
                    + this.dte_BeginTime.DateTime + "','yyyy-MM-dd hh24:mi:ss') AND TO_DATE('"
                    + this.dte_EndTime.DateTime + "','yyyy-MM-dd hh24:mi:ss'))"; 
				
			
			if(this.cmb_ProductLine.Enabled && this.cmb_ProductLine.Text.Trim().Length > 0)
				rtnStr += " AND A.PRODUCTLINE ='" + Comm.ObjToStr(this.cmb_ProductLine.Value) + "'";

			if(this.cmb_ShopSign.Enabled && this.cmb_ShopSign.Text.Trim().Length > 0)
				rtnStr += " AND A.DETERMINANTCARDNUMBER ='" + this.cmb_ShopSign.Text.Trim() + "'";

			if(this.txt_OrderNO.Enabled && this.txt_OrderNO.Text.Trim().Length > 0)
				rtnStr += " AND A.ORDERNO LIKE '" + this.txt_OrderNO.Text.Trim() + "%'";

			if(this.txt_BilletID.Enabled && this.txt_BilletID.Text.Trim().Length > 0)
				rtnStr += " AND A.BILLETID LIKE '" + this.txt_BilletID.Text.Trim() + "%'";

			if(this.txt_Condole.Enabled && this.txt_Condole.Text.Trim().Length > 0)
				rtnStr += " AND B.CONDOLENUMBER LIKE '" + this.txt_Condole.Text.Trim() + "%'";

			if(this.chk_RollNum.Checked)
			{
                //rtnStr += " AND SUBSTR(A.ROLLNUMBER,1,INSTR(A.ROLLNUMBER,'-')-1)='"+this.txt_RollTop.Text.Trim()+"' ";
                //if(this.txt_RollNOBegin.Text.Trim().Length==5 && this.txt_RollNOEnd.Text.Trim().Length<5)
                //{
                //    rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)='"+this.txt_RollNOBegin.Text.Trim()+"'";
                //}
                //if(this.txt_RollNOBegin.Text.Trim().Length<5 && this.txt_RollNOEnd.Text.Trim().Length==5)
                //{
                //    rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"'";
                //}
                //if(this.txt_RollNOBegin.Text.Trim().Length==5 && this.txt_RollNOEnd.Text.Trim().Length==5)
                //{
                //    rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"'"
                //        + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)>='"+this.txt_RollNOBegin.Text.Trim()+"'";
                //}
                rtnStr += " AND A.ROLLNUMBER LIKE  '" + txt_RollNOBegin.ToString().Trim()+ " %'";

			}

			return rtnStr;
 
		}

		/// <summary>
		/// 获取收集入库信息
		/// </summary>
		/// <param name=" _Condition">条件</param>
		/// <returns></returns>
		private void GetInStorage(string _Condition)
		{
			try
			{
				string strOut = "";
				this.ds_All.Tables["KCJ_TURNOFF"].Clear();
				object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager",
					"GetTurnoffCollect",new object[]{_Condition},out strOut);

				if(obj != null)
					this.ds_All.Merge(obj as System.Data.DataSet);
				this.ds_All.Tables["KCJ_TURNOFF"].AcceptChanges();					
				Comm.SetGridSumArea(this.gd_Turnoff);
				
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}

		}

		private void GetInStorage1(string _Condition)
		{
			try
			{
				string strOut = "";
				this.ds_All.Tables["KCJ_TURNOFF"].Clear();
				object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager","GetTurnoffCollect1",new object[]{_Condition},out strOut);

				if(obj != null)
					this.ds_All.Merge(obj as System.Data.DataSet);
				this.ds_All.Tables["KCJ_TURNOFF"].AcceptChanges();					
				Comm.SetGridSumArea(this.gd_Turnoff);
				
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}

		}

		private string GetReiWhere()
		{
			string rtnStr="";

			if(this.txt_PlanID.Enabled && this.txt_PlanID.Text.Trim().Length > 0)
				rtnStr += " AND A.PLANNO LIKE '" + this.txt_PlanID.Text.Trim() + "%'";

			if(this.dte_PBeginTime.Enabled && this.dte_PEndTime.Enabled)
				rtnStr += " AND TO_CHAR(A.DOWN_TIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_PBeginTime.Value).ToString("yyyy-MM-dd")+"' "
					+ " AND TO_CHAR(A.DOWN_TIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_PEndTime.Value).ToString("yyyy-MM-dd")+"' ";

			if(this.cmb_ProductLine.Enabled && this.cmb_ProductLine.Text.Trim().Length > 0)
				rtnStr += " AND A.PRODUCTLINE ='" + Comm.ObjToStr(this.cmb_ProductLine.Value) + "'";

			if(this.cmb_ShopSign.Enabled && this.cmb_ShopSign.Text.Trim().Length > 0)
				rtnStr += " AND A.DETERMINANTCARDNUMBER ='" + this.cmb_ShopSign.Text.Trim() + "'";

			if(this.txt_OrderNO.Enabled && this.txt_OrderNO.Text.Trim().Length > 0)
				rtnStr += " AND A.ORDERNO LIKE '" + this.txt_OrderNO.Text.Trim() + "%'";

			if(this.txt_BilletID.Enabled && this.txt_BilletID.Text.Trim().Length > 0)
				rtnStr += " AND A.BILLETID LIKE '" + this.txt_BilletID.Text.Trim() + "%'";

			return rtnStr;

		}
		/// <summary>
		/// 获取生产实绩信息
		/// </summary>
		/// <param name="_Conndition"></param>
		private void GetREI(string _Conndition)
		{
			try
			{
               string strOut="";
			   this.ds_Coll.Tables["KCJ_ZY_TASKDETAIL"].Clear();
			   object obj=Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager",
				   "GetREI",new object[]{GetReiWhere()},out strOut);
				if(obj!=null)
					this.ds_Coll.Merge(obj as System.Data.DataSet);

				this.ds_Coll.Tables["KCJ_ZY_TASKDETAIL"].AcceptChanges();
				Comm.SetGridSumArea(this.gb_Coll);
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		#endregion
		
		#region 获取板块作业信息
		private string GetBilletID()
		{
			string billetID = "";
			string where = "";

			if(txt_RollTopEdit.Text.Trim().Length > 0 && txt_Roll.Text.Trim().Length > 0 && txt_MBilletID.Text.Trim().Length >0 )
			{
				billetID += txt_RollTopEdit.Text.Trim()+"-"+txt_Roll.Text.Trim()+"."+txt_MBilletID.Text.Trim();
			}
			if(txt_RollEnd.Text.Trim().Length > 0)
			{
				billetID +="."+txt_RollEnd.Text.Trim();
			}
			if(txt_EndEnter.Text.Trim().Length > 0)
			{
				billetID += "."+txt_EndEnter.Text.Trim();
			}
			where += " AND A.BILLETID = '" + billetID + "'";

			return where;
		}

		private void GetZYDetail(string _Condition)
		{
				string strOut="";

			try
			{
					object obj= Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager",
					"GetZYDetail",new object[]{_Condition},out strOut);
				
				if(obj != null && ((System.Data.DataSet)obj).Tables[0].Rows.Count > 0)
				{
					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Blue;
					txt_Comments.Text = "成功获取该板块信息！";
						
					System.Data.DataRow	dr = ((System.Data.DataSet)obj).Tables[0].Rows[0];

					txt_PlanNO.Text = Comm.ObjToStr(dr["PLANNO"]);//计划号
					txt_OrderNOEdit.Text = Comm.ObjToStr(dr["ORDERNO"]);//订单号
					txt_SourceId.Text = Comm.ObjToStr(dr["SOURCEID"]);//原料明细号	
					this.cmb_InSteel.Value = Comm.ObjToStr(dr["DETERMINANTCARDNUMBER"]).Length==0?null: Comm.ObjToStr(dr["DETERMINANTCARDNUMBER"]);//牌号
                    cmb_ClipType.Value = Comm.ObjToStr(dr["CLIPTYPEPROCESS"]).Length == 0 ? null : Comm.ObjToStr(dr["CLIPTYPEPROCESS"]);//切边类型
					cmb_FaceQuality.Value = Comm.ObjToStr(dr["FACEQUALITY"]).Length==0?null:Comm.ObjToStr(dr["FACEQUALITY"]);//表面质量
					cmb_BugReaSon.Value = Comm.ObjToStr(dr["BUGREASON"]).Length==0?null:Comm.ObjToStr(dr["BUGREASON"]);//缺陷类型
					cmb_DecideResult.Value = Comm.ObjToStr(dr["DETERMINANTRESULT"]).Length==0?null:Comm.ObjToStr(dr["DETERMINANTRESULT"]);//判定结果
					txt_Ply.Value = Comm.ObjToDouble(dr["PLY"]);//厚
					txt_Width.Value = Comm.ObjToDouble(dr["WIDTH"]);//宽
					txt_Length.Value = Comm.ObjToDouble(dr["LENGTH"]);//长
					txt_WEIGHT.Value = Comm.ObjToDouble(dr["THEORYWEIGHT"]);//重量
					txt_StoveNo.Text = Comm.ObjToStr(dr["STOVENO"]);//炉号
                    cmb_Rule.Value = Comm.ObjToStr(dr["RULE"]).Length == 0 ? null : Comm.ObjToStr(dr["RULE"]);//定尺方式
					cmb_Routing.Value = Comm.ObjToStr(dr["PROCESS_LINE"]).Length==0?null:Comm.ObjToStr(dr["PROCESS_LINE"]);//生产线
					strCreateTime = Comm.ObjToStr(dr["CREATETIME"]);//作业创建时间

					//获取产线
					if(Comm.ObjToStr(dr["BILLETID"]).StartsWith("H"))
						cmb_ProductLineEdit.Value = "4001HB1";
					else if(Comm.ObjToStr(dr["BILLETID"]).StartsWith("Z"))
						cmb_ProductLineEdit.Value = "4001ZB1";
					 
				}
				else
				{
					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
					txt_Comments.Text = "该板块无生产实绩信息,请与生产作业组联系";	
					txt_RollTopEdit.Focus();
				
				}

			}
			catch(Exception ex)
			{
						System.Diagnostics.Debug.WriteLine(ex.ToString());
			}

				}
		#endregion
		
		#region 获得当前吊号的板块数
		private int GetCondoleNum(string where)
		{
			string strOut = "";
			try
			{
				string sql = "SELECT COUNT(1) FROM KCJ_TURNOFFBUTTRESSLIST WHERE CONDOLENUMBER='"+where+"'";
				DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{sql},out strOut);
				System.Data.DataTable tab = ds.Tables[0];
				if(tab!=null && tab.Rows.Count==1)
				{
					return Comm.ObjToInt(tab.Rows[0][0]);
				}
				return 0;
			}
			catch(System.Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
				return 0;
			}
		}

		#endregion

		#region Event
		private void Txt_DHDate_Enter(object sender, System.EventArgs e)
		{
			try
			{
				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraTextEditor")
				{
					((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
				}
				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraNumericEditor")
				{
					((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
				}
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void Txt_DHDate_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			try
			{
				if (e.KeyData == Keys.Return)
				{
					if(((System.Windows.Forms.Control)sender).Name == this.Txt_DH.Name)
					{
						this.Txt_DH.Text = this.Txt_DH.Text.PadLeft(3,'0');
						string sqlStr = " AND B.CONDOLENUMBER = '" + this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim() + "'";
						this.GetInStorage1(sqlStr);
						this.Txt_FNum.Value=this.GetCondoleNum(this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim());
					}

						if(((System.Windows.Forms.Control)sender).Name == this.txt_EndEnter.Name)
					{
                        if (sstyle == "3")
                        {
                            if (this.txt_RollTopEdit.Text.Trim().Length < 2 || this.txt_Roll.Text.Trim().Length < 5
                            || this.txt_MBilletID.Text.Trim().Length < 1)
                            {
                                txt_Comments.Appearance.ForeColor = System.Drawing.Color.Red;
                                txt_Comments.Text = "板块序号不完整，请您确认板块的序号！";
                                txt_RollTopEdit.Focus();
                                return;
                            }
                        }
                        else
                        {
						if(this.txt_RollTopEdit.Text.Trim().Length<2 || this.txt_Roll.Text.Trim().Length<5 
							||this.txt_MBilletID.Text.Trim().Length<1 || this.txt_RollEnd.Text.Trim().Length<1)
						{
							txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
							txt_Comments.Text = "板块序号不完整，请您确认板块的序号！";						
							txt_RollTopEdit.Focus();
							return ;
							
						}
                    }
						this.GetZYDetail(this.GetBilletID());
						
					}						
					System.Windows.Forms.SendKeys.Send("{TAB}");

				}
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
		#endregion

		#region 成品收集入库
		//检查输入信息
		private bool CheckInput()
		{
			if(txt_RollTopEdit.Text.Trim().Length <= 0 || txt_Roll.Text.Trim().Length <= 0 || txt_MBilletID.Text.Trim().Length <=0)
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "板块序号不完整，请填写完整！";
				return false;
			}
			if(Comm.ObjToStr(txt_Ply.Value).Length <= 0 || Comm.ObjToStr(txt_Width.Value).Length <= 0 || Comm.ObjToStr(txt_Length.Value).Length <= 0 ||
				Comm.ObjToStr(txt_WEIGHT.Value).Length <= 0)
			{
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "规格信息不完整，请填写完整！";
				return false;
			}
			if(Comm.ObjToInt(this.Txt_FNum.Value)>=Comm.ObjToInt(this.Txt_DHNum.Value))
			{
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "当前吊号已登记"+Comm.ObjToStr(this.Txt_FNum.Value)+"块";					
				return false;
			}
			if(this.Txt_DHDate.Text.Length==0 | this.Txt_DH.Text.Length==0)
			{
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "吊号不完整，请您确认板块的吊号！";					
				return false;
			}
			if(this.cmb_InMan.Text.Trim().Length <= 0 )
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "入库人不能为空，请填写完整！";
				return false;
			}

			if(this.cmb_Buttress.Text.Trim().Length <= 0 )
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "入库堆位不能为空，请填写完整！";
				return false;
			}

			if(this.cmb_ClassOrder.Text.Trim().Length <= 0 )
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "入库班次不能为空，请填写完整！";
				return false;
			}
			if(this.cmb_ClassTeam.Text.Trim().Length <= 0 )
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "入库班组不能为空，请填写完整！";
				return false;
			}

			if(this.cmb_BilletType.Text.Trim().Length <= 0 )
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "板块类型不能为空，请填写完整！";
				return false;
			}

			if(txt_StoveNo.Text.Trim().Length <= 0 )
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "炉号不能为空，请填写完整！";
				return false;
			}
			if(txt_PlanNO.Text.Trim().Length <= 0 )
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "计划号不能为空，请填写完整！";
				return false;
			}
			if(txt_OrderNOEdit.Text.Trim().Length <= 0 )
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "订单号不能为空，请填写完整！";
				return false;
			}

			if(cmb_Rule.Text.Trim().Length <= 0 )
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "定尺不能为空，请填写完整！";
				return false;
			}

			if(cmb_ClipType.Text.Trim().Length <= 0 )
			{			
				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
				txt_Comments.Text = "切边类型为空，请填写完整！";
				return false;
			}
			return true;
		}

		private void AffirmCollect()
		{
			    string billetID="";//序号
			System.Collections.ArrayList Billet = new ArrayList();

			try
			{
				if(!this.CheckInput())
					return;

				if(txt_RollTopEdit.Text.Trim().Length > 0 && txt_Roll.Text.Trim().Length > 0 && txt_MBilletID.Text.Trim().Length >0 )
				{
					billetID += txt_RollTopEdit.Text.Trim()+"-"+txt_Roll.Text.Trim()+"."+txt_MBilletID.Text.Trim();
				}
				if(txt_RollEnd.Text.Trim().Length > 0)
				{
					billetID +="."+txt_RollEnd.Text.Trim();
				}
				if(txt_EndEnter.Text.Trim().Length > 0)
				{
					billetID += "."+txt_EndEnter.Text.Trim();
				}

				Billet.Add(billetID); //序号
				Billet.Add(strCreateTime);//作业实绩创建时间
				Billet.Add(Comm.ObjToStr(this.cmb_InSteel.Value));//入库牌号
				Billet.Add(Comm.ObjToStr(this.cmb_BilletType.Value));//板块类型
				Billet.Add(Comm.ObjToStr(cmb_Buttress.Value));//入库堆位
				Billet.Add(Comm.ObjToStr(this.cmb_ClassOrder.Value));//班次
				Billet.Add(Comm.ObjToStr(this.cmb_ClassTeam.Value));//班组
				Billet.Add(Comm.ObjToStr(this.cmb_FaceQuality.Value));//表面质量
				Billet.Add(Comm.ObjToStr(this.cmb_BugReaSon.Value));//表面缺陷
				Billet.Add(Comm.ObjToStr(this.cmb_DecideResult.Value));//判定结果
				Billet.Add(Convert.ToDateTime(this.dte_InTime.Value).ToString("yyyy-MM-dd"));//入库时间
				Billet.Add(this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim());//吊号
				Billet.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);//登记人
				Billet.Add(this.cmb_InMan.Text.Trim());//入库人
				Billet.Add(this.txt_StoveNo.Text.Trim());//炉号
				Billet.Add(this.txt_PlanNO.Text.Trim());//计划号
				Billet.Add(this.txt_OrderNOEdit.Text.Trim());//订单号
				Billet.Add(Comm.ObjToStr(this.cmb_Rule.Value));//定尺++
				Billet.Add(Comm.ObjToStr(this.cmb_ClipType.Value));//切边类型
				Billet.Add(this.txt_ReMark.Text.Trim());//备注
				string strOut = "";
				object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager",
					"AddTurnoffCollect",new object[]{Billet},out strOut);
				if(obj!=null && obj.ToString()=="1")
				{
					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Blue;
					txt_Comments.Text="成功入库！";	
					this.Txt_FNum.Value = Comm.ObjToInt(this.Txt_FNum.Value) + 1;
					txt_RollTopEdit.Focus();
					txt_RollTopEdit.SelectAll();

					txt_Ply.Value=0;
					txt_Width.Value=0;
					txt_Length.Value=0;
					txt_StoveNo.Clear();
					txt_WEIGHT.Value=0;
					txt_PlanNO.Clear();
					txt_OrderNOEdit.Clear();

					System.Data.DataRow[] row=this.ds_Coll.Tables["KCJ_ZY_TASKDETAIL"].Select("BILLETID='"+this.txt_RollTopEdit.Text+"-"+this.txt_Roll.Text+"."+txt_MBilletID.Text+"."+txt_RollEnd.Text+"'");
					for(int i=row.Length-1;i>=0;i--)
						this.ds_Coll.Tables["KCJ_ZY_TASKDETAIL"].Rows.Remove(row[i]);
					this.ds_Coll.Tables["KCJ_ZY_TASKDETAIL"].AcceptChanges();

					string sqlStr = " AND B.CONDOLENUMBER = '" + this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim() + "'";
					this.GetInStorage1(sqlStr);
					
				}
				else
				{
					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
					txt_Comments.Text = Comm.ObjToStr(obj)+strOut;

				}
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}

		}

		#endregion

		#region 撤销收集入库 
		private void DelCollect()
		{
			try
			{
				this.gd_Turnoff.UpdateData();
				System.Collections.ArrayList BillectID = new ArrayList();
				BillectID = Comm.GetFieldValue(this.gd_Turnoff,"FLAG","BILLETID");

				if(BillectID.Count == 0)
				{
					MessageBox.Show("请您选择要撤销的板块","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
					return ;
				}
                
				string strMan = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
				string strOut = "";
				object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager",
                    "DelTurnoffCollect", new object[] { BillectID, strMan, ClientCommon._UserInfo.UserRoleID }, out strOut);
				if(obj!=null && obj.ToString()=="1")
				{
					System.Data.DataRow[] row_ = this.ds_All.Tables["KCJ_TURNOFF"].Select("FLAG='TRUE'");
					for(int i=row_.Length-1;i>=0;i--)
					{
						this.ds_All.Tables["KCJ_TURNOFF"].Rows.Remove(row_[i]);
						this.ds_All.Tables["KCJ_TURNOFF"].AcceptChanges();
					}
					string sqlStr="AND BILLETID="+this.txt_RollTopEdit.Text+"-"+this.txt_Roll.Text+"."+txt_MBilletID.Text+"."+txt_RollEnd.Text;
					this.GetREI("");
					Comm.SetGridSumArea(this.gd_Turnoff);
				
				}
				else
				{
					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
				}
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}

		}
		#endregion

		#region "导出"
		private void Export(Infragistics.Win.UltraWinGrid.UltraGrid gd,string exceltxt)
		{
			try
			{
				string filename = exceltxt;
				this.excelExporter.Export(gd,filename);
				System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename);
				st.WindowStyle =System.Diagnostics.ProcessWindowStyle.Maximized ; 
				System.Diagnostics.Process.Start(st);
			}
			catch(System.Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
		#endregion

	


	}
}
