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;
using System.Diagnostics;

namespace Core.XgMes.Client.JGKC.RollManager
{
	/// <summary>
	/// Frm_PlanDrawUp 的摘要说明。
	/// </summary>
	public class Frm_PlanDrawUp : Mes.ClientFrameWork.FrmBase
	{
		private System.Windows.Forms.Panel panel1;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
		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.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl1;
		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl2;
		private System.Windows.Forms.Panel panel2;
		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox2;
		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel2;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Buttress;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Sleen;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangP;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollHao;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactID;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
        private Infragistics.Win.Misc.UltraLabel Lab_To;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_QuShi;
		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_End_Y;
		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 ultraLabel8;
		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
		private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_EditType_Y;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Begin_Y;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Top_Y;
		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Stuff;
		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Plan;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PaiHao;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BanHao;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollHao;
		private Infragistics.Win.UltraWinTabControl.UltraTabControl tab_Coroll;
		private Infragistics.Win.UltraWinGrid.UltraGrid gb_PlanState;
		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BNumber;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BNumber;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_Time;
		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProcLine;
		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_IS;
        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultSJ;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
        private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo1;
        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
        private Infragistics.Win.UltraWinTabControl.UltraTabControl ultraTabControl1;
        private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage2;
        private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage3;
        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl3;
        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
        private Panel panel3;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
        private Infragistics.Win.Misc.UltraLabel ultraLabel11;
        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl4;
        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid2;
        private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox3;
        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel3;
        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid3;
        private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox4;
        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel4;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Gylx;
        private Infragistics.Win.Misc.UltraLabel ultraLabel15;
        private Infragistics.Win.Misc.UltraLabel ultraLabel12;
        private Infragistics.Win.Misc.UltraLabel lab_Caption;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark;
        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_PlanBuress;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_div_no;
        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_ply;
        private Infragistics.Win.UltraWinGrid.UltraCombo txt_Num;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
        private Infragistics.Win.Misc.UltraLabel ultraLabel19;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark2;
        private Infragistics.Win.Misc.UltraLabel ultraLabel18;
        private Infragistics.Win.Misc.UltraButton Btn_UpdateCar;
		private System.ComponentModel.IContainer components;

		public Frm_PlanDrawUp()
		{
			//
			// 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.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 12, true);
            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 11, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 11, true);
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLASSORDER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLASSTEAM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOCKTYPE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 1);
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("PLAN_MAIN", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_COIL_THK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_COIL_WTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn69 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_COIL_LEN");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn70 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn71 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn72 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XF_FLAG");
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand4 = new Infragistics.Win.UltraWinGrid.UltraGridBand("PLAN_DETAIL", 0);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn73 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Ascending, false);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn74 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn75 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn76 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn77 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NUM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn78 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn79 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD2");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn80 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETAIL_TIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn81 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_CAR_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn82 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_BUTTRESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn83 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn84 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XF_FLAG");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn85 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GUID", 0);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn86 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WEIGHT", 1);
            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem9 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem10 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem11 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem12 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem13 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem14 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem15 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem16 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem17 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem18 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem19 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem20 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem21 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem22 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem23 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem24 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem25 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem26 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem27 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem28 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem29 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem30 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_KC");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_GY");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PLAN");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("AFFIRM");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCEL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PlanZD");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DOWN_PLAN");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_PLAN");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_DOWN_PLAN");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Edit");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PrintNew");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_KC");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_GY");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PLAN");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("AFFIRM");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCEL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool19 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DOWN_PLAN");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool20 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_PLAN");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool21 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool22 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool23 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PlanZD");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool24 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_DOWN_PLAN");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool25 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Edit");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool26 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PrintNew");
            Infragistics.Win.ValueListItem valueListItem31 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem32 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem33 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem34 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem35 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem36 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem37 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem38 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem39 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem40 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem41 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem42 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem43 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem44 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem45 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem46 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem47 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem48 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem49 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem50 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem51 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem52 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem53 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem54 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem55 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem56 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem57 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem58 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem59 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem60 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem61 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem62 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem63 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem64 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem65 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem66 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab(true);
            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab2 = new Infragistics.Win.UltraWinTabControl.UltraTab();
            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
            this.gb_Stuff = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.panel2 = new System.Windows.Forms.Panel();
            this.cmb_Gylx = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_QuShi = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraTabPageControl2 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
            this.gb_Plan = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.ultraExpandableGroupBox2 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
            this.ultraExpandableGroupBoxPanel2 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
            this.gb_PlanState = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
            this.Btn_UpdateCar = new Infragistics.Win.Misc.UltraButton();
            this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_Remark2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_Num = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.txt_div_no = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.cmb_PlanBuress = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.dte_Time = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_Scid_End_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_EditType_Y = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
            this.txt_Scid_Begin_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_Scid_Top_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
            this.panel1 = new System.Windows.Forms.Panel();
            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
            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.lab_Caption = new Infragistics.Win.Misc.UltraLabel();
            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.ultSJ = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
            this.cmb_IS = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
            this.chk_ProcLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.txt_BNumber = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_BNumber = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.Chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.cmb_Sleen = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.chk_PaiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_GangP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_BanHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_RollHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_RollHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_PactID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
            this.tab_Coroll = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
            this.ultraCombo1 = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraTabControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
            this.ultraTabSharedControlsPage2 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
            this.ultraTabSharedControlsPage3 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
            this.ultraTabPageControl3 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
            this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.panel3 = new System.Windows.Forms.Panel();
            this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraTabPageControl4 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
            this.ultraGrid2 = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.ultraExpandableGroupBox3 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
            this.ultraExpandableGroupBoxPanel3 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
            this.ultraGrid3 = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.ultraExpandableGroupBox4 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
            this.ultraExpandableGroupBoxPanel4 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
            this.ultraTabPageControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gb_Stuff)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Gylx)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_QuShi)).BeginInit();
            this.ultraTabPageControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gb_Plan)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).BeginInit();
            this.ultraExpandableGroupBox2.SuspendLayout();
            this.ultraExpandableGroupBoxPanel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gb_PlanState)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
            this.ultraExpandableGroupBox1.SuspendLayout();
            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ply)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_div_no)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_PlanBuress)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_EditType_Y)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
            this.ultraGroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultSJ)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_IS)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tab_Coroll)).BeginInit();
            this.tab_Coroll.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).BeginInit();
            this.ultraTabControl1.SuspendLayout();
            this.ultraTabPageControl3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
            this.panel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
            this.ultraTabPageControl4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox3)).BeginInit();
            this.ultraExpandableGroupBox3.SuspendLayout();
            this.ultraExpandableGroupBoxPanel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox4)).BeginInit();
            this.ultraExpandableGroupBox4.SuspendLayout();
            this.SuspendLayout();
            // 
            // ultraTabPageControl1
            // 
            this.ultraTabPageControl1.Controls.Add(this.gb_Stuff);
            this.ultraTabPageControl1.Controls.Add(this.panel2);
            this.ultraTabPageControl1.Location = new System.Drawing.Point(-10000, -10000);
            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
            this.ultraTabPageControl1.Size = new System.Drawing.Size(1354, 614);
            // 
            // gb_Stuff
            // 
            ultraGridColumn1.Header.Caption = "出库单号";
            ultraGridColumn1.Header.VisiblePosition = 0;
            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 29;
            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn2.Header.Caption = "钢卷号";
            ultraGridColumn2.Header.VisiblePosition = 1;
            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn3.Header.Caption = "板坯号";
            ultraGridColumn3.Header.VisiblePosition = 2;
            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn4.Header.Caption = "合同号";
            ultraGridColumn4.Header.VisiblePosition = 3;
            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn5.Header.Caption = "订单号";
            ultraGridColumn5.Header.VisiblePosition = 4;
            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn6.Header.Caption = "交货期";
            ultraGridColumn6.Header.VisiblePosition = 5;
            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 28;
            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn7.Header.Caption = "内径";
            ultraGridColumn7.Header.VisiblePosition = 6;
            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 10;
            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn8.Header.Caption = "外径";
            ultraGridColumn8.Header.VisiblePosition = 7;
            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 11;
            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn9.Header.Caption = "长度";
            ultraGridColumn9.Header.VisiblePosition = 8;
            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 16;
            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn10.Header.Caption = "厚度 ";
            ultraGridColumn10.Header.VisiblePosition = 9;
            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 14;
            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn11.Header.Caption = "宽度";
            ultraGridColumn11.Header.VisiblePosition = 10;
            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 15;
            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn12.Header.Caption = "计算重量";
            ultraGridColumn12.Header.VisiblePosition = 11;
            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 17;
            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn13.Header.Caption = "实重量";
            ultraGridColumn13.Header.VisiblePosition = 12;
            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 18;
            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn14.Header.Caption = "牌号";
            ultraGridColumn14.Header.VisiblePosition = 13;
            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn15.Header.Caption = "综合判定";
            ultraGridColumn15.Header.VisiblePosition = 14;
            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 20;
            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn16.Header.Caption = "特记事项";
            ultraGridColumn16.Header.VisiblePosition = 15;
            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 27;
            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn17.Header.Caption = "车辆号";
            ultraGridColumn17.Header.VisiblePosition = 16;
            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 30;
            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn18.Header.Caption = "质保书编号";
            ultraGridColumn18.Header.VisiblePosition = 17;
            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 26;
            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn19.Header.Caption = "垛位";
            ultraGridColumn19.Header.VisiblePosition = 18;
            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn20.Header.Caption = "登记人";
            ultraGridColumn20.Header.VisiblePosition = 19;
            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 33;
            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn21.Header.Caption = "登记时间";
            ultraGridColumn21.Header.VisiblePosition = 20;
            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 34;
            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn22.Header.Caption = "入库班次";
            ultraGridColumn22.Header.VisiblePosition = 21;
            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 31;
            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn23.Header.Caption = "入库班组";
            ultraGridColumn23.Header.VisiblePosition = 22;
            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 32;
            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn24.Header.Caption = "";
            ultraGridColumn24.Header.VisiblePosition = 23;
            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(32, 0);
            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn24.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
            ultraGridColumn25.Header.Caption = "订单类型";
            ultraGridColumn25.Header.VisiblePosition = 24;
            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 19;
            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn26.Header.Caption = "订单厚度";
            ultraGridColumn26.Header.VisiblePosition = 25;
            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 12;
            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn27.Header.Caption = "订单宽度";
            ultraGridColumn27.Header.VisiblePosition = 27;
            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 13;
            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 0);
            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn28.Header.Caption = "炉号";
            ultraGridColumn28.Header.VisiblePosition = 26;
            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn29.Header.Caption = "批号";
            ultraGridColumn29.Header.VisiblePosition = 28;
            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn30.Header.Caption = "执行标准";
            ultraGridColumn30.Header.VisiblePosition = 29;
            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand1.Columns.AddRange(new object[] {
            ultraGridColumn1,
            ultraGridColumn2,
            ultraGridColumn3,
            ultraGridColumn4,
            ultraGridColumn5,
            ultraGridColumn6,
            ultraGridColumn7,
            ultraGridColumn8,
            ultraGridColumn9,
            ultraGridColumn10,
            ultraGridColumn11,
            ultraGridColumn12,
            ultraGridColumn13,
            ultraGridColumn14,
            ultraGridColumn15,
            ultraGridColumn16,
            ultraGridColumn17,
            ultraGridColumn18,
            ultraGridColumn19,
            ultraGridColumn20,
            ultraGridColumn21,
            ultraGridColumn22,
            ultraGridColumn23,
            ultraGridColumn24,
            ultraGridColumn25,
            ultraGridColumn26,
            ultraGridColumn27,
            ultraGridColumn28,
            ultraGridColumn29,
            ultraGridColumn30});
            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            summarySettings1.DisplayFormat = "{0}KG";
            summarySettings1.GroupBySummaryValueAppearance = appearance1;
            summarySettings2.DisplayFormat = "{0}KG";
            summarySettings2.GroupBySummaryValueAppearance = appearance2;
            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
            summarySettings1,
            summarySettings2});
            ultraGridBand1.UseRowLayout = true;
            this.gb_Stuff.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
            this.gb_Stuff.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gb_Stuff.DisplayLayout.GroupByBox.Hidden = true;
            this.gb_Stuff.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            this.gb_Stuff.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.gb_Stuff.DisplayLayout.Override.CellPadding = 0;
            this.gb_Stuff.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            this.gb_Stuff.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.gb_Stuff.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            this.gb_Stuff.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gb_Stuff.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gb_Stuff.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            this.gb_Stuff.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            this.gb_Stuff.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gb_Stuff.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gb_Stuff.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gb_Stuff.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gb_Stuff.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gb_Stuff.Location = new System.Drawing.Point(0, 0);
            this.gb_Stuff.Name = "gb_Stuff";
            this.gb_Stuff.Size = new System.Drawing.Size(1354, 566);
            this.gb_Stuff.TabIndex = 9;
            this.gb_Stuff.Text = "ultraGrid2";
            this.gb_Stuff.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Stuff_CellChange);
            // 
            // panel2
            // 
            this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel2.Controls.Add(this.cmb_Gylx);
            this.panel2.Controls.Add(this.ultraLabel15);
            this.panel2.Controls.Add(this.txt_QuShi);
            this.panel2.Controls.Add(this.ultraLabel3);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel2.Location = new System.Drawing.Point(0, 566);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(1354, 48);
            this.panel2.TabIndex = 0;
            // 
            // cmb_Gylx
            // 
            this.cmb_Gylx.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Gylx.DisplayMember = "";
            this.cmb_Gylx.Location = new System.Drawing.Point(430, 13);
            this.cmb_Gylx.Name = "cmb_Gylx";
            this.cmb_Gylx.Size = new System.Drawing.Size(150, 21);
            this.cmb_Gylx.TabIndex = 706;
            this.cmb_Gylx.ValueMember = "";
            // 
            // ultraLabel15
            // 
            this.ultraLabel15.Location = new System.Drawing.Point(374, 18);
            this.ultraLabel15.Name = "ultraLabel15";
            this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel15.TabIndex = 705;
            this.ultraLabel15.Text = "工艺类型";
            // 
            // txt_QuShi
            // 
            this.txt_QuShi.AutoSize = true;
            this.txt_QuShi.FlatMode = true;
            this.txt_QuShi.Location = new System.Drawing.Point(62, 16);
            this.txt_QuShi.Name = "txt_QuShi";
            this.txt_QuShi.Size = new System.Drawing.Size(306, 19);
            this.txt_QuShi.TabIndex = 601;
            // 
            // ultraLabel3
            // 
            this.ultraLabel3.Location = new System.Drawing.Point(8, 18);
            this.ultraLabel3.Name = "ultraLabel3";
            this.ultraLabel3.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel3.TabIndex = 602;
            this.ultraLabel3.Text = "工艺事项";
            // 
            // ultraTabPageControl2
            // 
            this.ultraTabPageControl2.Controls.Add(this.gb_Plan);
            this.ultraTabPageControl2.Controls.Add(this.ultraExpandableGroupBox2);
            this.ultraTabPageControl2.Controls.Add(this.ultraExpandableGroupBox1);
            this.ultraTabPageControl2.Location = new System.Drawing.Point(2, 21);
            this.ultraTabPageControl2.Name = "ultraTabPageControl2";
            this.ultraTabPageControl2.Size = new System.Drawing.Size(1354, 614);
            // 
            // gb_Plan
            // 
            ultraGridColumn31.Header.Caption = "出库单号";
            ultraGridColumn31.Header.VisiblePosition = 0;
            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 25;
            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn32.Header.Caption = "钢卷号";
            ultraGridColumn32.Header.VisiblePosition = 1;
            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn33.Header.Caption = "板坯号";
            ultraGridColumn33.Header.VisiblePosition = 2;
            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(110, 0);
            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn34.Header.Caption = "合同号";
            ultraGridColumn34.Header.VisiblePosition = 3;
            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn35.Header.Caption = "订单号";
            ultraGridColumn35.Header.VisiblePosition = 4;
            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn36.Header.Caption = "交货期";
            ultraGridColumn36.Header.VisiblePosition = 5;
            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 24;
            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn37.Header.Caption = "内径";
            ultraGridColumn37.Header.VisiblePosition = 6;
            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 11;
            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn38.Header.Caption = "外径";
            ultraGridColumn38.Header.VisiblePosition = 7;
            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 12;
            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn39.Header.Caption = "长度";
            ultraGridColumn39.Header.VisiblePosition = 8;
            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 17;
            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn40.Header.Caption = "厚度 ";
            ultraGridColumn40.Header.VisiblePosition = 9;
            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 15;
            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn41.Header.Caption = "宽度";
            ultraGridColumn41.Header.VisiblePosition = 10;
            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 16;
            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn42.Header.Caption = "计算重量";
            ultraGridColumn42.Header.VisiblePosition = 11;
            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 18;
            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn43.Header.Caption = "实重量";
            ultraGridColumn43.Header.VisiblePosition = 12;
            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 19;
            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn44.Header.Caption = "牌号";
            ultraGridColumn44.Header.VisiblePosition = 13;
            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 10;
            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn45.Header.Caption = "综合判定";
            ultraGridColumn45.Header.VisiblePosition = 14;
            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 21;
            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn46.Header.Caption = "特记事项";
            ultraGridColumn46.Header.VisiblePosition = 15;
            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 23;
            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn47.Header.Caption = "车辆号";
            ultraGridColumn47.Header.VisiblePosition = 16;
            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 26;
            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn48.Header.Caption = "质保书编号";
            ultraGridColumn48.Header.VisiblePosition = 17;
            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 22;
            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn49.Header.Caption = "垛位";
            ultraGridColumn49.Header.VisiblePosition = 18;
            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn49.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn50.Header.Caption = "登记人";
            ultraGridColumn50.Header.VisiblePosition = 19;
            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 29;
            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn51.Header.Caption = "登记时间";
            ultraGridColumn51.Header.VisiblePosition = 20;
            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 30;
            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn52.Header.Caption = "计划班次";
            ultraGridColumn52.Header.VisiblePosition = 21;
            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 27;
            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn52.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn53.Header.Caption = "计划班组";
            ultraGridColumn53.Header.VisiblePosition = 22;
            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 28;
            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn53.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn54.Header.Caption = "工单号";
            ultraGridColumn54.Header.VisiblePosition = 23;
            ultraGridColumn54.Hidden = true;
            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn54.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(89, 0);
            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn55.Header.Caption = "";
            ultraGridColumn55.Header.VisiblePosition = 24;
            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn55.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(38, 0);
            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn55.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
            ultraGridColumn56.Header.Caption = "批号";
            ultraGridColumn56.Header.VisiblePosition = 26;
            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn56.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(103, 0);
            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn57.Header.Caption = "开平线";
            ultraGridColumn57.Header.VisiblePosition = 27;
            ultraGridColumn57.Hidden = true;
            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn57.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(73, 0);
            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 2;
            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 2;
            ultraGridColumn58.Header.Caption = "订单类型";
            ultraGridColumn58.Header.VisiblePosition = 28;
            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 20;
            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn58.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn59.Header.Caption = "订单厚度";
            ultraGridColumn59.Header.VisiblePosition = 29;
            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 13;
            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn59.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 0);
            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn60.Header.Caption = "订单宽度";
            ultraGridColumn60.Header.VisiblePosition = 32;
            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 14;
            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn60.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn61.Header.Caption = "工艺类型";
            ultraGridColumn61.Header.VisiblePosition = 30;
            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn62.Header.Caption = "炉号";
            ultraGridColumn62.Header.VisiblePosition = 25;
            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn62.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn63.Header.Caption = "执行标准";
            ultraGridColumn63.Header.VisiblePosition = 31;
            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn63.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand2.Columns.AddRange(new object[] {
            ultraGridColumn31,
            ultraGridColumn32,
            ultraGridColumn33,
            ultraGridColumn34,
            ultraGridColumn35,
            ultraGridColumn36,
            ultraGridColumn37,
            ultraGridColumn38,
            ultraGridColumn39,
            ultraGridColumn40,
            ultraGridColumn41,
            ultraGridColumn42,
            ultraGridColumn43,
            ultraGridColumn44,
            ultraGridColumn45,
            ultraGridColumn46,
            ultraGridColumn47,
            ultraGridColumn48,
            ultraGridColumn49,
            ultraGridColumn50,
            ultraGridColumn51,
            ultraGridColumn52,
            ultraGridColumn53,
            ultraGridColumn54,
            ultraGridColumn55,
            ultraGridColumn56,
            ultraGridColumn57,
            ultraGridColumn58,
            ultraGridColumn59,
            ultraGridColumn60,
            ultraGridColumn61,
            ultraGridColumn62,
            ultraGridColumn63});
            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            ultraGridBand2.UseRowLayout = true;
            this.gb_Plan.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
            this.gb_Plan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gb_Plan.DisplayLayout.GroupByBox.Hidden = true;
            this.gb_Plan.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            this.gb_Plan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.gb_Plan.DisplayLayout.Override.CellPadding = 0;
            this.gb_Plan.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            this.gb_Plan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.gb_Plan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            this.gb_Plan.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gb_Plan.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gb_Plan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            this.gb_Plan.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            this.gb_Plan.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gb_Plan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gb_Plan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gb_Plan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gb_Plan.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gb_Plan.Location = new System.Drawing.Point(0, 0);
            this.gb_Plan.Name = "gb_Plan";
            this.gb_Plan.Size = new System.Drawing.Size(1354, 103);
            this.gb_Plan.TabIndex = 10;
            this.gb_Plan.Text = "ultraGrid1";
            this.gb_Plan.AfterRowActivate += new System.EventHandler(this.gb_Plan_AfterRowActivate);
            this.gb_Plan.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Plan_CellChange);
            // 
            // ultraExpandableGroupBox2
            // 
            this.ultraExpandableGroupBox2.Controls.Add(this.ultraExpandableGroupBoxPanel2);
            this.ultraExpandableGroupBox2.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.ultraExpandableGroupBox2.ExpandedSize = new System.Drawing.Size(860, 243);
            this.ultraExpandableGroupBox2.Location = new System.Drawing.Point(0, 103);
            this.ultraExpandableGroupBox2.Name = "ultraExpandableGroupBox2";
            this.ultraExpandableGroupBox2.Size = new System.Drawing.Size(1354, 396);
            this.ultraExpandableGroupBox2.SupportThemes = false;
            this.ultraExpandableGroupBox2.TabIndex = 2;
            this.ultraExpandableGroupBox2.Text = "计划下发情况";
            // 
            // ultraExpandableGroupBoxPanel2
            // 
            this.ultraExpandableGroupBoxPanel2.Controls.Add(this.gb_PlanState);
            this.ultraExpandableGroupBoxPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraExpandableGroupBoxPanel2.Location = new System.Drawing.Point(3, 19);
            this.ultraExpandableGroupBoxPanel2.Name = "ultraExpandableGroupBoxPanel2";
            this.ultraExpandableGroupBoxPanel2.Size = new System.Drawing.Size(1348, 374);
            this.ultraExpandableGroupBoxPanel2.TabIndex = 0;
            // 
            // gb_PlanState
            // 
            ultraGridColumn64.Header.Caption = "出库单号";
            ultraGridColumn64.Header.VisiblePosition = 0;
            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn64.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(145, 0);
            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn65.Header.Caption = "工单号";
            ultraGridColumn65.Header.VisiblePosition = 1;
            ultraGridColumn65.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn65.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn65.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(117, 0);
            ultraGridColumn65.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn65.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn66.Header.Caption = "卷号";
            ultraGridColumn66.Header.VisiblePosition = 2;
            ultraGridColumn66.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn66.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn66.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(178, 0);
            ultraGridColumn66.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn66.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn67.Header.Caption = "厚";
            ultraGridColumn67.Header.VisiblePosition = 3;
            ultraGridColumn67.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn67.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn67.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
            ultraGridColumn67.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn67.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn68.Header.Caption = "宽";
            ultraGridColumn68.Header.VisiblePosition = 4;
            ultraGridColumn68.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn68.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn68.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
            ultraGridColumn68.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn68.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn69.Header.Caption = "长";
            ultraGridColumn69.Header.VisiblePosition = 5;
            ultraGridColumn69.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn69.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn69.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(79, 0);
            ultraGridColumn69.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn69.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn70.Header.Caption = "牌号";
            ultraGridColumn70.Header.VisiblePosition = 6;
            ultraGridColumn70.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn70.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn70.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(118, 0);
            ultraGridColumn70.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn70.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn71.Header.Caption = "总重";
            ultraGridColumn71.Header.VisiblePosition = 7;
            ultraGridColumn71.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn71.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn71.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 0);
            ultraGridColumn71.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn71.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn72.Header.Caption = "下发情况";
            ultraGridColumn72.Header.VisiblePosition = 8;
            ultraGridColumn72.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn72.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn72.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
            ultraGridColumn72.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn72.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand3.Columns.AddRange(new object[] {
            ultraGridColumn64,
            ultraGridColumn65,
            ultraGridColumn66,
            ultraGridColumn67,
            ultraGridColumn68,
            ultraGridColumn69,
            ultraGridColumn70,
            ultraGridColumn71,
            ultraGridColumn72});
            ultraGridBand3.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            ultraGridBand3.UseRowLayout = true;
            ultraGridColumn73.Header.Caption = "工单号";
            ultraGridColumn73.Header.VisiblePosition = 0;
            ultraGridColumn73.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn73.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn73.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn73.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn73.Width = 120;
            ultraGridColumn74.Header.Caption = "卷号";
            ultraGridColumn74.Header.VisiblePosition = 1;
            ultraGridColumn74.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn74.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn74.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn74.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn74.Width = 123;
            ultraGridColumn75.Header.Caption = "长";
            ultraGridColumn75.Header.VisiblePosition = 2;
            ultraGridColumn75.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn75.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn75.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn75.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn75.Width = 69;
            ultraGridColumn76.Header.Caption = "宽";
            ultraGridColumn76.Header.VisiblePosition = 3;
            ultraGridColumn76.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn76.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn76.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn76.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn76.Width = 64;
            ultraGridColumn77.Header.Caption = "块数";
            ultraGridColumn77.Header.VisiblePosition = 4;
            ultraGridColumn77.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn77.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn77.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn77.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn77.Width = 55;
            ultraGridColumn78.Header.Caption = "厚";
            ultraGridColumn78.Header.VisiblePosition = 5;
            ultraGridColumn78.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn78.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn78.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn78.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn78.Width = 47;
            ultraGridColumn79.Header.Caption = "牌号";
            ultraGridColumn79.Header.VisiblePosition = 7;
            ultraGridColumn79.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn79.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn79.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn79.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn79.Width = 101;
            ultraGridColumn80.Header.Caption = "计划生产时间";
            ultraGridColumn80.Header.VisiblePosition = 8;
            ultraGridColumn80.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn80.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn80.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn80.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn81.Header.Caption = "计划车牌号";
            ultraGridColumn81.Header.VisiblePosition = 9;
            ultraGridColumn81.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn81.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn81.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn81.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn81.Width = 87;
            ultraGridColumn82.Header.Caption = "计划堆位";
            ultraGridColumn82.Header.VisiblePosition = 10;
            ultraGridColumn82.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn82.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn82.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn82.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn82.Width = 65;
            ultraGridColumn83.Header.Caption = "备注";
            ultraGridColumn83.Header.VisiblePosition = 11;
            ultraGridColumn83.RowLayoutColumnInfo.OriginX = 10;
            ultraGridColumn83.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn83.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn83.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn83.Width = 146;
            ultraGridColumn84.Header.Caption = "下发情况";
            ultraGridColumn84.Header.VisiblePosition = 12;
            ultraGridColumn84.RowLayoutColumnInfo.OriginX = 11;
            ultraGridColumn84.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn84.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn84.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn84.Width = 71;
            ultraGridColumn85.Header.VisiblePosition = 13;
            ultraGridColumn85.Hidden = true;
            ultraGridColumn85.RowLayoutColumnInfo.OriginX = 999;
            ultraGridColumn85.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn85.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn85.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn86.Header.Caption = "理论重量";
            ultraGridColumn86.Header.VisiblePosition = 6;
            ultraGridColumn86.RowLayoutColumnInfo.OriginX = 20;
            ultraGridColumn86.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn86.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn86.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand4.Columns.AddRange(new object[] {
            ultraGridColumn73,
            ultraGridColumn74,
            ultraGridColumn75,
            ultraGridColumn76,
            ultraGridColumn77,
            ultraGridColumn78,
            ultraGridColumn79,
            ultraGridColumn80,
            ultraGridColumn81,
            ultraGridColumn82,
            ultraGridColumn83,
            ultraGridColumn84,
            ultraGridColumn85,
            ultraGridColumn86});
            this.gb_PlanState.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
            this.gb_PlanState.DisplayLayout.BandsSerializer.Add(ultraGridBand4);
            this.gb_PlanState.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gb_PlanState.DisplayLayout.GroupByBox.Hidden = true;
            this.gb_PlanState.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            this.gb_PlanState.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.gb_PlanState.DisplayLayout.Override.CellPadding = 0;
            this.gb_PlanState.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            this.gb_PlanState.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.gb_PlanState.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            this.gb_PlanState.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gb_PlanState.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gb_PlanState.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            this.gb_PlanState.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            this.gb_PlanState.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gb_PlanState.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gb_PlanState.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gb_PlanState.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gb_PlanState.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gb_PlanState.Location = new System.Drawing.Point(0, 0);
            this.gb_PlanState.Name = "gb_PlanState";
            this.gb_PlanState.Size = new System.Drawing.Size(1348, 374);
            this.gb_PlanState.TabIndex = 10;
            this.gb_PlanState.Text = "ultraGrid3";
            this.gb_PlanState.InitializeLayout += new Infragistics.Win.UltraWinGrid.InitializeLayoutEventHandler(this.gb_PlanState_InitializeLayout);
            this.gb_PlanState.AfterRowActivate += new System.EventHandler(this.gb_PlanState_AfterRowActivate);
            // 
            // ultraExpandableGroupBox1
            // 
            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(1024, 80);
            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 499);
            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1354, 115);
            this.ultraExpandableGroupBox1.SupportThemes = false;
            this.ultraExpandableGroupBox1.TabIndex = 1;
            this.ultraExpandableGroupBox1.Text = "工单号编辑";
            // 
            // ultraExpandableGroupBoxPanel1
            // 
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.Btn_UpdateCar);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraTextEditor3);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel19);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Remark2);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel18);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Num);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel17);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_ply);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_div_no);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel16);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel14);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Remark);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_PlanBuress);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel13);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel12);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel9);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Width);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.dte_Time);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Length);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_End_Y);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ClassTeam);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel10);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ClassOrder);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel8);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_EditType_Y);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_Begin_Y);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_Top_Y);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
            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(1348, 93);
            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
            // 
            // Btn_UpdateCar
            // 
            this.Btn_UpdateCar.Location = new System.Drawing.Point(1036, 59);
            this.Btn_UpdateCar.Name = "Btn_UpdateCar";
            this.Btn_UpdateCar.Size = new System.Drawing.Size(72, 24);
            this.Btn_UpdateCar.TabIndex = 642;
            this.Btn_UpdateCar.Text = "修改车号";
            this.Btn_UpdateCar.Click += new System.EventHandler(this.Btn_UpdateCar_Click);
            // 
            // ultraTextEditor3
            // 
            this.ultraTextEditor3.AutoSize = true;
            this.ultraTextEditor3.FlatMode = true;
            this.ultraTextEditor3.Location = new System.Drawing.Point(668, 59);
            this.ultraTextEditor3.Name = "ultraTextEditor3";
            this.ultraTextEditor3.ReadOnly = true;
            this.ultraTextEditor3.Size = new System.Drawing.Size(116, 19);
            this.ultraTextEditor3.TabIndex = 641;
            // 
            // ultraLabel19
            // 
            this.ultraLabel19.Location = new System.Drawing.Point(637, 61);
            this.ultraLabel19.Name = "ultraLabel19";
            this.ultraLabel19.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel19.TabIndex = 640;
            this.ultraLabel19.Text = "顺序";
            // 
            // txt_Remark2
            // 
            this.txt_Remark2.AutoSize = true;
            this.txt_Remark2.Location = new System.Drawing.Point(66, 59);
            this.txt_Remark2.Multiline = true;
            this.txt_Remark2.Name = "txt_Remark2";
            this.txt_Remark2.Size = new System.Drawing.Size(565, 19);
            this.txt_Remark2.TabIndex = 638;
            // 
            // ultraLabel18
            // 
            this.ultraLabel18.Location = new System.Drawing.Point(23, 59);
            this.ultraLabel18.Name = "ultraLabel18";
            this.ultraLabel18.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel18.TabIndex = 637;
            this.ultraLabel18.Text = "备注2:";
            // 
            // txt_Num
            // 
            this.txt_Num.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.txt_Num.Cursor = System.Windows.Forms.Cursors.IBeam;
            this.txt_Num.DisplayMember = "";
            this.txt_Num.FlatMode = true;
            this.txt_Num.Location = new System.Drawing.Point(825, 31);
            this.txt_Num.Name = "txt_Num";
            this.txt_Num.Size = new System.Drawing.Size(125, 19);
            this.txt_Num.TabIndex = 636;
            this.txt_Num.Tag = "";
            this.txt_Num.ValueMember = "";
            // 
            // ultraLabel17
            // 
            this.ultraLabel17.Location = new System.Drawing.Point(479, 34);
            this.ultraLabel17.Name = "ultraLabel17";
            this.ultraLabel17.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel17.TabIndex = 635;
            this.ultraLabel17.Text = "厚度";
            // 
            // txt_ply
            // 
            this.txt_ply.FlatMode = true;
            this.txt_ply.Location = new System.Drawing.Point(514, 31);
            this.txt_ply.MaskInput = "nnnnnnnn.nn";
            this.txt_ply.Name = "txt_ply";
            this.txt_ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
            this.txt_ply.PromptChar = ' ';
            this.txt_ply.Size = new System.Drawing.Size(91, 19);
            this.txt_ply.TabIndex = 634;
            // 
            // txt_div_no
            // 
            this.txt_div_no.AutoSize = true;
            this.txt_div_no.FlatMode = true;
            this.txt_div_no.Location = new System.Drawing.Point(992, 32);
            this.txt_div_no.Name = "txt_div_no";
            this.txt_div_no.Size = new System.Drawing.Size(116, 19);
            this.txt_div_no.TabIndex = 632;
            this.txt_div_no.Text = "赣K";
            // 
            // ultraLabel16
            // 
            this.ultraLabel16.Location = new System.Drawing.Point(956, 34);
            this.ultraLabel16.Name = "ultraLabel16";
            this.ultraLabel16.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel16.TabIndex = 631;
            this.ultraLabel16.Text = "车号";
            // 
            // ultraLabel14
            // 
            this.ultraLabel14.Location = new System.Drawing.Point(1133, 35);
            this.ultraLabel14.Name = "ultraLabel14";
            this.ultraLabel14.Size = new System.Drawing.Size(80, 16);
            this.ultraLabel14.TabIndex = 630;
            this.ultraLabel14.Text = "计划成品堆位";
            // 
            // txt_Remark
            // 
            this.txt_Remark.AutoSize = true;
            this.txt_Remark.Location = new System.Drawing.Point(826, 7);
            this.txt_Remark.Multiline = true;
            this.txt_Remark.Name = "txt_Remark";
            this.txt_Remark.Size = new System.Drawing.Size(600, 19);
            this.txt_Remark.TabIndex = 628;
            // 
            // cmb_PlanBuress
            // 
            this.cmb_PlanBuress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_PlanBuress.DisplayMember = "";
            this.cmb_PlanBuress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_PlanBuress.FlatMode = true;
            this.cmb_PlanBuress.Location = new System.Drawing.Point(1219, 32);
            this.cmb_PlanBuress.Name = "cmb_PlanBuress";
            this.cmb_PlanBuress.Size = new System.Drawing.Size(88, 19);
            this.cmb_PlanBuress.TabIndex = 629;
            this.cmb_PlanBuress.Tag = "";
            this.cmb_PlanBuress.ValueMember = "";
            // 
            // ultraLabel13
            // 
            this.ultraLabel13.Location = new System.Drawing.Point(790, 8);
            this.ultraLabel13.Name = "ultraLabel13";
            this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel13.TabIndex = 627;
            this.ultraLabel13.Text = "备注:";
            // 
            // ultraLabel12
            // 
            this.ultraLabel12.Location = new System.Drawing.Point(790, 35);
            this.ultraLabel12.Name = "ultraLabel12";
            this.ultraLabel12.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel12.TabIndex = 626;
            this.ultraLabel12.Text = "块数:";
            // 
            // ultraLabel9
            // 
            this.ultraLabel9.Location = new System.Drawing.Point(637, 10);
            this.ultraLabel9.Name = "ultraLabel9";
            this.ultraLabel9.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel9.TabIndex = 624;
            this.ultraLabel9.Text = "宽度";
            // 
            // txt_Width
            // 
            this.txt_Width.FlatMode = true;
            this.txt_Width.Location = new System.Drawing.Point(668, 8);
            this.txt_Width.MaskInput = "nnnnnnnn.nn";
            this.txt_Width.Name = "txt_Width";
            this.txt_Width.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
            this.txt_Width.PromptChar = ' ';
            this.txt_Width.Size = new System.Drawing.Size(116, 19);
            this.txt_Width.TabIndex = 623;
            // 
            // dte_Time
            // 
            this.dte_Time.Location = new System.Drawing.Point(514, 6);
            this.dte_Time.Name = "dte_Time";
            this.dte_Time.Size = new System.Drawing.Size(116, 21);
            this.dte_Time.TabIndex = 622;
            // 
            // txt_Length
            // 
            this.txt_Length.FlatMode = true;
            this.txt_Length.Location = new System.Drawing.Point(668, 31);
            this.txt_Length.MaskInput = "nnnnnnnn";
            this.txt_Length.Name = "txt_Length";
            this.txt_Length.PromptChar = ' ';
            this.txt_Length.Size = new System.Drawing.Size(116, 19);
            this.txt_Length.TabIndex = 621;
            // 
            // ultraLabel4
            // 
            this.ultraLabel4.Location = new System.Drawing.Point(613, 33);
            this.ultraLabel4.Name = "ultraLabel4";
            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel4.TabIndex = 620;
            this.ultraLabel4.Text = "长度(MM)";
            // 
            // ultraLabel2
            // 
            this.ultraLabel2.Location = new System.Drawing.Point(434, 10);
            this.ultraLabel2.Name = "ultraLabel2";
            this.ultraLabel2.Size = new System.Drawing.Size(79, 16);
            this.ultraLabel2.TabIndex = 618;
            this.ultraLabel2.Text = "计划生产时间";
            // 
            // txt_Scid_End_Y
            // 
            this.txt_Scid_End_Y.AutoSize = true;
            this.txt_Scid_End_Y.Location = new System.Drawing.Point(186, 8);
            this.txt_Scid_End_Y.Name = "txt_Scid_End_Y";
            this.txt_Scid_End_Y.Size = new System.Drawing.Size(76, 21);
            this.txt_Scid_End_Y.TabIndex = 617;
            this.txt_Scid_End_Y.Click += new System.EventHandler(this.txt_Scid_End_Y_Click);
            // 
            // 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(324, 32);
            this.cmb_ClassTeam.Name = "cmb_ClassTeam";
            this.cmb_ClassTeam.Size = new System.Drawing.Size(104, 19);
            this.cmb_ClassTeam.TabIndex = 614;
            this.cmb_ClassTeam.Tag = "";
            this.cmb_ClassTeam.ValueMember = "";
            // 
            // ultraLabel10
            // 
            this.ultraLabel10.Location = new System.Drawing.Point(268, 34);
            this.ultraLabel10.Name = "ultraLabel10";
            this.ultraLabel10.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel10.TabIndex = 616;
            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(324, 10);
            this.cmb_ClassOrder.Name = "cmb_ClassOrder";
            this.cmb_ClassOrder.Size = new System.Drawing.Size(104, 19);
            this.cmb_ClassOrder.TabIndex = 613;
            this.cmb_ClassOrder.Tag = "";
            this.cmb_ClassOrder.ValueMember = "";
            // 
            // ultraLabel8
            // 
            this.ultraLabel8.Location = new System.Drawing.Point(268, 10);
            this.ultraLabel8.Name = "ultraLabel8";
            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel8.TabIndex = 615;
            this.ultraLabel8.Text = "计划班次";
            // 
            // ultraLabel7
            // 
            this.ultraLabel7.Location = new System.Drawing.Point(8, 34);
            this.ultraLabel7.Name = "ultraLabel7";
            this.ultraLabel7.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel7.TabIndex = 612;
            this.ultraLabel7.Text = "制单类型";
            // 
            // cmb_EditType_Y
            // 
            this.cmb_EditType_Y.AutoSize = true;
            this.cmb_EditType_Y.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
            valueListItem15.DataValue = "1";
            valueListItem15.DisplayText = "顺序工单号";
            valueListItem14.DataValue = valueListItem15;
            valueListItem14.DisplayText = "顺序工单号";
            valueListItem13.DataValue = valueListItem14;
            valueListItem13.DisplayText = "顺序工单号";
            valueListItem12.DataValue = valueListItem13;
            valueListItem12.DisplayText = "顺序工单号";
            valueListItem11.DataValue = valueListItem12;
            valueListItem11.DisplayText = "顺序工单号";
            valueListItem10.DataValue = valueListItem11;
            valueListItem10.DisplayText = "顺序工单号";
            valueListItem9.DataValue = valueListItem10;
            valueListItem9.DisplayText = "顺序工单号";
            valueListItem8.DataValue = valueListItem9;
            valueListItem8.DisplayText = "顺序工单号";
            valueListItem7.DataValue = valueListItem8;
            valueListItem7.DisplayText = "顺序工单号";
            valueListItem6.DataValue = valueListItem7;
            valueListItem6.DisplayText = "顺序工单号";
            valueListItem5.DataValue = valueListItem6;
            valueListItem5.DisplayText = "顺序工单号";
            valueListItem4.DataValue = valueListItem5;
            valueListItem4.DisplayText = "顺序工单号";
            valueListItem3.DataValue = valueListItem4;
            valueListItem3.DisplayText = "顺序工单号";
            valueListItem2.DataValue = valueListItem3;
            valueListItem2.DisplayText = "顺序工单号";
            valueListItem1.DataValue = valueListItem2;
            valueListItem1.DisplayText = "顺序工单号";
            valueListItem30.DataValue = "2";
            valueListItem30.DisplayText = "指定工单号";
            valueListItem29.DataValue = valueListItem30;
            valueListItem29.DisplayText = "指定工单号";
            valueListItem28.DataValue = valueListItem29;
            valueListItem28.DisplayText = "指定工单号";
            valueListItem27.DataValue = valueListItem28;
            valueListItem27.DisplayText = "指定工单号";
            valueListItem26.DataValue = valueListItem27;
            valueListItem26.DisplayText = "指定工单号";
            valueListItem25.DataValue = valueListItem26;
            valueListItem25.DisplayText = "指定工单号";
            valueListItem24.DataValue = valueListItem25;
            valueListItem24.DisplayText = "指定工单号";
            valueListItem23.DataValue = valueListItem24;
            valueListItem23.DisplayText = "指定工单号";
            valueListItem22.DataValue = valueListItem23;
            valueListItem22.DisplayText = "指定工单号";
            valueListItem21.DataValue = valueListItem22;
            valueListItem21.DisplayText = "指定工单号";
            valueListItem20.DataValue = valueListItem21;
            valueListItem20.DisplayText = "指定工单号";
            valueListItem19.DataValue = valueListItem20;
            valueListItem19.DisplayText = "指定工单号";
            valueListItem18.DataValue = valueListItem19;
            valueListItem18.DisplayText = "指定工单号";
            valueListItem17.DataValue = valueListItem18;
            valueListItem17.DisplayText = "指定工单号";
            valueListItem16.DataValue = valueListItem17;
            valueListItem16.DisplayText = "指定工单号";
            this.cmb_EditType_Y.Items.Add(valueListItem1);
            this.cmb_EditType_Y.Items.Add(valueListItem16);
            this.cmb_EditType_Y.Location = new System.Drawing.Point(66, 32);
            this.cmb_EditType_Y.Name = "cmb_EditType_Y";
            this.cmb_EditType_Y.Size = new System.Drawing.Size(196, 21);
            this.cmb_EditType_Y.TabIndex = 611;
            this.cmb_EditType_Y.ValueChanged += new System.EventHandler(this.cmb_EditType_Y_ValueChanged);
            // 
            // txt_Scid_Begin_Y
            // 
            this.txt_Scid_Begin_Y.AutoSize = true;
            this.txt_Scid_Begin_Y.Location = new System.Drawing.Point(102, 8);
            this.txt_Scid_Begin_Y.Name = "txt_Scid_Begin_Y";
            this.txt_Scid_Begin_Y.Size = new System.Drawing.Size(84, 21);
            this.txt_Scid_Begin_Y.TabIndex = 607;
            // 
            // txt_Scid_Top_Y
            // 
            this.txt_Scid_Top_Y.AutoSize = true;
            this.txt_Scid_Top_Y.Location = new System.Drawing.Point(66, 8);
            this.txt_Scid_Top_Y.Name = "txt_Scid_Top_Y";
            this.txt_Scid_Top_Y.Size = new System.Drawing.Size(37, 21);
            this.txt_Scid_Top_Y.TabIndex = 606;
            // 
            // ultraLabel1
            // 
            this.ultraLabel1.Location = new System.Drawing.Point(8, 10);
            this.ultraLabel1.Name = "ultraLabel1";
            this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel1.TabIndex = 605;
            this.ultraLabel1.Text = "工单号";
            // 
            // 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(1358, 26);
            this.panel1.TabIndex = 0;
            // 
            // _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.SystemColors.Control;
            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, 24);
            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 2);
            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // ultraToolbarsManager1
            // 
            this.ultraToolbarsManager1.DesignerFlags = 1;
            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
            ultraToolbar1.DockedColumn = 0;
            ultraToolbar1.DockedRow = 0;
            ultraToolbar1.Text = "工具栏";
            buttonTool1.InstanceProps.IsFirstInGroup = true;
            buttonTool4.InstanceProps.IsFirstInGroup = true;
            buttonTool7.InstanceProps.IsFirstInGroup = true;
            buttonTool9.InstanceProps.IsFirstInGroup = true;
            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool1,
            buttonTool2,
            buttonTool3,
            buttonTool4,
            buttonTool5,
            buttonTool6,
            buttonTool7,
            buttonTool8,
            buttonTool9,
            buttonTool10,
            buttonTool11,
            buttonTool12});
            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
            ultraToolbar1});
            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
            buttonTool13.SharedProps.Caption = "关闭";
            buttonTool13.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool14.SharedProps.Caption = "库存查询";
            buttonTool14.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool15.SharedProps.Caption = "刷新工艺";
            buttonTool15.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool16.SharedProps.Caption = "计划查询";
            buttonTool16.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool17.SharedProps.Caption = "确认";
            buttonTool17.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool18.SharedProps.Caption = "取消";
            buttonTool18.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool19.SharedProps.Caption = "计划下发";
            buttonTool19.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool20.SharedProps.Caption = "计划取消";
            buttonTool20.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool21.SharedProps.Caption = "导出";
            buttonTool21.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool22.SharedProps.Caption = "打印";
            buttonTool22.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool23.SharedProps.Caption = "计划制定";
            buttonTool23.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool24.SharedProps.Caption = "下发撤销";
            buttonTool24.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool25.SharedProps.Caption = "修改";
            buttonTool25.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool26.SharedProps.Caption = "导出";
            buttonTool26.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool13,
            buttonTool14,
            buttonTool15,
            buttonTool16,
            buttonTool17,
            buttonTool18,
            buttonTool19,
            buttonTool20,
            buttonTool21,
            buttonTool22,
            buttonTool23,
            buttonTool24,
            buttonTool25,
            buttonTool26});
            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
            // 
            // _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.SystemColors.Control;
            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(1358, 24);
            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 2);
            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.SystemColors.Control;
            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(1358, 24);
            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.SystemColors.Control;
            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, 26);
            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1358, 0);
            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // ultraGroupBox1
            // 
            this.ultraGroupBox1.Controls.Add(this.lab_Caption);
            this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
            this.ultraGroupBox1.Controls.Add(this.ultSJ);
            this.ultraGroupBox1.Controls.Add(this.cmb_IS);
            this.ultraGroupBox1.Controls.Add(this.chk_ProcLine);
            this.ultraGroupBox1.Controls.Add(this.ultraLabel5);
            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
            this.ultraGroupBox1.Controls.Add(this.txt_BNumber);
            this.ultraGroupBox1.Controls.Add(this.chk_BNumber);
            this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
            this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
            this.ultraGroupBox1.Controls.Add(this.Chk_Buttress);
            this.ultraGroupBox1.Controls.Add(this.cmb_Sleen);
            this.ultraGroupBox1.Controls.Add(this.chk_PaiHao);
            this.ultraGroupBox1.Controls.Add(this.txt_GangP);
            this.ultraGroupBox1.Controls.Add(this.chk_BanHao);
            this.ultraGroupBox1.Controls.Add(this.txt_RollHao);
            this.ultraGroupBox1.Controls.Add(this.chk_RollHao);
            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
            this.ultraGroupBox1.Controls.Add(this.chk_PactID);
            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
            this.ultraGroupBox1.Controls.Add(this.Lab_To);
            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 26);
            this.ultraGroupBox1.Name = "ultraGroupBox1";
            this.ultraGroupBox1.Size = new System.Drawing.Size(1358, 58);
            this.ultraGroupBox1.SupportThemes = false;
            this.ultraGroupBox1.TabIndex = 1;
            // 
            // lab_Caption
            // 
            this.lab_Caption.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.lab_Caption.Location = new System.Drawing.Point(1045, 34);
            this.lab_Caption.Name = "lab_Caption";
            this.lab_Caption.Size = new System.Drawing.Size(216, 13);
            this.lab_Caption.TabIndex = 241;
            this.lab_Caption.Text = "钢卷号显示颜色已计划下发";
            // 
            // chk_CollectTime
            // 
            this.chk_CollectTime.Location = new System.Drawing.Point(6, 6);
            this.chk_CollectTime.Name = "chk_CollectTime";
            this.chk_CollectTime.Size = new System.Drawing.Size(49, 20);
            this.chk_CollectTime.TabIndex = 240;
            this.chk_CollectTime.Text = "时间";
            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
            // 
            // ultSJ
            // 
            this.ultSJ.AutoSize = true;
            valueListItem33.DataValue = "0";
            valueListItem33.DisplayText = "按作业计划时间";
            valueListItem32.DataValue = valueListItem33;
            valueListItem32.DisplayText = "按作业计划时间";
            valueListItem31.DataValue = valueListItem32;
            valueListItem31.DisplayText = "按作业计划时间";
            valueListItem36.DataValue = "1";
            valueListItem36.DisplayText = "按生产时间";
            valueListItem35.DataValue = valueListItem36;
            valueListItem35.DisplayText = "按生产时间";
            valueListItem34.DataValue = valueListItem35;
            valueListItem34.DisplayText = "按生产时间";
            this.ultSJ.Items.Add(valueListItem31);
            this.ultSJ.Items.Add(valueListItem34);
            this.ultSJ.Location = new System.Drawing.Point(61, 6);
            this.ultSJ.Name = "ultSJ";
            this.ultSJ.Size = new System.Drawing.Size(91, 21);
            this.ultSJ.TabIndex = 239;
            // 
            // cmb_IS
            // 
            this.cmb_IS.AutoSize = true;
            this.cmb_IS.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
            this.cmb_IS.Enabled = false;
            this.cmb_IS.FlatMode = true;
            valueListItem51.DataValue = "0";
            valueListItem51.DisplayText = "否";
            valueListItem50.DataValue = valueListItem51;
            valueListItem50.DisplayText = "否";
            valueListItem49.DataValue = valueListItem50;
            valueListItem49.DisplayText = "否";
            valueListItem48.DataValue = valueListItem49;
            valueListItem48.DisplayText = "否";
            valueListItem47.DataValue = valueListItem48;
            valueListItem47.DisplayText = "否";
            valueListItem46.DataValue = valueListItem47;
            valueListItem46.DisplayText = "否";
            valueListItem45.DataValue = valueListItem46;
            valueListItem45.DisplayText = "否";
            valueListItem44.DataValue = valueListItem45;
            valueListItem44.DisplayText = "否";
            valueListItem43.DataValue = valueListItem44;
            valueListItem43.DisplayText = "否";
            valueListItem42.DataValue = valueListItem43;
            valueListItem42.DisplayText = "否";
            valueListItem41.DataValue = valueListItem42;
            valueListItem41.DisplayText = "否";
            valueListItem40.DataValue = valueListItem41;
            valueListItem40.DisplayText = "否";
            valueListItem39.DataValue = valueListItem40;
            valueListItem39.DisplayText = "否";
            valueListItem38.DataValue = valueListItem39;
            valueListItem38.DisplayText = "否";
            valueListItem37.DataValue = valueListItem38;
            valueListItem37.DisplayText = "否";
            valueListItem66.DataValue = "1";
            valueListItem66.DisplayText = "是";
            valueListItem65.DataValue = valueListItem66;
            valueListItem65.DisplayText = "是";
            valueListItem64.DataValue = valueListItem65;
            valueListItem64.DisplayText = "是";
            valueListItem63.DataValue = valueListItem64;
            valueListItem63.DisplayText = "是";
            valueListItem62.DataValue = valueListItem63;
            valueListItem62.DisplayText = "是";
            valueListItem61.DataValue = valueListItem62;
            valueListItem61.DisplayText = "是";
            valueListItem60.DataValue = valueListItem61;
            valueListItem60.DisplayText = "是";
            valueListItem59.DataValue = valueListItem60;
            valueListItem59.DisplayText = "是";
            valueListItem58.DataValue = valueListItem59;
            valueListItem58.DisplayText = "是";
            valueListItem57.DataValue = valueListItem58;
            valueListItem57.DisplayText = "是";
            valueListItem56.DataValue = valueListItem57;
            valueListItem56.DisplayText = "是";
            valueListItem55.DataValue = valueListItem56;
            valueListItem55.DisplayText = "是";
            valueListItem54.DataValue = valueListItem55;
            valueListItem54.DisplayText = "是";
            valueListItem53.DataValue = valueListItem54;
            valueListItem53.DisplayText = "是";
            valueListItem52.DataValue = valueListItem53;
            valueListItem52.DisplayText = "是";
            this.cmb_IS.Items.Add(valueListItem37);
            this.cmb_IS.Items.Add(valueListItem52);
            this.cmb_IS.Location = new System.Drawing.Point(856, 32);
            this.cmb_IS.Name = "cmb_IS";
            this.cmb_IS.Size = new System.Drawing.Size(80, 19);
            this.cmb_IS.TabIndex = 238;
            this.cmb_IS.Visible = false;
            // 
            // chk_ProcLine
            // 
            this.chk_ProcLine.Location = new System.Drawing.Point(784, 36);
            this.chk_ProcLine.Name = "chk_ProcLine";
            this.chk_ProcLine.Size = new System.Drawing.Size(83, 16);
            this.chk_ProcLine.TabIndex = 237;
            this.chk_ProcLine.TabStop = false;
            this.chk_ProcLine.Text = "是否生产";
            this.chk_ProcLine.Visible = false;
            this.chk_ProcLine.CheckedChanged += new System.EventHandler(this.chk_ProcLine_CheckedChanged);
            // 
            // ultraLabel5
            // 
            this.ultraLabel5.BackColor = System.Drawing.SystemColors.Control;
            this.ultraLabel5.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.ultraLabel5.Location = new System.Drawing.Point(944, 10);
            this.ultraLabel5.Name = "ultraLabel5";
            this.ultraLabel5.Size = new System.Drawing.Size(78, 16);
            this.ultraLabel5.TabIndex = 236;
            this.ultraLabel5.Text = "已生产确认";
            // 
            // dte_EndTime
            // 
            this.dte_EndTime.Enabled = false;
            this.dte_EndTime.FlatMode = true;
            this.dte_EndTime.Location = new System.Drawing.Point(156, 30);
            this.dte_EndTime.Name = "dte_EndTime";
            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
            this.dte_EndTime.TabIndex = 235;
            // 
            // dte_BeginTime
            // 
            this.dte_BeginTime.Enabled = false;
            this.dte_BeginTime.FlatMode = true;
            this.dte_BeginTime.Location = new System.Drawing.Point(156, 7);
            this.dte_BeginTime.Name = "dte_BeginTime";
            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
            this.dte_BeginTime.TabIndex = 234;
            // 
            // txt_BNumber
            // 
            this.txt_BNumber.AutoSize = true;
            this.txt_BNumber.Enabled = false;
            this.txt_BNumber.FlatMode = true;
            this.txt_BNumber.Location = new System.Drawing.Point(846, 7);
            this.txt_BNumber.Name = "txt_BNumber";
            this.txt_BNumber.Size = new System.Drawing.Size(90, 19);
            this.txt_BNumber.TabIndex = 233;
            this.txt_BNumber.TabStop = false;
            this.txt_BNumber.Tag = "";
            // 
            // chk_BNumber
            // 
            this.chk_BNumber.Location = new System.Drawing.Point(784, 10);
            this.chk_BNumber.Name = "chk_BNumber";
            this.chk_BNumber.Size = new System.Drawing.Size(46, 16);
            this.chk_BNumber.TabIndex = 232;
            this.chk_BNumber.TabStop = false;
            this.chk_BNumber.Text = "批号";
            this.chk_BNumber.CheckedChanged += new System.EventHandler(this.chk_BNumber_CheckedChanged);
            // 
            // chk_SelectAll
            // 
            this.chk_SelectAll.FlatMode = true;
            this.chk_SelectAll.Location = new System.Drawing.Point(940, 36);
            this.chk_SelectAll.Name = "chk_SelectAll";
            this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
            this.chk_SelectAll.TabIndex = 231;
            this.chk_SelectAll.Text = "全选";
            this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
            // 
            // chk_AllowFilter
            // 
            this.chk_AllowFilter.Location = new System.Drawing.Point(992, 34);
            this.chk_AllowFilter.Name = "chk_AllowFilter";
            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
            this.chk_AllowFilter.TabIndex = 230;
            this.chk_AllowFilter.TabStop = false;
            this.chk_AllowFilter.Text = "过滤";
            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
            // 
            // cmb_Buress
            // 
            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Buress.DisplayMember = "";
            this.cmb_Buress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_Buress.Enabled = false;
            this.cmb_Buress.FlatMode = true;
            this.cmb_Buress.Location = new System.Drawing.Point(690, 33);
            this.cmb_Buress.Name = "cmb_Buress";
            this.cmb_Buress.Size = new System.Drawing.Size(88, 19);
            this.cmb_Buress.TabIndex = 229;
            this.cmb_Buress.Tag = "";
            this.cmb_Buress.ValueMember = "";
            this.cmb_Buress.Visible = false;
            // 
            // Chk_Buttress
            // 
            this.Chk_Buttress.Location = new System.Drawing.Point(642, 35);
            this.Chk_Buttress.Name = "Chk_Buttress";
            this.Chk_Buttress.Size = new System.Drawing.Size(46, 16);
            this.Chk_Buttress.TabIndex = 228;
            this.Chk_Buttress.TabStop = false;
            this.Chk_Buttress.Text = "堆位";
            this.Chk_Buttress.Visible = false;
            this.Chk_Buttress.CheckedChanged += new System.EventHandler(this.Chk_Buttress_CheckedChanged);
            // 
            // cmb_Sleen
            // 
            this.cmb_Sleen.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Sleen.Cursor = System.Windows.Forms.Cursors.IBeam;
            this.cmb_Sleen.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.cmb_Sleen.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.cmb_Sleen.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.cmb_Sleen.DisplayLayout.MaxColScrollRegions = 1;
            this.cmb_Sleen.DisplayLayout.MaxRowScrollRegions = 1;
            this.cmb_Sleen.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.cmb_Sleen.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.cmb_Sleen.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.cmb_Sleen.DisplayLayout.Override.CellPadding = 0;
            this.cmb_Sleen.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.cmb_Sleen.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
            this.cmb_Sleen.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
            this.cmb_Sleen.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.cmb_Sleen.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.cmb_Sleen.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.cmb_Sleen.DisplayMember = "";
            this.cmb_Sleen.Enabled = false;
            this.cmb_Sleen.FlatMode = true;
            this.cmb_Sleen.Location = new System.Drawing.Point(690, 7);
            this.cmb_Sleen.Name = "cmb_Sleen";
            this.cmb_Sleen.Size = new System.Drawing.Size(88, 19);
            this.cmb_Sleen.TabIndex = 227;
            this.cmb_Sleen.ValueMember = "";
            // 
            // chk_PaiHao
            // 
            this.chk_PaiHao.Location = new System.Drawing.Point(642, 10);
            this.chk_PaiHao.Name = "chk_PaiHao";
            this.chk_PaiHao.Size = new System.Drawing.Size(48, 16);
            this.chk_PaiHao.TabIndex = 226;
            this.chk_PaiHao.TabStop = false;
            this.chk_PaiHao.Text = "牌号";
            this.chk_PaiHao.CheckedChanged += new System.EventHandler(this.chk_PaiHao_CheckedChanged);
            // 
            // txt_GangP
            // 
            this.txt_GangP.AutoSize = true;
            this.txt_GangP.Enabled = false;
            this.txt_GangP.FlatMode = true;
            this.txt_GangP.Location = new System.Drawing.Point(532, 30);
            this.txt_GangP.Name = "txt_GangP";
            this.txt_GangP.Size = new System.Drawing.Size(104, 19);
            this.txt_GangP.TabIndex = 225;
            this.txt_GangP.TabStop = false;
            this.txt_GangP.Tag = "";
            // 
            // chk_BanHao
            // 
            this.chk_BanHao.Location = new System.Drawing.Point(476, 34);
            this.chk_BanHao.Name = "chk_BanHao";
            this.chk_BanHao.Size = new System.Drawing.Size(60, 16);
            this.chk_BanHao.TabIndex = 224;
            this.chk_BanHao.TabStop = false;
            this.chk_BanHao.Text = "板坯号";
            this.chk_BanHao.CheckedChanged += new System.EventHandler(this.chk_BanHao_CheckedChanged);
            // 
            // txt_RollHao
            // 
            this.txt_RollHao.AutoSize = true;
            this.txt_RollHao.Enabled = false;
            this.txt_RollHao.FlatMode = true;
            this.txt_RollHao.Location = new System.Drawing.Point(532, 7);
            this.txt_RollHao.Name = "txt_RollHao";
            this.txt_RollHao.Size = new System.Drawing.Size(104, 19);
            this.txt_RollHao.TabIndex = 223;
            this.txt_RollHao.TabStop = false;
            this.txt_RollHao.Tag = "";
            // 
            // chk_RollHao
            // 
            this.chk_RollHao.Location = new System.Drawing.Point(476, 10);
            this.chk_RollHao.Name = "chk_RollHao";
            this.chk_RollHao.Size = new System.Drawing.Size(60, 16);
            this.chk_RollHao.TabIndex = 222;
            this.chk_RollHao.TabStop = false;
            this.chk_RollHao.Text = "钢卷号";
            this.chk_RollHao.CheckedChanged += new System.EventHandler(this.chk_RollHao_CheckedChanged);
            // 
            // txt_PlanID
            // 
            this.txt_PlanID.AutoSize = true;
            this.txt_PlanID.Enabled = false;
            this.txt_PlanID.FlatMode = true;
            this.txt_PlanID.Location = new System.Drawing.Point(366, 30);
            this.txt_PlanID.Name = "txt_PlanID";
            this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
            this.txt_PlanID.TabIndex = 221;
            this.txt_PlanID.TabStop = false;
            this.txt_PlanID.Tag = "";
            // 
            // chk_PactID
            // 
            this.chk_PactID.Location = new System.Drawing.Point(308, 34);
            this.chk_PactID.Name = "chk_PactID";
            this.chk_PactID.Size = new System.Drawing.Size(60, 16);
            this.chk_PactID.TabIndex = 220;
            this.chk_PactID.TabStop = false;
            this.chk_PactID.Text = "合同号";
            this.chk_PactID.CheckedChanged += new System.EventHandler(this.chk_PactID_CheckedChanged);
            // 
            // txt_OrderNO
            // 
            this.txt_OrderNO.AutoSize = true;
            this.txt_OrderNO.Enabled = false;
            this.txt_OrderNO.FlatMode = true;
            this.txt_OrderNO.Location = new System.Drawing.Point(366, 7);
            this.txt_OrderNO.Name = "txt_OrderNO";
            this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
            this.txt_OrderNO.TabIndex = 219;
            this.txt_OrderNO.TabStop = false;
            this.txt_OrderNO.Tag = "";
            // 
            // chk_OrderNO
            // 
            this.chk_OrderNO.Location = new System.Drawing.Point(308, 10);
            this.chk_OrderNO.Name = "chk_OrderNO";
            this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
            this.chk_OrderNO.TabIndex = 218;
            this.chk_OrderNO.TabStop = false;
            this.chk_OrderNO.Text = "订单号";
            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
            // 
            // Lab_To
            // 
            this.Lab_To.FlatMode = true;
            this.Lab_To.Location = new System.Drawing.Point(129, 32);
            this.Lab_To.Name = "Lab_To";
            this.Lab_To.Size = new System.Drawing.Size(17, 16);
            this.Lab_To.TabIndex = 217;
            this.Lab_To.Text = "到";
            // 
            // tab_Coroll
            // 
            this.tab_Coroll.Controls.Add(this.ultraTabSharedControlsPage1);
            this.tab_Coroll.Controls.Add(this.ultraTabPageControl1);
            this.tab_Coroll.Controls.Add(this.ultraTabPageControl2);
            this.tab_Coroll.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tab_Coroll.Location = new System.Drawing.Point(0, 84);
            this.tab_Coroll.Name = "tab_Coroll";
            this.tab_Coroll.SharedControlsPage = this.ultraTabSharedControlsPage1;
            this.tab_Coroll.Size = new System.Drawing.Size(1358, 637);
            this.tab_Coroll.TabIndex = 2;
            ultraTab1.Key = "PROCESS";
            ultraTab1.TabPage = this.ultraTabPageControl1;
            ultraTab1.Text = "工艺制订";
            ultraTab2.Key = "PLAN";
            ultraTab2.TabPage = this.ultraTabPageControl2;
            ultraTab2.Text = "计划制定与下发";
            this.tab_Coroll.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
            ultraTab1,
            ultraTab2});
            this.tab_Coroll.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
            // 
            // ultraTabSharedControlsPage1
            // 
            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(1354, 614);
            // 
            // ultraCombo1
            // 
            this.ultraCombo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.ultraCombo1.DisplayMember = "";
            this.ultraCombo1.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.ultraCombo1.FlatMode = true;
            this.ultraCombo1.Location = new System.Drawing.Point(324, 10);
            this.ultraCombo1.Name = "ultraCombo1";
            this.ultraCombo1.Size = new System.Drawing.Size(104, 19);
            this.ultraCombo1.TabIndex = 613;
            this.ultraCombo1.Tag = "";
            this.ultraCombo1.ValueMember = "";
            // 
            // ultraLabel6
            // 
            this.ultraLabel6.Location = new System.Drawing.Point(268, 10);
            this.ultraLabel6.Name = "ultraLabel6";
            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel6.TabIndex = 615;
            this.ultraLabel6.Text = "计划班次";
            // 
            // ultraTabControl1
            // 
            this.ultraTabControl1.Controls.Add(this.ultraTabSharedControlsPage2);
            this.ultraTabControl1.Controls.Add(this.ultraTabSharedControlsPage3);
            this.ultraTabControl1.Controls.Add(this.ultraTabPageControl3);
            this.ultraTabControl1.Location = new System.Drawing.Point(0, 0);
            this.ultraTabControl1.Name = "ultraTabControl1";
            this.ultraTabControl1.SharedControlsPage = this.ultraTabSharedControlsPage2;
            this.ultraTabControl1.Size = new System.Drawing.Size(200, 100);
            this.ultraTabControl1.TabIndex = 0;
            // 
            // ultraTabSharedControlsPage2
            // 
            this.ultraTabSharedControlsPage2.Location = new System.Drawing.Point(2, 21);
            this.ultraTabSharedControlsPage2.Name = "ultraTabSharedControlsPage2";
            this.ultraTabSharedControlsPage2.Size = new System.Drawing.Size(196, 77);
            // 
            // ultraTabSharedControlsPage3
            // 
            this.ultraTabSharedControlsPage3.Location = new System.Drawing.Point(-10000, -10000);
            this.ultraTabSharedControlsPage3.Name = "ultraTabSharedControlsPage3";
            this.ultraTabSharedControlsPage3.Size = new System.Drawing.Size(1269, 391);
            // 
            // ultraTabPageControl3
            // 
            this.ultraTabPageControl3.Controls.Add(this.ultraGrid1);
            this.ultraTabPageControl3.Controls.Add(this.panel3);
            this.ultraTabPageControl3.Location = new System.Drawing.Point(2, 21);
            this.ultraTabPageControl3.Name = "ultraTabPageControl3";
            this.ultraTabPageControl3.Size = new System.Drawing.Size(1263, 23);
            // 
            // ultraGrid1
            // 
            this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.ultraGrid1.DisplayLayout.GroupByBox.Hidden = true;
            this.ultraGrid1.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            this.ultraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.ultraGrid1.DisplayLayout.Override.CellPadding = 0;
            this.ultraGrid1.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            this.ultraGrid1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            this.ultraGrid1.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.ultraGrid1.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            this.ultraGrid1.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            this.ultraGrid1.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.ultraGrid1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.ultraGrid1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.ultraGrid1.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraGrid1.Location = new System.Drawing.Point(0, 0);
            this.ultraGrid1.Name = "ultraGrid1";
            this.ultraGrid1.Size = new System.Drawing.Size(1263, -25);
            this.ultraGrid1.TabIndex = 9;
            this.ultraGrid1.Text = "ultraGrid2";
            // 
            // panel3
            // 
            this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.panel3.Controls.Add(this.ultraTextEditor1);
            this.panel3.Controls.Add(this.ultraLabel11);
            this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panel3.Location = new System.Drawing.Point(0, -25);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(1263, 48);
            this.panel3.TabIndex = 0;
            // 
            // ultraTextEditor1
            // 
            this.ultraTextEditor1.AutoSize = true;
            this.ultraTextEditor1.FlatMode = true;
            this.ultraTextEditor1.Location = new System.Drawing.Point(62, 16);
            this.ultraTextEditor1.Name = "ultraTextEditor1";
            this.ultraTextEditor1.Size = new System.Drawing.Size(306, 19);
            this.ultraTextEditor1.TabIndex = 601;
            // 
            // ultraLabel11
            // 
            this.ultraLabel11.Location = new System.Drawing.Point(8, 18);
            this.ultraLabel11.Name = "ultraLabel11";
            this.ultraLabel11.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel11.TabIndex = 602;
            this.ultraLabel11.Text = "工艺事项";
            // 
            // ultraTabPageControl4
            // 
            this.ultraTabPageControl4.Controls.Add(this.ultraGrid2);
            this.ultraTabPageControl4.Controls.Add(this.ultraExpandableGroupBox3);
            this.ultraTabPageControl4.Location = new System.Drawing.Point(0, 0);
            this.ultraTabPageControl4.Name = "ultraTabPageControl4";
            this.ultraTabPageControl4.Size = new System.Drawing.Size(196, 77);
            // 
            // ultraGrid2
            // 
            this.ultraGrid2.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.ultraGrid2.DisplayLayout.GroupByBox.Hidden = true;
            this.ultraGrid2.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            this.ultraGrid2.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.ultraGrid2.DisplayLayout.Override.CellPadding = 0;
            this.ultraGrid2.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            this.ultraGrid2.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.ultraGrid2.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            this.ultraGrid2.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.ultraGrid2.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.ultraGrid2.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            this.ultraGrid2.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            this.ultraGrid2.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.ultraGrid2.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.ultraGrid2.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.ultraGrid2.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.ultraGrid2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraGrid2.Location = new System.Drawing.Point(0, 0);
            this.ultraGrid2.Name = "ultraGrid2";
            this.ultraGrid2.Size = new System.Drawing.Size(196, -110);
            this.ultraGrid2.TabIndex = 10;
            this.ultraGrid2.Text = "ultraGrid1";
            // 
            // ultraExpandableGroupBox3
            // 
            this.ultraExpandableGroupBox3.Controls.Add(this.ultraExpandableGroupBoxPanel3);
            this.ultraExpandableGroupBox3.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.ultraExpandableGroupBox3.ExpandedSize = new System.Drawing.Size(860, 243);
            this.ultraExpandableGroupBox3.Location = new System.Drawing.Point(0, -110);
            this.ultraExpandableGroupBox3.Name = "ultraExpandableGroupBox3";
            this.ultraExpandableGroupBox3.Size = new System.Drawing.Size(196, 187);
            this.ultraExpandableGroupBox3.SupportThemes = false;
            this.ultraExpandableGroupBox3.TabIndex = 2;
            this.ultraExpandableGroupBox3.Text = "计划下发情况";
            // 
            // ultraExpandableGroupBoxPanel3
            // 
            this.ultraExpandableGroupBoxPanel3.Controls.Add(this.ultraGrid3);
            this.ultraExpandableGroupBoxPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraExpandableGroupBoxPanel3.Location = new System.Drawing.Point(3, 19);
            this.ultraExpandableGroupBoxPanel3.Name = "ultraExpandableGroupBoxPanel3";
            this.ultraExpandableGroupBoxPanel3.Size = new System.Drawing.Size(190, 165);
            this.ultraExpandableGroupBoxPanel3.TabIndex = 0;
            // 
            // ultraGrid3
            // 
            this.ultraGrid3.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.ultraGrid3.DisplayLayout.GroupByBox.Hidden = true;
            this.ultraGrid3.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            this.ultraGrid3.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.ultraGrid3.DisplayLayout.Override.CellPadding = 0;
            this.ultraGrid3.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            this.ultraGrid3.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.ultraGrid3.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            this.ultraGrid3.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.ultraGrid3.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.ultraGrid3.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            this.ultraGrid3.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            this.ultraGrid3.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.ultraGrid3.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.ultraGrid3.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.ultraGrid3.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.ultraGrid3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraGrid3.Location = new System.Drawing.Point(0, 0);
            this.ultraGrid3.Name = "ultraGrid3";
            this.ultraGrid3.Size = new System.Drawing.Size(190, 165);
            this.ultraGrid3.TabIndex = 10;
            this.ultraGrid3.Text = "ultraGrid3";
            // 
            // ultraExpandableGroupBox4
            // 
            this.ultraExpandableGroupBox4.Controls.Add(this.ultraExpandableGroupBoxPanel4);
            this.ultraExpandableGroupBox4.ExpandedSize = new System.Drawing.Size(0, 0);
            this.ultraExpandableGroupBox4.Location = new System.Drawing.Point(0, 0);
            this.ultraExpandableGroupBox4.Name = "ultraExpandableGroupBox4";
            this.ultraExpandableGroupBox4.Size = new System.Drawing.Size(200, 185);
            this.ultraExpandableGroupBox4.SupportThemes = false;
            this.ultraExpandableGroupBox4.TabIndex = 0;
            // 
            // ultraExpandableGroupBoxPanel4
            // 
            this.ultraExpandableGroupBoxPanel4.Location = new System.Drawing.Point(0, 0);
            this.ultraExpandableGroupBoxPanel4.Name = "ultraExpandableGroupBoxPanel4";
            this.ultraExpandableGroupBoxPanel4.Size = new System.Drawing.Size(200, 100);
            this.ultraExpandableGroupBoxPanel4.TabIndex = 0;
            // 
            // Frm_PlanDrawUp
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize = new System.Drawing.Size(1358, 721);
            this.Controls.Add(this.tab_Coroll);
            this.Controls.Add(this.ultraGroupBox1);
            this.Controls.Add(this.panel1);
            this.Name = "Frm_PlanDrawUp";
            this.Text = "钢卷开平计划制订";
            this.Load += new System.EventHandler(this.Frm_PlanDrawUp_Load);
            this.ultraTabPageControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gb_Stuff)).EndInit();
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Gylx)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_QuShi)).EndInit();
            this.ultraTabPageControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gb_Plan)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).EndInit();
            this.ultraExpandableGroupBox2.ResumeLayout(false);
            this.ultraExpandableGroupBoxPanel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gb_PlanState)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
            this.ultraExpandableGroupBox1.ResumeLayout(false);
            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ply)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_div_no)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_PlanBuress)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_EditType_Y)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).EndInit();
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
            this.ultraGroupBox1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultSJ)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_IS)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tab_Coroll)).EndInit();
            this.tab_Coroll.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).EndInit();
            this.ultraTabControl1.ResumeLayout(false);
            this.ultraTabPageControl3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
            this.panel3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
            this.ultraTabPageControl4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox3)).EndInit();
            this.ultraExpandableGroupBox3.ResumeLayout(false);
            this.ultraExpandableGroupBoxPanel3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox4)).EndInit();
            this.ultraExpandableGroupBox4.ResumeLayout(false);
            this.ResumeLayout(false);

		}
		#endregion

		#region 查询
		private string GetWhere()
		{
			string strSql="";
            //if(this.chk_CollectTime.Checked)
            //{
            //    strSql += " 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")+"' ";
            //}
            if (this.chk_CollectTime.Checked)
            {
                if (this.ultSJ.SelectedIndex == 0)
                {
                    strSql += " AND TO_CHAR(A.DEVLMT_DTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
                        + " AND TO_CHAR(A.DEVLMT_DTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
                }
                else
                {
                    strSql += " 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") + "' ";
                }
            }
			if(this.chk_OrderNO.Checked)
			{
				strSql=" AND A.ORD_SEQ='"+this.txt_OrderNO.Text+"'";;
			}
			if(this.chk_PactID.Checked)
			{
                strSql = " AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
			}
			if(this.chk_RollHao.Checked)
			{
				strSql=" AND A.OLD_SAMPL_NO='"+this.txt_RollHao.Text+"'";
			}
			if(this.chk_BanHao.Checked)
			{
				strSql=" AND A.SLAB_NO='"+this.txt_GangP.Text+"'";
			}
			if(this.chk_PaiHao.Checked)
			{
				strSql=" AND A.STL_GRD='"+this.cmb_Sleen.Value+"'";
			}
			if(this.Chk_Buttress.Checked)
			{
				strSql=" AND B.BUTTRESS='"+this.cmb_Buress.Value.ToString()+"'";
			}
			if(this.chk_BNumber.Checked)
			{
				strSql+="AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '"+this.txt_BNumber.Text+"'";
			}

            //if(this.chk_ProcLine.Checked)
            //{
            //    strSql+=" AND A.STOCKTYPE='"+this.cmb_ProcL.Value.ToString()+"'";
            //}
			return strSql;
		}
		private void StuffQuery(string _Conntion)
		{
			try
			{
				string strOut="";
                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "StuffQuer", new object[] { _Conntion }, out strOut);
				this.gb_Stuff.DataSource=ds;
				this.gb_Stuff.UpdateData();
				Comm.SetGridSumArea(this.gb_Stuff);
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
		private string Plan_GetWhere()
		{
			string strSql="";
            if (chk_CollectTime.Checked == true)
            {
                strSql += " AND to_char(A.DEVLMT_DTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
                    + " AND to_char(A.DEVLMT_DTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
            }
			if(this.chk_OrderNO.Checked)
			{
				strSql+=" AND ORD_SEQ='"+this.txt_OrderNO.Text+"'";;
			}
			if(this.chk_PactID.Checked)
			{
                strSql += " AND ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
			}
			if(this.chk_RollHao.Checked)
			{
				strSql+=" AND OLD_SAMPL_NO='"+this.txt_RollHao.Text+"'";
			}
			if(this.chk_BanHao.Checked)
			{
				strSql+=" AND SLAB_NO='"+this.txt_GangP.Text+"'";
			}
			if(this.chk_PaiHao.Checked)
			{
				strSql+=" AND STL_GRD='"+this.cmb_Sleen.Value+"'";
			}
			return strSql;
		}

		private void PlanQuery(string _Conntion)
		{
			try
			{
				string strOut="";
                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Qery", new object[] { _Conntion }, out strOut);
				this.gb_Plan.DataSource=ds;
				this.gb_Plan.UpdateData();
				Comm.SetGridSumArea(this.gb_Plan);
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void PlanXFQuery(string where1,string where2)
		{
			try
			{
				string strOut="";
                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_XF_Qery", new object[] { where1, where2 }, out strOut);
                ds.Tables["PLAN_DETAIL"].Columns["WORKORDER_ID"].Caption = "工单号";
                ds.Tables["PLAN_DETAIL"].Columns["OLD_SAMPL_NO"].Caption = "卷号";
                ds.Tables["PLAN_DETAIL"].Columns["COIL_THK"].Caption = "厚";
                ds.Tables["PLAN_DETAIL"].Columns["COIL_WTH"].Caption = "宽";
                ds.Tables["PLAN_DETAIL"].Columns["COIL_LEN"].Caption = "长";
                ds.Tables["PLAN_DETAIL"].Columns["WEIGHT"].Caption = "理论重量";
                ds.Tables["PLAN_DETAIL"].Columns["COIL_NUM"].Caption = "块数";
                ds.Tables["PLAN_DETAIL"].Columns["STL_GRD"].Caption = "牌号";
                ds.Tables["PLAN_DETAIL"].Columns["DETAIL_TIME"].Caption = "计划生产时间";
                ds.Tables["PLAN_DETAIL"].Columns["PLAN_CAR_NO"].Caption = "计划车牌号";
                ds.Tables["PLAN_DETAIL"].Columns["PLAN_BUTTRESS"].Caption = "计划堆位";
                ds.Tables["PLAN_DETAIL"].Columns["REMARK"].Caption = "备注";
                ds.Tables["PLAN_DETAIL"].Columns["DETAIL_NAME"].Caption = "计划制定人";
                ds.Tables["PLAN_DETAIL"].Columns["XF_FLAG"].Caption = "是否下发";
                ds.Tables["PLAN_DETAIL"].Columns["AREA"].Caption = "区块";
                ds.Tables["PLAN_DETAIL"].Columns["GUID"].Caption = "GUID";
                this.gb_PlanState.DataSource = ds;
				this.gb_PlanState.UpdateData();
				Comm.SetGridSumArea(this.gb_PlanState);
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
		#endregion

		#region 确定
		private void Plan_Add()
		{
			try
			{
                string strOut="";
			    ArrayList array=new ArrayList();
			    array=Comm.GetFieldValue(this.gb_Stuff,"FLAG","OLD_SAMPL_NO");
				if(array.Count==0)
				{
					MessageBox.Show("请您选择你要下发的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
					return ;
				}
				ArrayList Other=new ArrayList();
				Other.Add(this.txt_QuShi.Text);
				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                Other.Add(this.cmb_Gylx.Value.ToString());
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Set", new object[] { array, Other }, out strOut);
				if(obj!=null && obj.ToString()=="1")
				{
					DataSet ds=(DataSet)this.gb_Stuff.DataSource;
					System.Data.DataRow[] row=ds.Tables["KCJ3_STUFFLIST"].Select("FLAG='TRUE'");
					for(int i=0;i<row.Length;i++)
					{
						ds.Tables["KCJ3_STUFFLIST"].Rows.Remove(row[i]);
						ds.Tables["KCJ3_STUFFLIST"].AcceptChanges();
						this.PlanQuery("");
					}
				}
				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 Plan_Del()
		{
			try
			{
				string strOut="";
				ArrayList array=new ArrayList();
                array=Comm.GetFieldValue(this.gb_Plan,"FLAG","OLD_SAMPL_NO");
				if(array.Count==0)
				{
					MessageBox.Show("请您选择你要撤消的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
					return ;
				}
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Del", new object[] { array }, out strOut);
				if(obj!=null && obj.ToString()=="1")
				{
						this.PlanQuery("");
						this.StuffQuery("");
				}
				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 bool Check()
		{
			if(this.txt_Scid_End_Y.Text.Trim().Length==0)
			{
				MessageBox.Show("工单号不能为空！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
				return false;
			}
			if(this.cmb_ClassOrder.Text.Trim().Length==0)
			{
				MessageBox.Show("班次不能为空！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
				return false;
			}
			if(this.cmb_ClassTeam.Text.Trim().Length==0)
			{
				MessageBox.Show("班组不能为空！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
				return false;
			}
			if(this.txt_Length.Value.ToString().Trim().Length==0)
			{
				MessageBox.Show("长度不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
				return false;
			}
			return true;
		}
        private bool Check1()
        {
            if (this.txt_Scid_End_Y.Text.Trim().Length == 0)
            {
                MessageBox.Show("工单号不能为空！", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
                return false;
            }
            if (this.cmb_ClassOrder.Text.Trim().Length == 0)
            {
                MessageBox.Show("班次不能为空！", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
                return false;
            }
            if (this.cmb_ClassTeam.Text.Trim().Length == 0)
            {
                MessageBox.Show("班组不能为空！", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
                return false;
            }
         
            
            return true;
        }
		private void Plan_XF()
		{
			/*if(!Check1())
			{
				return;
			}*/
            string strOut = "";
			try
			{
                ArrayList array = new ArrayList();
                array.Add(gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Text);
                if (array.Count == 0)
                {
                    MessageBox.Show("请您选择你要撤消的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
                    return;
                }
                ArrayList Other = new ArrayList();
                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Set_XF", new object[] { array, Other }, out strOut);
                if (obj != null && obj.ToString() == "1")
                {
                    this.PlanQuery("");
                    string strSql = " AND WORKORDER_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + this.txt_Scid_End_Y.Text + "' ";
                    this.PlanXFQuery(strSql, strSql);
                }
                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 Edit()
        {
            try
            {
                string strOut = "";
                ArrayList array = new ArrayList();
                array.Add(gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Text);
                array.Add(gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Text);
                array.Add(gb_PlanState.ActiveRow.Cells["COIL_THK"].Text);
                array.Add(gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text);
                array.Add(gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text);
                if (array.Count == 0)
                {
                    MessageBox.Show("请您选择你要修改的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
                    return;
                }
                ArrayList Other = new ArrayList();
                Other.Add(this.cmb_ClassOrder.Value.ToString());
                Other.Add(this.cmb_ClassTeam.Value.ToString());
                Other.Add(this.dte_Time.Value.ToString());
                Other.Add(this.txt_Length.Value.ToString());//5
                Other.Add(this.txt_Width.Value.ToString());
                Other.Add(this.txt_ply.Value.ToString());
                Other.Add(this.txt_Num.Text.ToString().Trim());
                Other.Add(this.txt_div_no.Text.ToString().Trim());
                Other.Add(this.cmb_PlanBuress.Text.ToString().Trim());//10
                Other.Add(this.txt_Remark.Text.ToString().Trim());
                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_ZD_Edit", new object[] { array, Other }, out strOut);
                if (obj != null && obj.ToString() == "1")
                {
                    this.PlanQuery("");
                    this.PlanXFQuery("","");
                }
                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 Plan_ZD()
        {
            if (!Check())
            {
                return;
            }
            try
            {
                string strOut = "";
                ArrayList array = new ArrayList();
                array = Comm.GetFieldValue(this.gb_Plan, "FLAG", "OLD_SAMPL_NO");
                if (array.Count == 0)
                {
                    MessageBox.Show("请您选择你要制订的钢卷信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
                    return;
                }
                ArrayList Other = new ArrayList();
                Other.Add(this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + this.txt_Scid_End_Y.Text);
                Other.Add(this.cmb_ClassOrder.Value.ToString());
                Other.Add(this.cmb_ClassTeam.Value.ToString());
                Other.Add(this.dte_Time.Value.ToString());
                Other.Add(this.txt_Length.Value.ToString());//5
                Other.Add(this.txt_Width.Value.ToString());
                Other.Add(this.txt_ply.Value.ToString());
                Other.Add(this.txt_Num.Text.ToString().Trim());
                Other.Add(this.txt_div_no.Text.ToString().Trim());
                Other.Add(this.cmb_PlanBuress.Text.ToString().Trim());//10
                Other.Add(this.txt_Remark.Text.ToString().Trim());
                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);

                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Set_ZD", new object[] { array, Other }, out strOut);
                if (obj != null && obj.ToString() == "1")
                {
                    /*DataSet ds = (DataSet)this.gb_Plan.DataSource;
                    System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_PLAN"].Select("FLAG='TRUE'");
                    for (int i = 0; i < row.Length; i++)
                    {
                        ds.Tables["KCJ3_ZY_PLAN"].Rows.Remove(row[i]);
                        ds.Tables["KCJ3_ZY_PLAN"].AcceptChanges();
                    }*/
                    string strSql = " AND WORKORDER_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + this.txt_Scid_End_Y.Text + "' ";
                    this.PlanXFQuery(strSql, strSql);
                    if (this.txt_Num.Text.ToString().Trim() == "余开" || this.txt_Num.Text.ToString().Trim() == "全开" || this.txt_Num.Text.ToString().Trim() == "余开+尾板"
                        || this.txt_Num.Text.ToString().Trim() == "余开+头板" || this.txt_Num.Text.ToString().Trim() == "余开+头尾板") 
                    {
                        this.PlanQuery("");
                    }
                    MessageBox.Show("制定成功！", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
                }
                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 Plan_Del_XF()
		{
			try
			{
				string strOut="";
				ArrayList array=new ArrayList();
                array.Add(gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Text);
				if(array.Count==0)
				{
					MessageBox.Show("请您选择你要撤消的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
					return ;
				}
				ArrayList Other=new ArrayList();
				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Del_XF", new object[] { array, Other }, out strOut);
				if(obj!=null&&obj.ToString()=="1")
				{
					this.PlanQuery("");
                    this.PlanXFQuery("", "");
				}
				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 Plan_ZD_Del()
        {
            try
            {
                if (this.gb_PlanState.Selected.Rows.Count == 0)
                {
                    string strOut = "";
                    ArrayList array = new ArrayList();
                    array.Add(gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Text);
                    array.Add(gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Text);
                    array.Add(gb_PlanState.ActiveRow.Cells["COIL_THK"].Text);
                    array.Add(gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text);
                    array.Add(gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text);
                    array.Add(gb_PlanState.ActiveRow.Cells["AREA"].Text);
                    if (array.Count == 0)
                    {
                        MessageBox.Show("请您选择你要撤消的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
                        return;
                    }
                    ArrayList Other = new ArrayList();
                    Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                    object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_ZD_Del", new object[] { array, Other }, out strOut);
                    if (obj != null && obj.ToString() == "1")
                    {
                        this.PlanQuery("");
                        this.PlanXFQuery("", "");
                    }
                    else
                    {
                        MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
                    }
                }
                else
                {
                    for (int i = 0; i < this.gb_PlanState.Selected.Rows.Count;i++ )
                    {
                        string strOut = "";
                        ArrayList array = new ArrayList();
                        array.Add(gb_PlanState.Selected.Rows[i].Cells["WORKORDER_ID"].Text);
                        array.Add(gb_PlanState.Selected.Rows[i].Cells["OLD_SAMPL_NO"].Text);
                        array.Add(gb_PlanState.Selected.Rows[i].Cells["COIL_THK"].Text);
                        array.Add(gb_PlanState.Selected.Rows[i].Cells["COIL_LEN"].Text);
                        array.Add(gb_PlanState.Selected.Rows[i].Cells["COIL_NUM"].Text);
                        array.Add(gb_PlanState.Selected.Rows[i].Cells["AREA"].Text);
                        if (array.Count == 0)
                        {
                            MessageBox.Show("请您选择你要撤消的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
                            return;
                        }
                        ArrayList Other = new ArrayList();
                        Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                        object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_ZD_Del", new object[] { array, Other }, out strOut);
                        if (obj != null && obj.ToString() == "1")
                        {
                            
                        }
                        else
                        {
                            MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
                        }
                    }
                    this.PlanQuery("");
                    this.PlanXFQuery("", "");

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

		#region EVENT
		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
		{
			switch(e.Tool.Key)
			{
				case "QUERY_KC":
					this.tab_Coroll.Tabs["PROCESS"].Selected=true;
					this.StuffQuery(this.GetWhere());
					break;
				case "QUERY_GY":
					this.tab_Coroll.Tabs["PLAN"].Selected=true;
					this.PlanQuery(this.Plan_GetWhere());
					break;
				case "AFFIRM":
					this.Plan_Add();
					break;
				case "QUERY_PLAN":
                    PlanXFQuery(this.Plan_GetWhere(), this.Plan_GetWhere());
					break;
                case "PlanZD":
                    Plan_ZD();
                    break;
				case "CANCEL":
					 this.Plan_Del();
					break;
				case "DOWN_PLAN":
					this.Plan_XF();
					break;
                case "Edit":
                    this.Edit();
                    break;
				case "DEL_PLAN":
                    Plan_ZD_Del();
                    break;
                case "DEL_DOWN_PLAN":
					Plan_Del_XF();
					break;
				case "DUCE":
                    DoExcel();
                    //ExportButtressInfo();
					break;
				case "PRINT":
					this.Print(this.Plan_GetWhere());
					break;
                case "PrintNew":
                    this.printnew();
                    break;
				case "CLOSE":
					this.Close();
					break;
			}
		}
        private void DoExcel()
        {
            bool expAll = false;
            string strSQL = ""; string strSampleNo = "";
            DataSet ds = new DataSet();
            string err = "";
       
            int RowPosition = 4;
            try
            {

                Excel.ApplicationClass myExcel = new Excel.ApplicationClass();
                myExcel.Application.Workbooks.Add(true);
                myExcel.Visible = true;
                myExcel.DisplayAlerts = false;
                Excel.Range RM; 

                Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gb_PlanState;
                ArrayList SamleNoList = new ArrayList();
                ArrayList SteelNameList = new ArrayList();
                ArrayList PlyList = new ArrayList();
                ArrayList WidthList = new ArrayList();
                ArrayList WeightList = new ArrayList();
                ArrayList CarNoList = new ArrayList();
                ArrayList RemarkList = new ArrayList();
                RM = myExcel.get_Range(myExcel.Cells[1, 1], myExcel.Cells[1, 10]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;

                RM.Value = "新余新钢板材加工厂来料加工计划";

                RM = myExcel.get_Range(myExcel.Cells[2, 1], myExcel.Cells[2, 10]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                //RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                RM.Value = "编号:";


                RM = myExcel.get_Range(myExcel.Cells[3, 1], myExcel.Cells[3, 1]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                myExcel.get_Range(myExcel.Cells[3, 1], myExcel.Cells[3, 1]).ColumnWidth = 12;
                RM.Value = "钢卷号";


                RM = myExcel.get_Range(myExcel.Cells[3, 2], myExcel.Cells[3, 2]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                myExcel.get_Range(myExcel.Cells[3, 2], myExcel.Cells[3, 2]).ColumnWidth = 12;
                RM.Value = "牌号";

                RM = myExcel.get_Range(myExcel.Cells[3, 3], myExcel.Cells[3, 3]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                myExcel.get_Range(myExcel.Cells[3, 3], myExcel.Cells[3, 3]).ColumnWidth = 12;
                RM.Value = "厚度";

                RM = myExcel.get_Range(myExcel.Cells[3, 4], myExcel.Cells[3, 4]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                myExcel.get_Range(myExcel.Cells[3, 4], myExcel.Cells[3, 4]).ColumnWidth = 12;
                RM.Value = "宽度";

                RM = myExcel.get_Range(myExcel.Cells[3, 5], myExcel.Cells[3, 5]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                myExcel.get_Range(myExcel.Cells[3, 5], myExcel.Cells[3, 5]).ColumnWidth = 12;
                RM.Value = "剪切尺寸（长度）";

                RM = myExcel.get_Range(myExcel.Cells[3, 6], myExcel.Cells[3, 6]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                myExcel.get_Range(myExcel.Cells[3, 6], myExcel.Cells[3, 6]).ColumnWidth = 12;
                RM.Value = "块数";


                RM = myExcel.get_Range(myExcel.Cells[3, 7], myExcel.Cells[3, 7]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                myExcel.get_Range(myExcel.Cells[3, 7], myExcel.Cells[3, 7]).ColumnWidth = 12;
                RM.Value = "重量";


                RM = myExcel.get_Range(myExcel.Cells[3, 8], myExcel.Cells[3, 8]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                myExcel.get_Range(myExcel.Cells[3, 8], myExcel.Cells[3, 8]).ColumnWidth = 12;
                RM.Value = "车号";


                RM = myExcel.get_Range(myExcel.Cells[3, 9], myExcel.Cells[3, 9]);
                RM.Select();
                RM.MergeCells = true;
                RM.Merge(0);
                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                myExcel.get_Range(myExcel.Cells[3, 9], myExcel.Cells[3, 9]).ColumnWidth = 12;
                RM.Value = "备注";

                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in tmpGrid.Rows)
                
                {
                    
                    if (!expAll && !row.Selected) continue;
                    if (!row.IsFilteredOut)
                    {


                        

                        strSampleNo = row.Cells["OLD_SAMPL_NO"].Value.ToString();


                        strSQL = "SELECT A.OLD_SAMPL_NO,A.STL_GRD,A.COIL_THK, C.COIL_WTH,C.COIL_LEN,C.COIL_NUM,A.CAL_WGT/1000 ACT_WGT,''CARNO,A.REMARK,A.CREATOR,A.CREATETIME "
                               + " FROM KCJ3_ZY_PLAN_ZW A, KCJ3_STUFFBUTTRESSLIST_ZW B,KCJ3_ZY_PLAN_DETAIL C "
                               + " WHERE A.OLD_SAMPL_NO = B.OLD_SAMPL_NO AND A.OLD_SAMPL_NO=C.OLD_SAMPL_NO AND  A.OLD_SAMPL_NO ='" + strSampleNo + "' ORDER BY A.OLD_SAMPL_NO,C.DETAIL_TIME ";//
                        ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSQL }, out err);
                        if (ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0)
                        {
                            for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                            {
                                //RowPosition = 4 + i ;
                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 1]);
                                RM.Value = "'" + ds.Tables[0].Rows[i]["OLD_SAMPL_NO"].ToString();
                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                                RM.NumberFormat = "@";
                                RM.Rows.ColumnWidth = 30;
                                SamleNoList.Add(ds.Tables[0].Rows[i]["OLD_SAMPL_NO"].ToString());

                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 2]);
                                RM.Value = ds.Tables[0].Rows[i]["STL_GRD"].ToString();
                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                                RM.Rows.ColumnWidth = 30;
                                SteelNameList.Add(ds.Tables[0].Rows[i]["STL_GRD"].ToString()); 

                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 3]);
                                RM.Value = ds.Tables[0].Rows[i]["COIL_THK"].ToString();
                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                                PlyList.Add(ds.Tables[0].Rows[i]["COIL_THK"].ToString()); 


                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 4]);
                                RM.Value = ds.Tables[0].Rows[i]["COIL_WTH"].ToString();
                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                                WidthList.Add(ds.Tables[0].Rows[i]["COIL_WTH"].ToString()); 
                             

                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 5]);
                                RM.Value = ds.Tables[0].Rows[i]["COIL_LEN"].ToString();
                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;


                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 6]);
                                RM.Value = ds.Tables[0].Rows[i]["COIL_NUM"].ToString();
                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                           



                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 7]);
                                RM.Value = ds.Tables[0].Rows[i]["ACT_WGT"].ToString();
                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                                WeightList.Add(ds.Tables[0].Rows[i]["ACT_WGT"].ToString());

                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 8]);
                                RM.Value = ds.Tables[0].Rows[i]["CARNO"].ToString();
                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
                                CarNoList.Add(ds.Tables[0].Rows[i]["CARNO"].ToString());

                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 9]);
                                RM.Value = this.txt_Remark.Text.Trim().ToString();
                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;

                                RemarkList.Add(this.txt_Remark.Text.Trim().ToString()); 

                                RowPosition++;

                            }

                        }
                     
                        myExcel.get_Range(myExcel.Cells[1, 1], myExcel.Cells[RowPosition + 4, 10]).Font.Name = "Arial Narrow";
                        myExcel.get_Range(myExcel.Cells[1, 1], myExcel.Cells[RowPosition + 4, 10]).Font.Bold = true;
                        myExcel.get_Range(myExcel.Cells[1, 1], myExcel.Cells[RowPosition + 4, 10]).Font.Size = 12;
                        myExcel.get_Range(myExcel.Cells[1, 1], myExcel.Cells[1, 10]).Borders.LineStyle = 1;
                    }
                    

                }

                if (SamleNoList.Count > 0)
                {
                    int XXCount = SamleNoList.Count;
                    string LastName = "";
                    int LastPosInf = -1;
                    for (int i = 0; i < XXCount; i++)
                    {
                        if (LastName == "")
                        {
                            LastName = (string)SamleNoList[i];
                            LastPosInf = i;
                        }
                        else
                        {
                            if (LastName == (string)SamleNoList[i])
                            {
                                if (i == XXCount - 1)
                                {
                                    if (LastPosInf != i)
                                    {
                                        Excel.Range RMX;
                                        string Inf = "";
                                        Inf = "A" + (LastPosInf + 4).ToString() + ":" + "A" + (i + 4).ToString();
                                        RMX = myExcel.get_Range(Inf, Type.Missing);
                                        RMX.MergeCells = true;
                                        RMX.Merge(0);
                                    }
                                }
                            }
                            else
                            {
                                if (LastPosInf != i - 1)
                                {
                                    Excel.Range RMX;
                                    string Inf = "";
                                    Inf = "A" + (LastPosInf + 4).ToString() + ":" + "A" + (i + 3).ToString();
                                    RMX = myExcel.get_Range(Inf, Type.Missing);
                                    RMX.MergeCells = true;
                                    RMX.Merge(0);
                                }
                                LastName = (string)SamleNoList[i];
                                LastPosInf = i;
                            }
                        }
                    }
                }
                SamleNoList.Clear();

                if (SteelNameList.Count > 0)
                {
                    int XXCount = SteelNameList.Count;
                    string LastName = "";
                    int LastPosInf = -1;
                    for (int i = 0; i < XXCount; i++)
                    {
                        if (LastName == "")
                        {
                            LastName = (string)SteelNameList[i];
                            LastPosInf = i;
                        }
                        else
                        {
                            if (LastName == (string)SteelNameList[i])
                            {
                                if (i == XXCount - 1)
                                {
                                    if (LastPosInf != i)
                                    {
                                        Excel.Range RMX;
                                        string Inf = "";
                                        Inf = "B" + (LastPosInf + 4).ToString() + ":" + "B" + (i + 4).ToString();
                                        RMX = myExcel.get_Range(Inf, Type.Missing);
                                        RMX.MergeCells = true;
                                        RMX.Merge(0);
                                    }
                                }
                            }
                            else
                            {
                                if (LastPosInf != i - 1)
                                {
                                    Excel.Range RMX;
                                    string Inf = "";
                                    Inf = "B" + (LastPosInf + 4).ToString() + ":" + "B" + (i + 3).ToString();
                                    RMX = myExcel.get_Range(Inf, Type.Missing);
                                    RMX.MergeCells = true;
                                    RMX.Merge(0);
                                }
                                LastName = (string)SteelNameList[i];
                                LastPosInf = i;
                            }
                        }
                    }
                }
                SteelNameList.Clear();


                if (PlyList.Count > 0)
                {
                    int XXCount = PlyList.Count;
                    string LastName = "";
                    int LastPosInf = -1;
                    for (int i = 0; i < XXCount; i++)
                    {
                        if (LastName == "")
                        {
                            LastName = (string)PlyList[i];
                            LastPosInf = i;
                        }
                        else
                        {
                            if (LastName == (string)PlyList[i])
                            {
                                if (i == XXCount - 1)
                                {
                                    if (LastPosInf != i)
                                    {
                                        Excel.Range RMX;
                                        string Inf = "";
                                        Inf = "C" + (LastPosInf + 4).ToString() + ":" + "C" + (i + 4).ToString();
                                        RMX = myExcel.get_Range(Inf, Type.Missing);
                                        RMX.MergeCells = true;
                                        RMX.Merge(0);
                                    }
                                }
                            }
                            else
                            {
                                if (LastPosInf != i - 1)
                                {
                                    Excel.Range RMX;
                                    string Inf = "";
                                    Inf = "C" + (LastPosInf + 4).ToString() + ":" + "C" + (i + 3).ToString();
                                    RMX = myExcel.get_Range(Inf, Type.Missing);
                                    RMX.MergeCells = true;
                                    RMX.Merge(0);
                                }
                                LastName = (string)PlyList[i];
                                LastPosInf = i;
                            }
                        }
                    }
                }
                PlyList.Clear();


                if (WidthList.Count > 0)
                {
                    int XXCount = WidthList.Count;
                    string LastName = "";
                    int LastPosInf = -1;
                    for (int i = 0; i < XXCount; i++)
                    {
                        if (LastName == "")
                        {
                            LastName = (string)WidthList[i];
                            LastPosInf = i;
                        }
                        else
                        {
                            if (LastName == (string)WidthList[i])
                            {
                                if (i == XXCount - 1)
                                {
                                    if (LastPosInf != i)
                                    {
                                        Excel.Range RMX;
                                        string Inf = "";
                                        Inf = "D" + (LastPosInf + 4).ToString() + ":" + "D" + (i + 4).ToString();
                                        RMX = myExcel.get_Range(Inf, Type.Missing);
                                        RMX.MergeCells = true;
                                        RMX.Merge(0);
                                    }
                                }
                            }
                            else
                            {
                                if (LastPosInf != i - 1)
                                {
                                    Excel.Range RMX;
                                    string Inf = "";
                                    Inf = "D" + (LastPosInf + 4).ToString() + ":" + "D" + (i + 3).ToString();
                                    RMX = myExcel.get_Range(Inf, Type.Missing);
                                    RMX.MergeCells = true;
                                    RMX.Merge(0);
                                }
                                LastName = (string)WidthList[i];
                                LastPosInf = i;
                            }
                        }
                    }
                }
                WidthList.Clear();


                if (WeightList.Count > 0)
                {
                    int XXCount = WeightList.Count;
                    string LastName = "";
                    int LastPosInf = -1;
                    for (int i = 0; i < XXCount; i++)
                    {
                        if (LastName == "")
                        {
                            LastName = (string)WeightList[i];
                            LastPosInf = i;
                        }
                        else
                        {
                            if (LastName == (string)WeightList[i])
                            {
                                if (i == XXCount - 1)
                                {
                                    if (LastPosInf != i)
                                    {
                                        Excel.Range RMX;
                                        string Inf = "";
                                        Inf = "G" + (LastPosInf + 4).ToString() + ":" + "G" + (i + 4).ToString();
                                        RMX = myExcel.get_Range(Inf, Type.Missing);
                                        RMX.MergeCells = true;
                                        RMX.Merge(0);
                                    }
                                }
                            }
                            else
                            {
                                if (LastPosInf != i - 1)
                                {
                                    Excel.Range RMX;
                                    string Inf = "";
                                    Inf = "G" + (LastPosInf + 4).ToString() + ":" + "G" + (i + 3).ToString();
                                    RMX = myExcel.get_Range(Inf, Type.Missing);
                                    RMX.MergeCells = true;
                                    RMX.Merge(0);
                                }
                                LastName = (string)WeightList[i];
                                LastPosInf = i;
                            }
                        }
                    }
                }
                WeightList.Clear();



                if (CarNoList.Count > 0)
                {
                    int XXCount = CarNoList.Count;
                    string LastName = "";
                    int LastPosInf = -1;
                    for (int i = 0; i < XXCount; i++)
                    {
                        if (LastName == "")
                        {
                            LastName = (string)CarNoList[i];
                            LastPosInf = i;
                        }
                        else
                        {
                            if (LastName == (string)CarNoList[i])
                            {
                                if (i == XXCount - 1)
                                {
                                    if (LastPosInf != i)
                                    {
                                        Excel.Range RMX;
                                        string Inf = "";
                                        Inf = "H" + (LastPosInf + 4).ToString() + ":" + "H" + (i + 4).ToString();
                                        RMX = myExcel.get_Range(Inf, Type.Missing);
                                        RMX.MergeCells = true;
                                        RMX.Merge(0);
                                    }
                                }
                            }
                            else
                            {
                                if (LastPosInf != i - 1)
                                {
                                    Excel.Range RMX;
                                    string Inf = "";
                                    Inf = "H" + (LastPosInf + 4).ToString() + ":" + "H" + (i + 3).ToString();
                                    RMX = myExcel.get_Range(Inf, Type.Missing);
                                    RMX.MergeCells = true;
                                    RMX.Merge(0);
                                }
                                LastName = (string)CarNoList[i];
                                LastPosInf = i;
                            }
                        }
                    }
                }
                CarNoList.Clear();




                if (RemarkList.Count > 0)
                {
                    int XXCount = RemarkList.Count;
                    string LastName = "";
                    int LastPosInf = -1;
                    for (int i = 0; i < XXCount; i++)
                    {
                        if (LastName == "")
                        {
                            LastName = (string)RemarkList[i];
                            LastPosInf = i;
                        }
                        else
                        {
                            if (LastName == (string)RemarkList[i])
                            {
                                if (i == XXCount - 1)
                                {
                                    if (LastPosInf != i)
                                    {
                                        Excel.Range RMX;
                                        string Inf = "";
                                        Inf = "I" + (LastPosInf + 4).ToString() + ":" + "I" + (i + 4).ToString();
                                        RMX = myExcel.get_Range(Inf, Type.Missing);
                                        RMX.MergeCells = true;
                                        RMX.Merge(0);
                                    }
                                }
                            }
                            else
                            {
                                if (LastPosInf != i - 1)
                                {
                                    Excel.Range RMX;
                                    string Inf = "";
                                    Inf = "I" + (LastPosInf + 4).ToString() + ":" + "I" + (i + 3).ToString();
                                    RMX = myExcel.get_Range(Inf, Type.Missing);
                                    RMX.MergeCells = true;
                                    RMX.Merge(0);
                                }
                                LastName = (string)RemarkList[i];
                                LastPosInf = i;
                            }
                        }
                    }
                }
                RemarkList.Clear();
                myExcel.DisplayAlerts = true;
                Excel.Range range = (Excel.Range)myExcel.Rows[RowPosition, Type.Missing];

                range.EntireRow.Insert(Excel.XlDirection.xlDown);
                range = ((Excel.Range)myExcel.Cells[RowPosition, 4]);
                range.Value = "备注：1.来料加工剪切时规格必须要复尺。注意剪切尺寸，不要超过标准。 "
                            +" 2.头尾料注明钢卷号、规格、随货同行。"
                            +" 3.剪切好每包必须收集整齐。"
                            +"4.每种规格用石笔注明规格块数。"
                            +" 5.原料卷如有波浪，先不开（在允许的范围内可以开）。"
                            +"6.计划生产完不要丢，装车还要用。 "
                            +"7.上料核对钢卷标签信息。确认无误再开平。";
                range.WrapText = true;
                range.EntireRow.AutoFit();

                range.Rows.RowHeight = 50;
                range.Columns.ColumnWidth = 24;
                string sInf = "";
                sInf = "A" + (RowPosition).ToString() + ":" + "H" + (RowPosition).ToString();
                range = myExcel.get_Range(sInf, Type.Missing);
                range.MergeCells = true;
                range.Merge(0);



                range = ((Excel.Range)myExcel.Cells[RowPosition+2, 7]);
                range.Value = ClientCommon._UserInfo.UserName.ToString();


                range = ((Excel.Range)myExcel.Cells[RowPosition + 3, 8]);
                range.Value = DateTime.Now.ToString("yyyy-MM-dd");
                
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }
   
        private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
        {
            this.dte_BeginTime.Enabled = chk_CollectTime.Checked;
            this.dte_EndTime.Enabled = chk_CollectTime.Checked;
        }

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

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

		private void chk_RollHao_CheckedChanged(object sender, System.EventArgs e)
		{
			   this.txt_RollHao.Enabled=this.chk_RollHao.Checked;
		}

		private void chk_BanHao_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_GangP.Enabled=this.chk_BanHao.Checked;
		}

		private void chk_PaiHao_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_Sleen.Enabled=this.chk_PaiHao.Checked;
		}

		private void Chk_Buttress_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_Buress.Enabled=this.Chk_Buttress.Checked;
		}

		private void gb_Plan_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
		{
			try
			{
				if(e.Cell.Column.Key == "FLAG")
				{
					e.Cell.Row.Update();
					if(e.Cell.Value.ToString().ToUpper() == "TRUE")
					{
						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
                        this.txt_Width.Text = gb_Plan.ActiveRow.Cells["COIL_WTH"].Value.ToString();
                        this.txt_ply.Text = gb_Plan.ActiveRow.Cells["COIL_THK"].Value.ToString();
					}
					else
					{
						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
					}
				}
			}
			catch(System.Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

	    private void gb_Stuff_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
		{
			try
			{
				if(e.Cell.Column.Key == "FLAG")
				{
					e.Cell.Row.Update();
					if(e.Cell.Value.ToString().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());
			}
		}

		private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
		{
			
			try
			{
				Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gb_Stuff;
				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Stuff.Rows)
				{
					if(!row.IsFilteredOut)
					{
						row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
						row.Update();
					}
				}
				Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid1 = this.gb_Plan;
				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Plan.Rows)
				{
					if(!row.IsFilteredOut)
					{
						row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
						row.Update();
					}
				}
			}
			catch(System.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.gb_Plan.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
					this.gb_Plan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;

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

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

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

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

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

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

		private void txt_Scid_End_Y_Click(object sender, System.EventArgs e)
		{
		     this.txt_Scid_Begin_Y.Text=System.DateTime.Now.Date.ToString("yyMMdd");
			if(this.cmb_EditType_Y.Value.ToString()=="1")
				if(this.Scid_Where().Length==4)
				{
					this.txt_Scid_End_Y.Text=this.Scid_Where();
				}
				else
				{
					this.txt_Scid_End_Y.Text=Comm.ObjToStr(Comm.ObjToInt(this.Scid_Where().Substring(8))+1).PadLeft(4,'0');
				}
		}
		private string Scid_Where()
		{
			string strOut="";
			string ID="0001";
			try
			{
			   string sql="SELECT MAX(WORKORDER_ID) FROM KCJ3_ZY_PLAN_ZW WHERE DOWN_FLAG='1' ORDER BY WORKORDER_ID";
			   DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common","GetDataSet",new object []{sql},out strOut);
				if(ds.Tables.Count ==1 && ds.Tables[0].Rows.Count > 0 )
					if(Comm.ObjToStr(ds.Tables[0].Rows[0][0])!="")
					{
						ID=Comm.ObjToStr(ds.Tables[0].Rows[0][0]);
					}
					else
					{
						ID="0001";
					}

				return ID;
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
				return ID;
			}
		}
		private void cmb_EditType_Y_ValueChanged(object sender, System.EventArgs e)
		{
			if(this.cmb_EditType_Y.SelectedIndex==0)
			{
				this.txt_Scid_Begin_Y.ReadOnly=true;
				this.txt_Scid_End_Y.ReadOnly=true;
				this.txt_Scid_Top_Y.ReadOnly=true;
			}
			else
			{
				this.txt_Scid_Begin_Y.ReadOnly=false;
				this.txt_Scid_End_Y.ReadOnly=false;
				this.txt_Scid_Top_Y.ReadOnly=false;
			}
		}
		#endregion

		#region 初始化
		private void Frm_PlanDrawUp_Load(object sender, System.EventArgs e)
		{
			Comm.SetGridSumArea(this.gb_Plan);
			Comm.SetGridSumArea(this.gb_PlanState);
			Comm.SetGridSumArea(this.gb_Stuff);
			this.txt_Scid_Begin_Y.Text=System.DateTime.Now.Date.ToString("yyMMdd");
			this.txt_Scid_Top_Y.Text="J1";
			this.cmb_EditType_Y.SelectedIndex=0;

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

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

				//班组
				sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
				ds.Tables[0].TableName="SCM_BASE_INFO";

				Comm.Init_ComboControl(this.cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds);
                
				//堆位
                sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
				ds.Tables[0].TableName="KCJ_BUTTRESS";

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

                //计划堆位
                sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
                ds.Tables[0].TableName = "KCJ_PLANBUTTRESS";

                Comm.Init_ComboControl(this.cmb_PlanBuress, "KCJ_PLANBUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);

                //块数
                sql = "SELECT NAME_ FROM KCJ3_ZY_PLAN_DATA WHERE NAME_ IN ('余开','全开','余开+尾板','余开+头板','余开+头尾板')";
                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
                ds.Tables[0].TableName = "KCJ3_ZY_PLAN_DATA";

                Comm.Init_ComboControl(this.txt_Num, "KCJ3_ZY_PLAN_DATA", "NAME_", "NAME_", ref ds);

                //工艺类型
                sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE ='8077'";
                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
                ds.Tables[0].TableName = "KCJ_BASEDATA";

                Comm.Init_ComboControl(this.cmb_Gylx, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
           
                
                //sql ="SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '8055'" ;
                //ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.Common","GetDataSet",new object []{sql},out strOut);
                //ds.Tables[0].TableName="KCJ_BASEDATA";

                ////Comm.Init_ComboControl(this.cmb_ProcLine,"KCJ_BASEDATA","NAME_","ID_",ref ds);
                //Comm.Init_ComboControl(this.cmb_ProcL,"KCJ_BASEDATA","NAME_","ID_",ref ds);

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

		}
		#endregion
		#region "导出报表"
		private void ExportButtressInfo()
		{
			if(this.gb_PlanState.Rows.Count > 0)
			{
				Comm.ExPortExcel(this.gb_PlanState,this.excelExporter);
			}
			else
			{
				MessageBox.Show("无信息数据，不能导出！","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
			}

		}
		#endregion 
		private void chk_BNumber_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_BNumber.Enabled=this.chk_BNumber.Checked;
		}
		private void Print(string _Conntion)
		{
			try
			{
				string strOut="";
                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "PLAN_Print", new object[] { _Conntion }, out strOut);
				Core.XgMes.Client.Print.FrmPrintBase rtp = new Core.XgMes.Client.Print.FrmPrintBase();
				rtp._rtpDataSet = ds;
                rtp._rtpFileName = @"PlanQrawUpZW.rpt";
				rtp.ShowDialog();
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
        private void printnew()
        {
            if(gb_PlanState.ActiveRow == null)
            {
                MessageBox.Show("请选择需要导出的数据！");
                return;
            }
            string work_id = gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Text;
            string url = "http://172.16.0.41/FineReport/decision/view/report?viewlet=XGCX%252F%25E6%2596%25B0%25E4%25BD%2599%25E6%2596%25B0%25E9%2592%25A2%25E6%259D%25BF%25E6%259D%2590%25E5%258A%25A0%25E5%25B7%25A5%2528%25E5%258D%258E%25E5%258E%259F%2529%25E6%259D%25A5%25E6%2596%2599%25E5%258A%25A0%25E5%25B7%25A5%25E4%25B8%25AD%25E5%25BF%2583%25E6%258A%25A5%25E8%25A1%25A8.cpt&ref_t=design&ref_c=787747db-e656-421f-b2e5-498a7358ade3&workorder_id=" + work_id;
            System.Diagnostics.Process.Start("IEXPLORE.EXE",url);
        }

		private void chk_ProcLine_CheckedChanged(object sender, System.EventArgs e)
		{
			this.cmb_IS.Enabled=this.chk_ProcLine.Checked;
		}

        private void gb_Plan_AfterRowActivate(object sender, EventArgs e)
        {
            if (this.gb_Plan.ActiveRow == null) return;
            if (gb_Plan.ActiveRow != null)
            {
                if (gb_Plan.ActiveRow.Cells["WORKORDER_ID"].Value.ToString() != "")
                {
                    this.txt_Scid_Top_Y.Text = gb_Plan.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(0, 2);
                    this.txt_Scid_Begin_Y.Text = gb_Plan.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(2, 6);
                    this.txt_Scid_End_Y.Text = gb_Plan.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(8);
                }
            }

            
        }

        private void gb_PlanState_AfterRowActivate(object sender, EventArgs e)
        {
            if (gb_PlanState.ActiveRow.Band.Columns.Count.ToString().Equals(this.gb_PlanState.DisplayLayout.Bands[1].Columns.Count.ToString()))
            {
                this.txt_Length.Value = gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text;
                this.txt_Width.Value = gb_PlanState.ActiveRow.Cells["COIL_WTH"].Text;
                this.txt_ply.Value = gb_PlanState.ActiveRow.Cells["COIL_THK"].Text;
                this.txt_Num.Text = gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text;
                this.txt_div_no.Text = gb_PlanState.ActiveRow.Cells["PLAN_CAR_NO"].Text;
                this.cmb_PlanBuress.Text = gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text;
                this.txt_Remark.Text = gb_PlanState.ActiveRow.Cells["PLAN_BUTTRESS"].Text;
            }
            /*if (this.gb_PlanState.ActiveRow == null) return;
            if (gb_PlanState.ActiveRow != null)
            {
                if (gb_PlanState.ActiveRow.Band.Key == "dtXF_Main")
                {
                    if (gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Value.ToString() != "")
                    {
                        this.txt_Scid_Top_Y.Text = gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(0, 2);
                        this.txt_Scid_Begin_Y.Text = gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(2, 6);
                        this.txt_Scid_End_Y.Text = gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(8);
                    }
                }
                if (gb_PlanState.ActiveRow.Band.Key == "ReltnXF")
                {
                    this.txt_Length.Text = gb_PlanState.ActiveRow.Cells["长度"].Value.ToString();
                    this.txt_Width.Text = gb_PlanState.ActiveRow.Cells["宽度"].Value.ToString();
                    this.txt_Num.Text = gb_PlanState.ActiveRow.Cells["块数"].Value.ToString();
                    
                }
            }*/
        }

        private void gb_PlanState_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
        {
            //this.gb_PlanState.Rows.ExpandAll(true);
        }

        private void Btn_UpdateCar_Click(object sender, EventArgs e)
        {
            try
            {
                string strOut = "";
                string GUID = gb_PlanState.ActiveRow.Cells["GUID"].Text.Trim();
                string PLAN_CAR_NO = txt_div_no.Text.ToString().Trim();
                string PLAN_BUTTRESS = cmb_PlanBuress.Text.ToString().Trim();

                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "UPDATE_PLAN", new object[] { GUID, PLAN_CAR_NO, PLAN_BUTTRESS }, out strOut);
                if (obj != null && obj.ToString() == "1")
                {
                    MessageBox.Show("修改成功！", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
                }
                else
                {
                    MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
                }
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }
	}
}
