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

namespace Core.XgMes.Client.JGKC.RollManager
{
    /// <summary>
    /// Frm_TurnoffManage 的摘要说明。
    /// </summary>
    public class Frm_TurnoffManage : 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.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
        private System.Windows.Forms.Panel panel2;
        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
        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_CollectTime;
        private Infragistics.Win.UltraWinGrid.UltraGrid gb_Press;
        private Infragistics.Win.UltraWinGrid.UltraGrid gb_Turan;
        private Infragistics.Win.Misc.UltraLabel ultraLabel11;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PaiHao;
        private Infragistics.Win.Misc.UltraLabel ultraLabel9;
        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
        private Infragistics.Win.Misc.UltraLabel ultraLabel10;
        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
        private Infragistics.Win.Misc.UltraLabel lab_cd;
        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Ply;
        private Infragistics.Win.Misc.UltraLabel ultraLabel12;
        private Infragistics.Win.Misc.UltraLabel ultraLabel20;
        private Infragistics.Win.Misc.UltraLabel ultraLabel7;
        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
        private Infragistics.Win.Misc.UltraLabel ultraLabel4;
        private Infragistics.Win.Misc.UltraLabel ultraLabel8;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BugReaSon;
        private Infragistics.Win.Misc.UltraLabel ultraLabel25;
        private Infragistics.Win.Misc.UltraLabel ultraLabel2;
        private Infragistics.Win.Misc.UltraLabel ultraLabel3;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangpeiH;
        private Infragistics.Win.Misc.UltraLabel ultraLabel1;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_End_Y;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Begin_Y;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Top_Y;
        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_TiShi;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollHao;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BanHao;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PiHao;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassStream;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOreder;
        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Num;
        private Infragistics.Win.Misc.UltraButton Btn_Turn;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BNumber;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BNumber;
        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_Time;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PiHao_Begin;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Pihao_Top;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PIhao_End;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_QuYu;
        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ReMark;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProcL;
        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProcLine;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Plact;
        private Infragistics.Win.UltraWinDataSource.UltraDataSource ultraDataSource1;
        private Infragistics.Win.UltraWinGrid.UltraCombo txt_ZHPD;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_area;
        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
        private Infragistics.Win.Misc.UltraLabel ultraLabel15;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Gylx;
        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_plid;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Seq;
        private System.ComponentModel.IContainer components;

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

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

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

        #region Windows 窗体设计器生成的代码
        /// <summary>
        /// 设计器支持所需的方法 - 不要使用代码编辑器修改
        /// 此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ADD");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCEL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REF");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ADD");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCEL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REF");
            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
            Infragistics.Win.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("ZSLAB_PLY");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCLASSORDER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCLASSTEAM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TURNOFFCOLLECT_LOG");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOCKTYPE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 10, true);
            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 9, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 9, true);
            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
            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("INCLASSORDER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TURNOFFCOLLECT_LOG");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STCOKTYPE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GZQX");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYQX");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn69 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn70 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SERIAL_NUMBER", 3);
            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 9, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 9, true);
            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 10, true);
            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, "", "XJJL_WEIGHT", 33, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
            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.cmb_ProcL = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.chk_ProcLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.cmb_QuYu = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_PIhao_End = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_Pihao_Top = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_BNumber = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_BNumber = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_PiHao_Begin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_PiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.chk_AllowFilter = 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.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
            this.gb_Press = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.panel2 = new System.Windows.Forms.Panel();
            this.txt_Seq = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.cmb_plid = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.cmb_Gylx = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_area = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_ZHPD = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.txt_Plact = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_ReMark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
            this.dte_Time = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.Btn_Turn = new Infragistics.Win.Misc.UltraButton();
            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_PaiHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_Num = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.lab_cd = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_Ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_ClassStream = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_ClassOreder = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_BugReaSon = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_GangpeiH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_Scid_End_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_Scid_Begin_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_Scid_Top_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_TiShi = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
            this.gb_Turan = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
            this.ultraDataSource1 = new Infragistics.Win.UltraWinDataSource.UltraDataSource();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
            this.ultraGroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PIhao_End)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao_Top)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao_Begin)).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.ultraExpandableGroupBox1)).BeginInit();
            this.ultraExpandableGroupBox1.SuspendLayout();
            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gb_Press)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Seq)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_plid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Gylx)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_area)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ZHPD)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Plact)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ReMark)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PaiHao)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassStream)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOreder)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_TiShi)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
            this.ultraGroupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gb_Turan)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraDataSource1)).BeginInit();
            this.SuspendLayout();
            // 
            // 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(968, 28);
            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, 4);
            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;
            buttonTool2.InstanceProps.IsFirstInGroup = true;
            buttonTool4.InstanceProps.IsFirstInGroup = true;
            buttonTool5.InstanceProps.IsFirstInGroup = true;
            buttonTool6.InstanceProps.IsFirstInGroup = true;
            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool1,
            buttonTool2,
            buttonTool3,
            buttonTool4,
            buttonTool5,
            buttonTool6});
            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
            ultraToolbar1});
            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
            buttonTool7.SharedProps.Caption = "关闭";
            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool8.SharedProps.Caption = "查询";
            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool9.SharedProps.Caption = "登记";
            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool10.SharedProps.Caption = "撤销";
            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool11.SharedProps.Caption = "导出";
            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool12.SharedProps.Caption = "刷新成品收集槽";
            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool7,
            buttonTool8,
            buttonTool9,
            buttonTool10,
            buttonTool11,
            buttonTool12});
            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
            // 
            // _panel1_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(968, 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, 4);
            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(968, 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, 28);
            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(968, 0);
            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // ultraGroupBox1
            // 
            this.ultraGroupBox1.Controls.Add(this.cmb_ProcL);
            this.ultraGroupBox1.Controls.Add(this.chk_ProcLine);
            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
            this.ultraGroupBox1.Controls.Add(this.cmb_QuYu);
            this.ultraGroupBox1.Controls.Add(this.ultraCheckEditor1);
            this.ultraGroupBox1.Controls.Add(this.txt_PIhao_End);
            this.ultraGroupBox1.Controls.Add(this.txt_Pihao_Top);
            this.ultraGroupBox1.Controls.Add(this.txt_BNumber);
            this.ultraGroupBox1.Controls.Add(this.chk_BNumber);
            this.ultraGroupBox1.Controls.Add(this.txt_PiHao_Begin);
            this.ultraGroupBox1.Controls.Add(this.chk_PiHao);
            this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
            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.Controls.Add(this.chk_CollectTime);
            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 28);
            this.ultraGroupBox1.Name = "ultraGroupBox1";
            this.ultraGroupBox1.Size = new System.Drawing.Size(968, 56);
            this.ultraGroupBox1.SupportThemes = false;
            this.ultraGroupBox1.TabIndex = 1;
            // 
            // cmb_ProcL
            // 
            this.cmb_ProcL.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_ProcL.DisplayMember = "";
            this.cmb_ProcL.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.cmb_ProcL.Enabled = false;
            this.cmb_ProcL.FlatMode = true;
            this.cmb_ProcL.Location = new System.Drawing.Point(794, 30);
            this.cmb_ProcL.Name = "cmb_ProcL";
            this.cmb_ProcL.Size = new System.Drawing.Size(90, 19);
            this.cmb_ProcL.TabIndex = 281;
            this.cmb_ProcL.Tag = "";
            this.cmb_ProcL.ValueMember = "";
            // 
            // chk_ProcLine
            // 
            this.chk_ProcLine.Location = new System.Drawing.Point(732, 32);
            this.chk_ProcLine.Name = "chk_ProcLine";
            this.chk_ProcLine.Size = new System.Drawing.Size(64, 16);
            this.chk_ProcLine.TabIndex = 280;
            this.chk_ProcLine.TabStop = false;
            this.chk_ProcLine.Text = "产线";
            this.chk_ProcLine.CheckedChanged += new System.EventHandler(this.chk_ProcLine_CheckedChanged);
            // 
            // dte_EndTime
            // 
            this.dte_EndTime.Enabled = false;
            this.dte_EndTime.FlatMode = true;
            this.dte_EndTime.Location = new System.Drawing.Point(70, 30);
            this.dte_EndTime.Name = "dte_EndTime";
            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
            this.dte_EndTime.TabIndex = 279;
            // 
            // dte_BeginTime
            // 
            this.dte_BeginTime.Enabled = false;
            this.dte_BeginTime.FlatMode = true;
            this.dte_BeginTime.Location = new System.Drawing.Point(70, 8);
            this.dte_BeginTime.Name = "dte_BeginTime";
            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
            this.dte_BeginTime.TabIndex = 278;
            // 
            // cmb_QuYu
            // 
            this.cmb_QuYu.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            appearance1.BackColor = System.Drawing.SystemColors.Window;
            appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
            this.cmb_QuYu.DisplayLayout.Appearance = appearance1;
            this.cmb_QuYu.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.cmb_QuYu.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
            appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance2.BorderColor = System.Drawing.SystemColors.Window;
            this.cmb_QuYu.DisplayLayout.GroupByBox.Appearance = appearance2;
            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
            this.cmb_QuYu.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
            this.cmb_QuYu.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
            appearance4.BackColor2 = System.Drawing.SystemColors.Control;
            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
            this.cmb_QuYu.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
            this.cmb_QuYu.DisplayLayout.MaxColScrollRegions = 1;
            this.cmb_QuYu.DisplayLayout.MaxRowScrollRegions = 1;
            appearance5.BackColor = System.Drawing.SystemColors.Window;
            appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmb_QuYu.DisplayLayout.Override.ActiveCellAppearance = appearance5;
            appearance6.BackColor = System.Drawing.SystemColors.Highlight;
            appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
            this.cmb_QuYu.DisplayLayout.Override.ActiveRowAppearance = appearance6;
            this.cmb_QuYu.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.cmb_QuYu.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
            appearance7.BackColor = System.Drawing.SystemColors.Window;
            this.cmb_QuYu.DisplayLayout.Override.CardAreaAppearance = appearance7;
            appearance8.BorderColor = System.Drawing.Color.Silver;
            appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
            this.cmb_QuYu.DisplayLayout.Override.CellAppearance = appearance8;
            this.cmb_QuYu.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.cmb_QuYu.DisplayLayout.Override.CellPadding = 0;
            appearance9.BackColor = System.Drawing.SystemColors.Control;
            appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance9.BorderColor = System.Drawing.SystemColors.Window;
            this.cmb_QuYu.DisplayLayout.Override.GroupByRowAppearance = appearance9;
            appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
            this.cmb_QuYu.DisplayLayout.Override.HeaderAppearance = appearance10;
            this.cmb_QuYu.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.cmb_QuYu.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
            appearance11.BackColor = System.Drawing.SystemColors.Window;
            appearance11.BorderColor = System.Drawing.Color.Silver;
            this.cmb_QuYu.DisplayLayout.Override.RowAppearance = appearance11;
            this.cmb_QuYu.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
            appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
            this.cmb_QuYu.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
            this.cmb_QuYu.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.cmb_QuYu.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.cmb_QuYu.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.cmb_QuYu.DisplayMember = "";
            this.cmb_QuYu.Enabled = false;
            this.cmb_QuYu.FlatMode = true;
            this.cmb_QuYu.Location = new System.Drawing.Point(640, 30);
            this.cmb_QuYu.Name = "cmb_QuYu";
            this.cmb_QuYu.Size = new System.Drawing.Size(86, 19);
            this.cmb_QuYu.TabIndex = 277;
            this.cmb_QuYu.TabStop = false;
            this.cmb_QuYu.ValueMember = "";
            // 
            // ultraCheckEditor1
            // 
            this.ultraCheckEditor1.Location = new System.Drawing.Point(580, 32);
            this.ultraCheckEditor1.Name = "ultraCheckEditor1";
            this.ultraCheckEditor1.Size = new System.Drawing.Size(52, 16);
            this.ultraCheckEditor1.TabIndex = 276;
            this.ultraCheckEditor1.TabStop = false;
            this.ultraCheckEditor1.Text = "区域";
            this.ultraCheckEditor1.CheckedChanged += new System.EventHandler(this.ultraCheckEditor1_CheckedChanged);
            // 
            // txt_PIhao_End
            // 
            this.txt_PIhao_End.AutoSize = true;
            this.txt_PIhao_End.Enabled = false;
            this.txt_PIhao_End.FlatMode = true;
            this.txt_PIhao_End.Location = new System.Drawing.Point(545, 30);
            this.txt_PIhao_End.Name = "txt_PIhao_End";
            this.txt_PIhao_End.Size = new System.Drawing.Size(29, 19);
            this.txt_PIhao_End.TabIndex = 275;
            this.txt_PIhao_End.TabStop = false;
            this.txt_PIhao_End.Tag = "";
            // 
            // txt_Pihao_Top
            // 
            this.txt_Pihao_Top.AutoSize = true;
            this.txt_Pihao_Top.Enabled = false;
            this.txt_Pihao_Top.FlatMode = true;
            this.txt_Pihao_Top.Location = new System.Drawing.Point(456, 30);
            this.txt_Pihao_Top.Name = "txt_Pihao_Top";
            this.txt_Pihao_Top.Size = new System.Drawing.Size(90, 19);
            this.txt_Pihao_Top.TabIndex = 274;
            this.txt_Pihao_Top.TabStop = false;
            this.txt_Pihao_Top.Tag = "";
            // 
            // 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(794, 6);
            this.txt_BNumber.Name = "txt_BNumber";
            this.txt_BNumber.Size = new System.Drawing.Size(90, 19);
            this.txt_BNumber.TabIndex = 273;
            this.txt_BNumber.TabStop = false;
            this.txt_BNumber.Tag = "";
            // 
            // chk_BNumber
            // 
            this.chk_BNumber.Location = new System.Drawing.Point(732, 10);
            this.chk_BNumber.Name = "chk_BNumber";
            this.chk_BNumber.Size = new System.Drawing.Size(48, 16);
            this.chk_BNumber.TabIndex = 272;
            this.chk_BNumber.TabStop = false;
            this.chk_BNumber.Text = "批号";
            this.chk_BNumber.CheckedChanged += new System.EventHandler(this.chk_BNumber_CheckedChanged);
            // 
            // txt_PiHao_Begin
            // 
            this.txt_PiHao_Begin.AutoSize = true;
            this.txt_PiHao_Begin.Enabled = false;
            this.txt_PiHao_Begin.FlatMode = true;
            this.txt_PiHao_Begin.Location = new System.Drawing.Point(430, 30);
            this.txt_PiHao_Begin.Name = "txt_PiHao_Begin";
            this.txt_PiHao_Begin.Size = new System.Drawing.Size(26, 19);
            this.txt_PiHao_Begin.TabIndex = 269;
            this.txt_PiHao_Begin.TabStop = false;
            this.txt_PiHao_Begin.Tag = "";
            // 
            // chk_PiHao
            // 
            this.chk_PiHao.Location = new System.Drawing.Point(358, 32);
            this.chk_PiHao.Name = "chk_PiHao";
            this.chk_PiHao.Size = new System.Drawing.Size(72, 16);
            this.chk_PiHao.TabIndex = 268;
            this.chk_PiHao.TabStop = false;
            this.chk_PiHao.Text = "卷板包号";
            this.chk_PiHao.CheckedChanged += new System.EventHandler(this.chk_PiHao_CheckedChanged);
            // 
            // chk_SelectAll
            // 
            this.chk_SelectAll.FlatMode = true;
            this.chk_SelectAll.Location = new System.Drawing.Point(892, 30);
            this.chk_SelectAll.Name = "chk_SelectAll";
            this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
            this.chk_SelectAll.TabIndex = 267;
            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(892, 4);
            this.chk_AllowFilter.Name = "chk_AllowFilter";
            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
            this.chk_AllowFilter.TabIndex = 266;
            this.chk_AllowFilter.TabStop = false;
            this.chk_AllowFilter.Text = "过滤";
            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_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(640, 8);
            this.txt_GangP.Name = "txt_GangP";
            this.txt_GangP.Size = new System.Drawing.Size(86, 19);
            this.txt_GangP.TabIndex = 265;
            this.txt_GangP.TabStop = false;
            this.txt_GangP.Tag = "";
            // 
            // chk_BanHao
            // 
            this.chk_BanHao.Location = new System.Drawing.Point(580, 10);
            this.chk_BanHao.Name = "chk_BanHao";
            this.chk_BanHao.Size = new System.Drawing.Size(60, 16);
            this.chk_BanHao.TabIndex = 264;
            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(430, 8);
            this.txt_RollHao.Name = "txt_RollHao";
            this.txt_RollHao.Size = new System.Drawing.Size(144, 19);
            this.txt_RollHao.TabIndex = 263;
            this.txt_RollHao.TabStop = false;
            this.txt_RollHao.Tag = "";
            // 
            // chk_RollHao
            // 
            this.chk_RollHao.Location = new System.Drawing.Point(358, 12);
            this.chk_RollHao.Name = "chk_RollHao";
            this.chk_RollHao.Size = new System.Drawing.Size(60, 16);
            this.chk_RollHao.TabIndex = 262;
            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(248, 30);
            this.txt_PlanID.Name = "txt_PlanID";
            this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
            this.txt_PlanID.TabIndex = 261;
            this.txt_PlanID.TabStop = false;
            this.txt_PlanID.Tag = "";
            // 
            // chk_PactID
            // 
            this.chk_PactID.Location = new System.Drawing.Point(190, 34);
            this.chk_PactID.Name = "chk_PactID";
            this.chk_PactID.Size = new System.Drawing.Size(60, 16);
            this.chk_PactID.TabIndex = 260;
            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(248, 8);
            this.txt_OrderNO.Name = "txt_OrderNO";
            this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
            this.txt_OrderNO.TabIndex = 259;
            this.txt_OrderNO.TabStop = false;
            this.txt_OrderNO.Tag = "";
            // 
            // chk_OrderNO
            // 
            this.chk_OrderNO.Location = new System.Drawing.Point(190, 12);
            this.chk_OrderNO.Name = "chk_OrderNO";
            this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
            this.chk_OrderNO.TabIndex = 258;
            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(48, 32);
            this.Lab_To.Name = "Lab_To";
            this.Lab_To.Size = new System.Drawing.Size(17, 16);
            this.Lab_To.TabIndex = 257;
            this.Lab_To.Text = "到";
            // 
            // chk_CollectTime
            // 
            this.chk_CollectTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
            this.chk_CollectTime.Location = new System.Drawing.Point(20, 10);
            this.chk_CollectTime.Name = "chk_CollectTime";
            this.chk_CollectTime.Size = new System.Drawing.Size(48, 16);
            this.chk_CollectTime.TabIndex = 256;
            this.chk_CollectTime.TabStop = false;
            this.chk_CollectTime.Text = "时间";
            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
            // 
            // ultraExpandableGroupBox1
            // 
            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(0, 0);
            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 84);
            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(968, 206);
            this.ultraExpandableGroupBox1.SupportThemes = false;
            this.ultraExpandableGroupBox1.TabIndex = 2;
            this.ultraExpandableGroupBox1.Text = "编辑区";
            // 
            // ultraExpandableGroupBoxPanel1
            // 
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.gb_Press);
            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.panel2);
            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(962, 184);
            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
            // 
            // gb_Press
            // 
            appearance13.BackColor = System.Drawing.Color.Ivory;
            this.gb_Press.DisplayLayout.Appearance = appearance13;
            ultraGridColumn1.Header.Caption = "出库单号";
            ultraGridColumn1.Header.VisiblePosition = 0;
            ultraGridColumn1.Hidden = true;
            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 26;
            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(94, 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 = 6;
            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 = 8;
            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 = 23;
            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn7.Header.Caption = "厚度";
            ultraGridColumn7.Header.VisiblePosition = 6;
            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 11;
            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn8.Header.Caption = "宽度";
            ultraGridColumn8.Header.VisiblePosition = 7;
            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 12;
            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn9.Header.Caption = "长度";
            ultraGridColumn9.Header.VisiblePosition = 8;
            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 13;
            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn10.Header.Caption = "重量";
            ultraGridColumn10.Header.VisiblePosition = 9;
            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 15;
            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn11.Header.Caption = "数量";
            ultraGridColumn11.Header.VisiblePosition = 10;
            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 14;
            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn12.Header.Caption = "牌号";
            ultraGridColumn12.Header.VisiblePosition = 11;
            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 10;
            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn13.Header.Caption = "综合判定";
            ultraGridColumn13.Header.VisiblePosition = 12;
            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 17;
            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn14.Header.Caption = "特记事项";
            ultraGridColumn14.Header.VisiblePosition = 13;
            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 21;
            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn15.Header.Caption = "车辆号";
            ultraGridColumn15.Header.VisiblePosition = 14;
            ultraGridColumn15.Hidden = true;
            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 23;
            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn16.Header.Caption = "质保书编号";
            ultraGridColumn16.Header.VisiblePosition = 15;
            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 20;
            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn17.Header.Caption = "垛位";
            ultraGridColumn17.Header.VisiblePosition = 16;
            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn18.Header.Caption = "登记人";
            ultraGridColumn18.Header.VisiblePosition = 17;
            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 27;
            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn19.Header.Caption = "登记时间";
            ultraGridColumn19.Header.VisiblePosition = 18;
            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 28;
            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn20.Header.Caption = "生产班次";
            ultraGridColumn20.Header.VisiblePosition = 19;
            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 24;
            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(8, 0);
            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn21.Header.Caption = "生产班组";
            ultraGridColumn21.Header.VisiblePosition = 20;
            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 25;
            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn22.Header.Caption = "工单号";
            ultraGridColumn22.Header.VisiblePosition = 21;
            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(83, 0);
            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn23.Header.Caption = "卷板包号";
            ultraGridColumn23.Header.VisiblePosition = 23;
            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(107, 0);
            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn24.Header.Caption = "生产时间";
            ultraGridColumn24.Header.VisiblePosition = 22;
            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 26;
            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn25.Header.VisiblePosition = 24;
            ultraGridColumn25.Hidden = true;
            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 29;
            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn26.Header.Caption = "表面缺陷";
            ultraGridColumn26.Header.VisiblePosition = 25;
            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 18;
            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn27.Header.Caption = "工艺类型";
            ultraGridColumn27.Header.VisiblePosition = 26;
            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 19;
            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn28.Header.Caption = "产线";
            ultraGridColumn28.Header.VisiblePosition = 28;
            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 22;
            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn29.Header.Caption = "小件计量";
            ultraGridColumn29.Header.VisiblePosition = 29;
            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 16;
            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(112, 0);
            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn30.Header.Caption = "炉号";
            ultraGridColumn30.Header.VisiblePosition = 27;
            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn31.Header.Caption = "批号";
            ultraGridColumn31.Header.VisiblePosition = 30;
            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(93, 0);
            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn32.Header.Caption = "执行标准";
            ultraGridColumn32.Header.VisiblePosition = 31;
            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn32.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,
            ultraGridColumn31,
            ultraGridColumn32});
            appearance14.BackColor = System.Drawing.Color.LightSteelBlue;
            ultraGridBand1.Header.Appearance = appearance14;
            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            summarySettings1.DisplayFormat = "{0}块";
            summarySettings1.GroupBySummaryValueAppearance = appearance15;
            summarySettings2.DisplayFormat = "{0}吨";
            summarySettings2.GroupBySummaryValueAppearance = appearance16;
            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
            summarySettings1,
            summarySettings2});
            ultraGridBand1.UseRowLayout = true;
            this.gb_Press.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
            this.gb_Press.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance17.BackColor = System.Drawing.SystemColors.ActiveBorder;
            appearance17.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance17.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance17.BorderColor = System.Drawing.SystemColors.Window;
            this.gb_Press.DisplayLayout.GroupByBox.Appearance = appearance17;
            appearance18.ForeColor = System.Drawing.SystemColors.GrayText;
            this.gb_Press.DisplayLayout.GroupByBox.BandLabelAppearance = appearance18;
            this.gb_Press.DisplayLayout.GroupByBox.Hidden = true;
            this.gb_Press.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            appearance19.BackColor = System.Drawing.SystemColors.Window;
            appearance19.ForeColor = System.Drawing.SystemColors.ControlText;
            this.gb_Press.DisplayLayout.Override.ActiveCellAppearance = appearance19;
            appearance20.BackColor = System.Drawing.SystemColors.Highlight;
            appearance20.ForeColor = System.Drawing.SystemColors.HighlightText;
            this.gb_Press.DisplayLayout.Override.ActiveRowAppearance = appearance20;
            appearance21.BorderColor = System.Drawing.Color.Black;
            appearance21.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Press.DisplayLayout.Override.CellAppearance = appearance21;
            this.gb_Press.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.gb_Press.DisplayLayout.Override.CellPadding = 0;
            appearance22.BackColor = System.Drawing.SystemColors.Control;
            appearance22.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance22.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
            appearance22.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance22.BorderColor = System.Drawing.SystemColors.Window;
            appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance22.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Press.DisplayLayout.Override.GroupByRowAppearance = appearance22;
            this.gb_Press.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            appearance23.BackColor = System.Drawing.Color.Silver;
            this.gb_Press.DisplayLayout.Override.HeaderAppearance = appearance23;
            this.gb_Press.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.gb_Press.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            appearance24.BackColor = System.Drawing.SystemColors.Window;
            appearance24.BorderColor = System.Drawing.Color.Black;
            appearance24.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Press.DisplayLayout.Override.RowAppearance = appearance24;
            appearance25.BackColor = System.Drawing.SystemColors.Window;
            appearance25.BorderColor = System.Drawing.Color.Black;
            appearance25.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Press.DisplayLayout.Override.RowPreviewAppearance = appearance25;
            this.gb_Press.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gb_Press.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gb_Press.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            appearance26.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance26.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Press.DisplayLayout.Override.SelectedRowAppearance = appearance26;
            this.gb_Press.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            appearance27.BackColor = System.Drawing.SystemColors.Window;
            this.gb_Press.DisplayLayout.Override.SummaryFooterAppearance = appearance27;
            appearance28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            appearance28.ForeColor = System.Drawing.Color.Red;
            this.gb_Press.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance28;
            this.gb_Press.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance29.BackColor = System.Drawing.Color.MistyRose;
            appearance29.ForeColor = System.Drawing.Color.Blue;
            appearance29.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance29.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Press.DisplayLayout.Override.SummaryValueAppearance = appearance29;
            appearance30.BackColor = System.Drawing.SystemColors.ControlLight;
            this.gb_Press.DisplayLayout.Override.TemplateAddRowAppearance = appearance30;
            this.gb_Press.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gb_Press.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gb_Press.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gb_Press.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gb_Press.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.gb_Press.Location = new System.Drawing.Point(629, 0);
            this.gb_Press.Name = "gb_Press";
            this.gb_Press.Size = new System.Drawing.Size(333, 184);
            this.gb_Press.TabIndex = 15;
            this.gb_Press.Text = "ultraGrid1";
            this.gb_Press.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.gb_Press_DoubleClickRow);
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.txt_Seq);
            this.panel2.Controls.Add(this.cmb_plid);
            this.panel2.Controls.Add(this.cmb_Gylx);
            this.panel2.Controls.Add(this.ultraLabel16);
            this.panel2.Controls.Add(this.ultraLabel15);
            this.panel2.Controls.Add(this.cmb_area);
            this.panel2.Controls.Add(this.ultraLabel14);
            this.panel2.Controls.Add(this.txt_ZHPD);
            this.panel2.Controls.Add(this.txt_Plact);
            this.panel2.Controls.Add(this.txt_ReMark);
            this.panel2.Controls.Add(this.ultraLabel13);
            this.panel2.Controls.Add(this.dte_Time);
            this.panel2.Controls.Add(this.Btn_Turn);
            this.panel2.Controls.Add(this.ultraLabel11);
            this.panel2.Controls.Add(this.txt_PaiHao);
            this.panel2.Controls.Add(this.txt_Num);
            this.panel2.Controls.Add(this.ultraLabel9);
            this.panel2.Controls.Add(this.txt_WEIGHT);
            this.panel2.Controls.Add(this.ultraLabel10);
            this.panel2.Controls.Add(this.txt_Width);
            this.panel2.Controls.Add(this.txt_Length);
            this.panel2.Controls.Add(this.lab_cd);
            this.panel2.Controls.Add(this.ultraLabel17);
            this.panel2.Controls.Add(this.txt_Ply);
            this.panel2.Controls.Add(this.ultraLabel12);
            this.panel2.Controls.Add(this.ultraLabel20);
            this.panel2.Controls.Add(this.cmb_ClassStream);
            this.panel2.Controls.Add(this.ultraLabel7);
            this.panel2.Controls.Add(this.cmb_ClassOreder);
            this.panel2.Controls.Add(this.ultraLabel6);
            this.panel2.Controls.Add(this.cmb_Buress);
            this.panel2.Controls.Add(this.ultraLabel4);
            this.panel2.Controls.Add(this.ultraLabel8);
            this.panel2.Controls.Add(this.cmb_BugReaSon);
            this.panel2.Controls.Add(this.ultraLabel25);
            this.panel2.Controls.Add(this.ultraLabel2);
            this.panel2.Controls.Add(this.ultraLabel3);
            this.panel2.Controls.Add(this.txt_GangpeiH);
            this.panel2.Controls.Add(this.ultraLabel1);
            this.panel2.Controls.Add(this.txt_Scid_End_Y);
            this.panel2.Controls.Add(this.txt_Scid_Begin_Y);
            this.panel2.Controls.Add(this.txt_Scid_Top_Y);
            this.panel2.Controls.Add(this.ultraLabel5);
            this.panel2.Controls.Add(this.txt_TiShi);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
            this.panel2.Location = new System.Drawing.Point(0, 0);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(629, 184);
            this.panel2.TabIndex = 0;
            this.panel2.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            // 
            // txt_Seq
            // 
            this.txt_Seq.AutoSize = true;
            this.txt_Seq.FlatMode = true;
            this.txt_Seq.Location = new System.Drawing.Point(184, 107);
            this.txt_Seq.Name = "txt_Seq";
            this.txt_Seq.Size = new System.Drawing.Size(44, 19);
            this.txt_Seq.TabIndex = 706;
            // 
            // cmb_plid
            // 
            this.cmb_plid.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_plid.DisplayMember = "";
            this.cmb_plid.Location = new System.Drawing.Point(288, 151);
            this.cmb_plid.Name = "cmb_plid";
            this.cmb_plid.Size = new System.Drawing.Size(116, 21);
            this.cmb_plid.TabIndex = 705;
            this.cmb_plid.ValueMember = "";
            // 
            // cmb_Gylx
            // 
            this.cmb_Gylx.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Gylx.DisplayMember = "";
            this.cmb_Gylx.Location = new System.Drawing.Point(78, 152);
            this.cmb_Gylx.Name = "cmb_Gylx";
            this.cmb_Gylx.Size = new System.Drawing.Size(150, 21);
            this.cmb_Gylx.TabIndex = 704;
            this.cmb_Gylx.ValueMember = "";
            // 
            // ultraLabel16
            // 
            this.ultraLabel16.Location = new System.Drawing.Point(234, 155);
            this.ultraLabel16.Name = "ultraLabel16";
            this.ultraLabel16.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel16.TabIndex = 701;
            this.ultraLabel16.Text = "产线";
            // 
            // ultraLabel15
            // 
            this.ultraLabel15.Location = new System.Drawing.Point(22, 157);
            this.ultraLabel15.Name = "ultraLabel15";
            this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel15.TabIndex = 699;
            this.ultraLabel15.Text = "工艺类型";
            // 
            // cmb_area
            // 
            this.cmb_area.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_area.DisplayMember = "";
            this.cmb_area.Location = new System.Drawing.Point(288, 54);
            this.cmb_area.Name = "cmb_area";
            this.cmb_area.Size = new System.Drawing.Size(116, 21);
            this.cmb_area.TabIndex = 696;
            this.cmb_area.ValueMember = "";
            this.cmb_area.ValueChanged += new System.EventHandler(this.cmb_area_ValueChanged);
            // 
            // ultraLabel14
            // 
            this.ultraLabel14.Location = new System.Drawing.Point(234, 58);
            this.ultraLabel14.Name = "ultraLabel14";
            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel14.TabIndex = 697;
            this.ultraLabel14.Text = "入库区域";
            // 
            // txt_ZHPD
            // 
            this.txt_ZHPD.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.txt_ZHPD.DisplayMember = "";
            this.txt_ZHPD.Location = new System.Drawing.Point(288, 29);
            this.txt_ZHPD.Name = "txt_ZHPD";
            this.txt_ZHPD.ReadOnly = true;
            this.txt_ZHPD.Size = new System.Drawing.Size(116, 21);
            this.txt_ZHPD.TabIndex = 695;
            this.txt_ZHPD.ValueMember = "";
            // 
            // txt_Plact
            // 
            this.txt_Plact.AutoSize = true;
            this.txt_Plact.FlatMode = true;
            this.txt_Plact.Location = new System.Drawing.Point(78, 107);
            this.txt_Plact.Name = "txt_Plact";
            this.txt_Plact.Size = new System.Drawing.Size(106, 19);
            this.txt_Plact.TabIndex = 6;
            this.txt_Plact.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            this.txt_Plact.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            // 
            // txt_ReMark
            // 
            this.txt_ReMark.AutoSize = true;
            this.txt_ReMark.FlatMode = true;
            this.txt_ReMark.Location = new System.Drawing.Point(466, 128);
            this.txt_ReMark.Name = "txt_ReMark";
            this.txt_ReMark.Size = new System.Drawing.Size(112, 19);
            this.txt_ReMark.TabIndex = 18;
            this.txt_ReMark.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            this.txt_ReMark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            // 
            // ultraLabel13
            // 
            this.ultraLabel13.Location = new System.Drawing.Point(436, 130);
            this.ultraLabel13.Name = "ultraLabel13";
            this.ultraLabel13.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel13.TabIndex = 694;
            this.ultraLabel13.Text = "备注";
            // 
            // dte_Time
            // 
            this.dte_Time.Location = new System.Drawing.Point(465, 152);
            this.dte_Time.Name = "dte_Time";
            this.dte_Time.Size = new System.Drawing.Size(116, 21);
            this.dte_Time.TabIndex = 12;
            this.dte_Time.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            this.dte_Time.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            // 
            // Btn_Turn
            // 
            this.Btn_Turn.Location = new System.Drawing.Point(582, 101);
            this.Btn_Turn.Name = "Btn_Turn";
            this.Btn_Turn.Size = new System.Drawing.Size(34, 46);
            this.Btn_Turn.TabIndex = 18;
            this.Btn_Turn.Text = "登记";
            this.Btn_Turn.Click += new System.EventHandler(this.Btn_Turn_Click);
            this.Btn_Turn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            // 
            // ultraLabel11
            // 
            appearance31.TextHAlign = Infragistics.Win.HAlign.Center;
            appearance31.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.ultraLabel11.Appearance = appearance31;
            this.ultraLabel11.Location = new System.Drawing.Point(22, 85);
            this.ultraLabel11.Name = "ultraLabel11";
            this.ultraLabel11.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel11.TabIndex = 692;
            this.ultraLabel11.Text = "牌号";
            // 
            // txt_PaiHao
            // 
            appearance32.BackColor = System.Drawing.Color.LightCyan;
            this.txt_PaiHao.Appearance = appearance32;
            this.txt_PaiHao.AutoSize = true;
            this.txt_PaiHao.Location = new System.Drawing.Point(78, 81);
            this.txt_PaiHao.Name = "txt_PaiHao";
            this.txt_PaiHao.Size = new System.Drawing.Size(150, 21);
            this.txt_PaiHao.TabIndex = 5;
            this.txt_PaiHao.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            this.txt_PaiHao.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            // 
            // txt_Num
            // 
            this.txt_Num.FlatMode = true;
            this.txt_Num.Location = new System.Drawing.Point(466, 80);
            this.txt_Num.MaskInput = "nnnnn";
            this.txt_Num.Name = "txt_Num";
            this.txt_Num.PromptChar = ' ';
            this.txt_Num.Size = new System.Drawing.Size(112, 19);
            this.txt_Num.TabIndex = 16;
            this.txt_Num.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            this.txt_Num.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            // 
            // ultraLabel9
            // 
            this.ultraLabel9.Location = new System.Drawing.Point(436, 82);
            this.ultraLabel9.Name = "ultraLabel9";
            this.ultraLabel9.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel9.TabIndex = 691;
            this.ultraLabel9.Text = "数量";
            // 
            // txt_WEIGHT
            // 
            this.txt_WEIGHT.FlatMode = true;
            this.txt_WEIGHT.Location = new System.Drawing.Point(466, 104);
            this.txt_WEIGHT.MaskInput = "nnnnn.nnn";
            this.txt_WEIGHT.Name = "txt_WEIGHT";
            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
            this.txt_WEIGHT.PromptChar = ' ';
            this.txt_WEIGHT.Size = new System.Drawing.Size(112, 19);
            this.txt_WEIGHT.TabIndex = 17;
            this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            this.txt_WEIGHT.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            // 
            // ultraLabel10
            // 
            this.ultraLabel10.Location = new System.Drawing.Point(414, 106);
            this.ultraLabel10.Name = "ultraLabel10";
            this.ultraLabel10.Size = new System.Drawing.Size(62, 16);
            this.ultraLabel10.TabIndex = 690;
            this.ultraLabel10.Text = "理论重量";
            // 
            // txt_Width
            // 
            appearance33.BackColor = System.Drawing.Color.LightCyan;
            this.txt_Width.Appearance = appearance33;
            this.txt_Width.FlatMode = true;
            this.txt_Width.Location = new System.Drawing.Point(466, 32);
            this.txt_Width.MaskInput = "nnnn.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(112, 19);
            this.txt_Width.TabIndex = 14;
            this.txt_Width.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            this.txt_Width.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            // 
            // txt_Length
            // 
            this.txt_Length.FlatMode = true;
            this.txt_Length.Location = new System.Drawing.Point(466, 56);
            this.txt_Length.MaskInput = "nnnnn";
            this.txt_Length.Name = "txt_Length";
            this.txt_Length.PromptChar = ' ';
            this.txt_Length.Size = new System.Drawing.Size(112, 19);
            this.txt_Length.TabIndex = 15;
            this.txt_Length.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            this.txt_Length.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            // 
            // lab_cd
            // 
            this.lab_cd.Location = new System.Drawing.Point(436, 58);
            this.lab_cd.Name = "lab_cd";
            this.lab_cd.Size = new System.Drawing.Size(29, 16);
            this.lab_cd.TabIndex = 689;
            this.lab_cd.Text = "长度";
            // 
            // ultraLabel17
            // 
            this.ultraLabel17.Location = new System.Drawing.Point(436, 34);
            this.ultraLabel17.Name = "ultraLabel17";
            this.ultraLabel17.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel17.TabIndex = 688;
            this.ultraLabel17.Text = "宽度";
            // 
            // txt_Ply
            // 
            appearance34.BackColor = System.Drawing.Color.LightCyan;
            this.txt_Ply.Appearance = appearance34;
            this.txt_Ply.FlatMode = true;
            this.txt_Ply.Location = new System.Drawing.Point(466, 8);
            this.txt_Ply.MaskInput = "nnn.nnn";
            this.txt_Ply.Name = "txt_Ply";
            this.txt_Ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
            this.txt_Ply.PromptChar = ' ';
            this.txt_Ply.ReadOnly = true;
            this.txt_Ply.Size = new System.Drawing.Size(112, 19);
            this.txt_Ply.TabIndex = 13;
            this.txt_Ply.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            this.txt_Ply.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            // 
            // ultraLabel12
            // 
            this.ultraLabel12.Location = new System.Drawing.Point(436, 10);
            this.ultraLabel12.Name = "ultraLabel12";
            this.ultraLabel12.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel12.TabIndex = 687;
            this.ultraLabel12.Text = "厚度";
            // 
            // ultraLabel20
            // 
            this.ultraLabel20.Location = new System.Drawing.Point(411, 156);
            this.ultraLabel20.Name = "ultraLabel20";
            this.ultraLabel20.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel20.TabIndex = 686;
            this.ultraLabel20.Text = "入库时间";
            // 
            // cmb_ClassStream
            // 
            this.cmb_ClassStream.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_ClassStream.DisplayMember = "";
            this.cmb_ClassStream.Location = new System.Drawing.Point(288, 128);
            this.cmb_ClassStream.Name = "cmb_ClassStream";
            this.cmb_ClassStream.Size = new System.Drawing.Size(116, 21);
            this.cmb_ClassStream.TabIndex = 11;
            this.cmb_ClassStream.ValueMember = "";
            this.cmb_ClassStream.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            this.cmb_ClassStream.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            // 
            // ultraLabel7
            // 
            this.ultraLabel7.Location = new System.Drawing.Point(234, 132);
            this.ultraLabel7.Name = "ultraLabel7";
            this.ultraLabel7.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel7.TabIndex = 685;
            this.ultraLabel7.Text = "入库班组";
            // 
            // cmb_ClassOreder
            // 
            this.cmb_ClassOreder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_ClassOreder.DisplayMember = "";
            this.cmb_ClassOreder.Location = new System.Drawing.Point(288, 104);
            this.cmb_ClassOreder.Name = "cmb_ClassOreder";
            this.cmb_ClassOreder.Size = new System.Drawing.Size(116, 21);
            this.cmb_ClassOreder.TabIndex = 10;
            this.cmb_ClassOreder.ValueMember = "";
            this.cmb_ClassOreder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            this.cmb_ClassOreder.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            // 
            // ultraLabel6
            // 
            this.ultraLabel6.Location = new System.Drawing.Point(234, 108);
            this.ultraLabel6.Name = "ultraLabel6";
            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel6.TabIndex = 684;
            this.ultraLabel6.Text = "入库班次";
            // 
            // cmb_Buress
            // 
            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Buress.DisplayMember = "";
            this.cmb_Buress.Location = new System.Drawing.Point(288, 80);
            this.cmb_Buress.Name = "cmb_Buress";
            this.cmb_Buress.Size = new System.Drawing.Size(116, 21);
            this.cmb_Buress.TabIndex = 9;
            this.cmb_Buress.ValueMember = "";
            this.cmb_Buress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            this.cmb_Buress.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            // 
            // ultraLabel4
            // 
            this.ultraLabel4.Location = new System.Drawing.Point(234, 84);
            this.ultraLabel4.Name = "ultraLabel4";
            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel4.TabIndex = 683;
            this.ultraLabel4.Text = "入库垛位";
            // 
            // ultraLabel8
            // 
            this.ultraLabel8.Location = new System.Drawing.Point(232, 35);
            this.ultraLabel8.Name = "ultraLabel8";
            this.ultraLabel8.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel8.TabIndex = 682;
            this.ultraLabel8.Text = "综合判定";
            // 
            // cmb_BugReaSon
            // 
            this.cmb_BugReaSon.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_BugReaSon.DisplayMember = "";
            this.cmb_BugReaSon.Location = new System.Drawing.Point(78, 129);
            this.cmb_BugReaSon.Name = "cmb_BugReaSon";
            this.cmb_BugReaSon.Size = new System.Drawing.Size(150, 21);
            this.cmb_BugReaSon.TabIndex = 7;
            this.cmb_BugReaSon.ValueMember = "";
            this.cmb_BugReaSon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            this.cmb_BugReaSon.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            // 
            // ultraLabel25
            // 
            this.ultraLabel25.Location = new System.Drawing.Point(22, 133);
            this.ultraLabel25.Name = "ultraLabel25";
            this.ultraLabel25.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel25.TabIndex = 681;
            this.ultraLabel25.Text = "表面缺陷";
            // 
            // ultraLabel2
            // 
            appearance35.TextHAlign = Infragistics.Win.HAlign.Center;
            appearance35.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.ultraLabel2.Appearance = appearance35;
            this.ultraLabel2.Location = new System.Drawing.Point(22, 109);
            this.ultraLabel2.Name = "ultraLabel2";
            this.ultraLabel2.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel2.TabIndex = 680;
            this.ultraLabel2.Text = "订单号";
            // 
            // ultraLabel3
            // 
            appearance36.TextHAlign = Infragistics.Win.HAlign.Center;
            appearance36.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.ultraLabel3.Appearance = appearance36;
            this.ultraLabel3.Location = new System.Drawing.Point(22, 59);
            this.ultraLabel3.Name = "ultraLabel3";
            this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel3.TabIndex = 679;
            this.ultraLabel3.Text = "钢卷号";
            // 
            // txt_GangpeiH
            // 
            appearance37.BackColor = System.Drawing.Color.LightCyan;
            this.txt_GangpeiH.Appearance = appearance37;
            this.txt_GangpeiH.AutoSize = true;
            this.txt_GangpeiH.Location = new System.Drawing.Point(78, 57);
            this.txt_GangpeiH.Name = "txt_GangpeiH";
            this.txt_GangpeiH.ReadOnly = true;
            this.txt_GangpeiH.Size = new System.Drawing.Size(150, 21);
            this.txt_GangpeiH.TabIndex = 4;
            this.txt_GangpeiH.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            this.txt_GangpeiH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            // 
            // ultraLabel1
            // 
            appearance38.TextHAlign = Infragistics.Win.HAlign.Center;
            appearance38.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.ultraLabel1.Appearance = appearance38;
            this.ultraLabel1.Location = new System.Drawing.Point(22, 37);
            this.ultraLabel1.Name = "ultraLabel1";
            this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel1.TabIndex = 678;
            this.ultraLabel1.Text = "卷板包号";
            // 
            // txt_Scid_End_Y
            // 
            this.txt_Scid_End_Y.AutoSize = true;
            this.txt_Scid_End_Y.Location = new System.Drawing.Point(184, 33);
            this.txt_Scid_End_Y.Name = "txt_Scid_End_Y";
            this.txt_Scid_End_Y.Size = new System.Drawing.Size(44, 21);
            this.txt_Scid_End_Y.TabIndex = 3;
            this.txt_Scid_End_Y.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            this.txt_Scid_End_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            // 
            // txt_Scid_Begin_Y
            // 
            this.txt_Scid_Begin_Y.AutoSize = true;
            this.txt_Scid_Begin_Y.Location = new System.Drawing.Point(108, 33);
            this.txt_Scid_Begin_Y.MaxLength = 10;
            this.txt_Scid_Begin_Y.Name = "txt_Scid_Begin_Y";
            this.txt_Scid_Begin_Y.Size = new System.Drawing.Size(76, 21);
            this.txt_Scid_Begin_Y.TabIndex = 2;
            this.txt_Scid_Begin_Y.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            this.txt_Scid_Begin_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            // 
            // txt_Scid_Top_Y
            // 
            this.txt_Scid_Top_Y.AutoSize = true;
            this.txt_Scid_Top_Y.Location = new System.Drawing.Point(78, 33);
            this.txt_Scid_Top_Y.MaxLength = 4;
            this.txt_Scid_Top_Y.Name = "txt_Scid_Top_Y";
            this.txt_Scid_Top_Y.Size = new System.Drawing.Size(30, 21);
            this.txt_Scid_Top_Y.TabIndex = 1;
            this.txt_Scid_Top_Y.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
            this.txt_Scid_Top_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
            // 
            // ultraLabel5
            // 
            appearance39.FontData.BoldAsString = "True";
            appearance39.ForeColor = System.Drawing.Color.Red;
            appearance39.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.ultraLabel5.Appearance = appearance39;
            this.ultraLabel5.Font = new System.Drawing.Font("宋体", 9.5F);
            this.ultraLabel5.Location = new System.Drawing.Point(16, 9);
            this.ultraLabel5.Name = "ultraLabel5";
            this.ultraLabel5.Size = new System.Drawing.Size(62, 18);
            this.ultraLabel5.TabIndex = 676;
            this.ultraLabel5.Text = "提示信息";
            // 
            // txt_TiShi
            // 
            this.txt_TiShi.AutoSize = true;
            this.txt_TiShi.FlatMode = true;
            this.txt_TiShi.Location = new System.Drawing.Point(78, 7);
            this.txt_TiShi.Name = "txt_TiShi";
            this.txt_TiShi.Size = new System.Drawing.Size(330, 19);
            this.txt_TiShi.TabIndex = 677;
            this.txt_TiShi.TabStop = false;
            // 
            // ultraGroupBox2
            // 
            this.ultraGroupBox2.Controls.Add(this.gb_Turan);
            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 290);
            this.ultraGroupBox2.Name = "ultraGroupBox2";
            this.ultraGroupBox2.Size = new System.Drawing.Size(968, 240);
            this.ultraGroupBox2.SupportThemes = false;
            this.ultraGroupBox2.TabIndex = 3;
            this.ultraGroupBox2.Text = "成品收集信息";
            // 
            // gb_Turan
            // 
            appearance40.BackColor = System.Drawing.Color.Ivory;
            this.gb_Turan.DisplayLayout.Appearance = appearance40;
            ultraGridColumn33.Header.Caption = "出库单号";
            ultraGridColumn33.Header.VisiblePosition = 0;
            ultraGridColumn33.Hidden = true;
            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 26;
            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn34.Header.Caption = "钢卷号";
            ultraGridColumn34.Header.VisiblePosition = 1;
            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn35.Header.Caption = "板坯号";
            ultraGridColumn35.Header.VisiblePosition = 2;
            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn36.Header.Caption = "合同号";
            ultraGridColumn36.Header.VisiblePosition = 3;
            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn37.Header.Caption = "订单号";
            ultraGridColumn37.Header.VisiblePosition = 4;
            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 11;
            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn38.Header.Caption = "交货期";
            ultraGridColumn38.Header.VisiblePosition = 5;
            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 24;
            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn39.Header.Caption = "厚度";
            ultraGridColumn39.Header.VisiblePosition = 6;
            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 14;
            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn40.Header.Caption = "宽度";
            ultraGridColumn40.Header.VisiblePosition = 7;
            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 15;
            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn41.Header.Caption = "长度";
            ultraGridColumn41.Header.VisiblePosition = 8;
            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 16;
            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn42.Header.Caption = "理论重量";
            ultraGridColumn42.Header.VisiblePosition = 9;
            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 18;
            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn43.Header.Caption = "数量";
            ultraGridColumn43.Header.VisiblePosition = 10;
            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 17;
            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn44.Header.Caption = "牌号";
            ultraGridColumn44.Header.VisiblePosition = 11;
            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 13;
            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 = 12;
            ultraGridColumn45.Hidden = true;
            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 20;
            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 = 13;
            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 23;
            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn47.Header.Caption = "车辆号";
            ultraGridColumn47.Header.VisiblePosition = 14;
            ultraGridColumn47.Hidden = true;
            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 23;
            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 = 15;
            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 = 16;
            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 12;
            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 = 17;
            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 21;
            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn51.Header.Caption = "登记时间";
            ultraGridColumn51.Header.VisiblePosition = 18;
            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 33;
            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn52.Header.Caption = "入库班次";
            ultraGridColumn52.Header.VisiblePosition = 19;
            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 26;
            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn52.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn53.Header.Caption = "入库班组";
            ultraGridColumn53.Header.VisiblePosition = 20;
            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 27;
            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn53.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 2;
            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 2;
            ultraGridColumn54.Header.Caption = "工单号";
            ultraGridColumn54.Header.VisiblePosition = 21;
            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn54.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(83, 0);
            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn55.Header.Caption = "卷板包号";
            ultraGridColumn55.Header.VisiblePosition = 24;
            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn55.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(129, 0);
            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn56.Header.Caption = "生产时间";
            ultraGridColumn56.Header.VisiblePosition = 22;
            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 25;
            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn56.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn57.Header.VisiblePosition = 25;
            ultraGridColumn57.Hidden = true;
            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 29;
            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn58.Header.Caption = "";
            ultraGridColumn58.Header.VisiblePosition = 26;
            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn58.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(34, 0);
            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn58.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
            ultraGridColumn59.Header.Caption = "产线";
            ultraGridColumn59.Header.VisiblePosition = 27;
            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn59.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn60.Header.Caption = "订单类型";
            ultraGridColumn60.Header.VisiblePosition = 23;
            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 20;
            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn60.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn61.Header.Caption = "备注";
            ultraGridColumn61.Header.VisiblePosition = 28;
            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 32;
            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn62.Header.Caption = "工艺类型";
            ultraGridColumn62.Header.VisiblePosition = 29;
            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn62.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn63.Header.Caption = "综合判定结果";
            ultraGridColumn63.Header.VisiblePosition = 30;
            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 29;
            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn64.Header.Caption = "钢质缺陷";
            ultraGridColumn64.Header.VisiblePosition = 32;
            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 30;
            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn65.Header.Caption = "工艺缺陷";
            ultraGridColumn65.Header.VisiblePosition = 35;
            ultraGridColumn65.RowLayoutColumnInfo.OriginX = 31;
            ultraGridColumn65.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn65.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn65.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn66.Header.Caption = "过磅重量";
            ultraGridColumn66.Header.VisiblePosition = 33;
            ultraGridColumn66.RowLayoutColumnInfo.OriginX = 19;
            ultraGridColumn66.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn66.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn66.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn67.Header.Caption = "炉号";
            ultraGridColumn67.Header.VisiblePosition = 31;
            ultraGridColumn67.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn67.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn67.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
            ultraGridColumn67.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn67.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn68.Header.Caption = "批号";
            ultraGridColumn68.Header.VisiblePosition = 34;
            ultraGridColumn68.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn68.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn68.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
            ultraGridColumn68.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn68.RowLayoutColumnInfo.SpanY = 2;
            ultraGridColumn69.Header.Caption = "执行标准";
            ultraGridColumn69.Header.VisiblePosition = 36;
            ultraGridColumn69.RowLayoutColumnInfo.OriginX = 10;
            ultraGridColumn69.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn69.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
            ultraGridColumn69.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn69.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn70.Header.Caption = "卷板总包号";
            ultraGridColumn70.Header.VisiblePosition = 37;
            ultraGridColumn70.Hidden = true;
            ultraGridColumn70.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
            ultraGridColumn70.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn70.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn70.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(128, 0);
            ultraGridColumn70.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn70.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand2.Columns.AddRange(new object[] {
            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,
            ultraGridColumn64,
            ultraGridColumn65,
            ultraGridColumn66,
            ultraGridColumn67,
            ultraGridColumn68,
            ultraGridColumn69,
            ultraGridColumn70});
            appearance41.BackColor = System.Drawing.Color.LightSteelBlue;
            ultraGridBand2.Header.Appearance = appearance41;
            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            summarySettings3.DisplayFormat = "{0}吨";
            summarySettings3.GroupBySummaryValueAppearance = appearance42;
            summarySettings4.DisplayFormat = "{0}块";
            summarySettings4.GroupBySummaryValueAppearance = appearance43;
            summarySettings5.DisplayFormat = "{0}吨";
            summarySettings5.GroupBySummaryValueAppearance = appearance44;
            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
            summarySettings3,
            summarySettings4,
            summarySettings5});
            ultraGridBand2.UseRowLayout = true;
            this.gb_Turan.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
            this.gb_Turan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance45.BackColor = System.Drawing.SystemColors.ActiveBorder;
            appearance45.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance45.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
            appearance45.BorderColor = System.Drawing.SystemColors.Window;
            this.gb_Turan.DisplayLayout.GroupByBox.Appearance = appearance45;
            appearance46.ForeColor = System.Drawing.SystemColors.GrayText;
            this.gb_Turan.DisplayLayout.GroupByBox.BandLabelAppearance = appearance46;
            this.gb_Turan.DisplayLayout.GroupByBox.Hidden = true;
            this.gb_Turan.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            appearance47.BackColor = System.Drawing.SystemColors.Window;
            appearance47.ForeColor = System.Drawing.SystemColors.ControlText;
            this.gb_Turan.DisplayLayout.Override.ActiveCellAppearance = appearance47;
            appearance48.BackColor = System.Drawing.SystemColors.Highlight;
            appearance48.ForeColor = System.Drawing.SystemColors.HighlightText;
            this.gb_Turan.DisplayLayout.Override.ActiveRowAppearance = appearance48;
            appearance49.BorderColor = System.Drawing.Color.Black;
            appearance49.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Turan.DisplayLayout.Override.CellAppearance = appearance49;
            this.gb_Turan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.gb_Turan.DisplayLayout.Override.CellPadding = 0;
            appearance50.BackColor = System.Drawing.SystemColors.Control;
            appearance50.BackColor2 = System.Drawing.SystemColors.ControlDark;
            appearance50.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
            appearance50.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
            appearance50.BorderColor = System.Drawing.SystemColors.Window;
            appearance50.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance50.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Turan.DisplayLayout.Override.GroupByRowAppearance = appearance50;
            this.gb_Turan.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            appearance51.BackColor = System.Drawing.Color.Silver;
            this.gb_Turan.DisplayLayout.Override.HeaderAppearance = appearance51;
            this.gb_Turan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.gb_Turan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            appearance52.BackColor = System.Drawing.SystemColors.Window;
            appearance52.BorderColor = System.Drawing.Color.Black;
            appearance52.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Turan.DisplayLayout.Override.RowAppearance = appearance52;
            appearance53.BackColor = System.Drawing.SystemColors.Window;
            appearance53.BorderColor = System.Drawing.Color.Black;
            appearance53.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Turan.DisplayLayout.Override.RowPreviewAppearance = appearance53;
            this.gb_Turan.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gb_Turan.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gb_Turan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            appearance54.TextHAlign = Infragistics.Win.HAlign.Left;
            appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Turan.DisplayLayout.Override.SelectedRowAppearance = appearance54;
            this.gb_Turan.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            appearance55.BackColor = System.Drawing.SystemColors.Window;
            this.gb_Turan.DisplayLayout.Override.SummaryFooterAppearance = appearance55;
            appearance56.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
            appearance56.ForeColor = System.Drawing.Color.Red;
            this.gb_Turan.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance56;
            this.gb_Turan.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            appearance57.BackColor = System.Drawing.Color.MistyRose;
            appearance57.ForeColor = System.Drawing.Color.Blue;
            appearance57.TextHAlign = Infragistics.Win.HAlign.Right;
            appearance57.TextVAlign = Infragistics.Win.VAlign.Middle;
            this.gb_Turan.DisplayLayout.Override.SummaryValueAppearance = appearance57;
            appearance58.BackColor = System.Drawing.SystemColors.ControlLight;
            this.gb_Turan.DisplayLayout.Override.TemplateAddRowAppearance = appearance58;
            this.gb_Turan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gb_Turan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gb_Turan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gb_Turan.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gb_Turan.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.gb_Turan.Location = new System.Drawing.Point(3, 18);
            this.gb_Turan.Name = "gb_Turan";
            this.gb_Turan.Size = new System.Drawing.Size(962, 219);
            this.gb_Turan.TabIndex = 14;
            this.gb_Turan.Text = "ultraGrid2";
            this.gb_Turan.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Turan_CellChange);
            // 
            // Frm_TurnoffManage
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize = new System.Drawing.Size(968, 530);
            this.Controls.Add(this.ultraGroupBox2);
            this.Controls.Add(this.ultraExpandableGroupBox1);
            this.Controls.Add(this.ultraGroupBox1);
            this.Controls.Add(this.panel1);
            this.Name = "Frm_TurnoffManage";
            this.Text = "卷板成品收集入库管理";
            this.Load += new System.EventHandler(this.Frm_TurnoffManage_Load);
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
            this.ultraGroupBox1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PIhao_End)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao_Top)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao_Begin)).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.ultraExpandableGroupBox1)).EndInit();
            this.ultraExpandableGroupBox1.ResumeLayout(false);
            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gb_Press)).EndInit();
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.txt_Seq)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_plid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Gylx)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_area)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ZHPD)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Plact)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ReMark)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_PaiHao)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassStream)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOreder)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_TiShi)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
            this.ultraGroupBox2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gb_Turan)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraDataSource1)).EndInit();
            this.ResumeLayout(false);

        }
        #endregion

        #region 查询
        private string GetWhere()
        {
            string strSql = "";
            if (this.chk_CollectTime.Checked)
            {
                strSql += " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
                    + " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
            }
            if (this.chk_OrderNO.Checked)
            {
                strSql += "AND A.ORD_SEQ like '%" + 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 LIKE '%" + this.txt_RollHao.Text + "%'";
            }
            if (this.chk_BanHao.Checked)
            {
                strSql += "AND A.SLAB_NO='" + this.txt_GangP.Text + "'";
            }
            if (this.chk_PiHao.Checked)
            {
                strSql += "AND A.COIL_NO_ID='" + this.txt_PiHao_Begin.Text + "-" + this.txt_Pihao_Top.Text + "-" + this.txt_PIhao_End.Text + "'";
            }
            if (this.chk_BNumber.Checked)
            {
                strSql += "AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'";
            }
            return strSql;
        }
        private void DetailQuery(string _Conntion)
        {
            try
            {
                string strOut = "";
                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Procdute_Query", new object[] { _Conntion }, out strOut);
                this.gb_Press.DataSource = ds;
                this.gb_Press.UpdateData();
                Comm.SetGridSumArea(this.gb_Press);
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }
        private void GetZYDetail(string _Conntion)
        {
            string strOut = "";
            try
            {
                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Procdute_Query", new object[] { _Conntion }, out strOut);
                if (ds != null && ds.Tables[0].Rows.Count > 0)
                {
                    System.Data.DataRow dr = ds.Tables[0].Rows[0];
                    this.txt_GangpeiH.Text = Comm.ObjToStr(dr["OLD_SAMPL_NO"]);
                    this.txt_PaiHao.Text = Comm.ObjToStr(dr["STL_GRD"]);
                    this.txt_Plact.Text = Comm.ObjToStr(dr["ORD_NO"]);
                    this.txt_Ply.Value = Comm.ObjToDouble(dr["ZSLAB_PLY"]);
                    this.txt_Width.Value = Comm.ObjToDouble(dr["ZSLAB_WIDTH"]);
                    this.txt_Length.Value = Comm.ObjToStr(dr["ZSLAB_LENGTH"]);
                    this.txt_Num.Value = Comm.ObjToStr(dr["ZSLAB_NUM"]);
                    this.txt_WEIGHT.Value = Comm.ObjToStr(dr["ZSLAB_WEIGHT"]);
                    this.cmb_BugReaSon.Value = Comm.ObjToStr(dr["CRK_CD1"]);
                    this.cmb_Gylx.Value = Comm.ObjToStr(dr["GYLX"]);
                    this.cmb_plid.Value = Comm.ObjToStr(dr["STOCKTYPE"]);
                    this.txt_ZHPD.Value = Comm.ObjToStr(dr["TOT_DEC_GRD"]);
                    this.txt_Seq.Text = Comm.ObjToStr(dr["ORD_SEQ"]);
                    this.cmb_Gylx.Value = Comm.ObjToStr(dr["GYLX"]);

                }
                else
                {
                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
                    txt_TiShi.Text = "该钢卷无生产实绩信息,请与生产作业组联系";
                    txt_Scid_Top_Y.Focus();
                }
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }

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

        private void txt_Scid_Top_Y_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
        {
            try
            {
                if (e.KeyData == Keys.Return)
                {
                    if (((System.Windows.Forms.Control)sender).Name == this.txt_Scid_End_Y.Name)
                    {
                        string sqlStr = " AND A.COIL_NO_ID = '" + this.txt_Scid_Top_Y.Text.Trim() + this.txt_Scid_Begin_Y.Text.Trim() + "-" + this.txt_Scid_End_Y.Text + "'";
                        this.GetZYDetail(sqlStr);
                    }
                    if (((System.Windows.Forms.Control)sender).Name == this.Btn_Turn.Name)
                    {
                        this.TurnAdd();
                    }
                    System.Windows.Forms.SendKeys.Send("{TAB}");

                }


            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }
        private string Turn_GetWhere()
        {
            string strSql = "";
            if (this.chk_CollectTime.Checked)
            {
                strSql += " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
                    + " AND TO_CHAR(A.CREATETIME,'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_PiHao.Checked)
            {
                strSql += "AND COIL_NO_ID='" + this.txt_PiHao_Begin.Text + "-" + this.txt_Pihao_Top.Text + "-" + this.txt_PIhao_End.Text + "'";
            }
            if (this.chk_BNumber.Checked)
            {
                strSql += "AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'";
            }
            if (this.ultraCheckEditor1.Checked)
            {
                strSql += " AND B.AREA='" + this.cmb_QuYu.Value + "'";
            }
            if (this.chk_ProcLine.Checked)
            {
                strSql += " AND A.STOCKTYPE='" + this.cmb_ProcL.Value.ToString() + "'";
            }
            return strSql;
        }
        private void TurnQuery(string _Conntion)
        {
            try
            {
                string strOut = "";
                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_Query", new object[] { _Conntion }, out strOut);
                this.gb_Turan.DataSource = ds;
                this.gb_Turan.UpdateData();
                Comm.SetGridSumArea(this.gb_Turan);
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }
        #endregion

        #region 成品入库
        private bool Check_Turn()
        {
            if (this.txt_Scid_End_Y.Text.Trim().Length == 0 && this.txt_Scid_Begin_Y.Text.Trim().Length == 0 && this.txt_Scid_Top_Y.Text.Trim().Length == 0)
            {
                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
                txt_TiShi.Text = "板批号不能为空！";
                return false;
            }
            if (this.cmb_Buress.Text.Trim().Length == 0)
            {
                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
                txt_TiShi.Text = "堆位不能为空！";
                return false;
            }
            if (this.cmb_ClassOreder.Text.Trim().Length == 0)
            {
                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
                txt_TiShi.Text = "班次不能为空！";
                return false;
            }
            if (this.cmb_ClassStream.Text.Trim().Length == 0)
            {
                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
                txt_TiShi.Text = "班组不能为空！";
                return false;
            }
            if (this.txt_Ply.Value.ToString().Trim().Length == 0)
            {
                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
                txt_TiShi.Text = "厚度不能为空！";
                return false;
            }
            return true;
        }
        private void TurnAdd()
        {
            if (!Check_Turn())
            {
                return;
            }
            try
            {
                string strOut = "";
                ArrayList array = new ArrayList();
                array.Add(this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.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_BugReaSon.Text);
                Other.Add(this.txt_ZHPD.Value);
                Other.Add(this.cmb_Buress.Value.ToString());
                Other.Add(this.cmb_ClassOreder.Value.ToString());
                Other.Add(this.cmb_ClassOreder.Value.ToString());
                Other.Add(this.txt_Length.Value.ToString());
                Other.Add(this.txt_Num.Value.ToString());
                Other.Add(this.txt_WEIGHT.Value.ToString());
                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                Other.Add(this.txt_ReMark.Text);
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_ADD", new object[] { array, Other }, out strOut);
                if (obj != null && obj.ToString() == "1")
                {
                    this.txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Blue;
                    txt_TiShi.Text = "成功入库！";

                    this.txt_WEIGHT.Value = 0;
                    this.txt_Num.Value = 0;
                    this.txt_Length.Value = 0;
                    this.txt_Ply.Value = 0;
                    this.txt_Width.Value = 0;
                    this.txt_GangpeiH.Clear();

                    DataSet ds = (DataSet)this.gb_Press.DataSource;
                    System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_TASKDETAIL"].Select("COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'");
                    for (int i = 0; i < row.Length; i++)
                    {
                        ds.Tables["KCJ3_ZY_TASKDETAIL"].Rows.Remove(row[i]);
                        ds.Tables["KCJ3_ZY_TASKDETAIL"].AcceptChanges();
                    }
                    string strSql = " AND A.COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'";
                    this.TurnQuery(strSql);
                }
                else
                {
                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
                    txt_TiShi.Text = Comm.ObjToStr(obj) + strOut;
                }

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

        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
        {
            switch (e.Tool.Key)
            {
                case "QUERY":
                    TurnQuery(this.Turn_GetWhere());
                    break;
                case "ADD":
                    this.TurnAdd();
                    break;
                case "DEL":
                    this.Turn_Del();
                    break;
                case "REF":
                    this.DetailQuery(this.GetWhere());
                    break;
                case "TO_EXCEL":
                    ExportButtressInfo();
                    break;
                case "Close":
                    break;
            }
        }


        #region 初始化
        private void Frm_TurnoffManage_Load(object sender, System.EventArgs e)
        {
            string strOut = "";
            string sql = "", strSql="";
            DataSet ds;
            Comm.SetGridSumArea(this.gb_Press);
            Comm.SetGridSumArea(this.gb_Turan);
            //班次
            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_ClassOreder, "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_ClassStream, "SCM_BASE_INFO", "NAME_", "ID_", 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_BUTTRESS";

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

            //原料区域cmb_NewArea
            sql = "select areacode from kcj_area_ZW  where areatype='0' and isvalid='1' AND AREACODE='对外加工(卷板)' ";
            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
            ds.Tables[0].TableName = "KCJ_AREA";

            Comm.Init_ComboControl(this.cmb_QuYu, "KCJ_AREA", "AREACODE", "AREACODE", ref ds);
            //add by lyp 成品区域
            Comm.Init_ComboControl(this.cmb_area, "KCJ_AREA", "AREACODE", "AREACODE", ref ds);
            //开平线
            sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE in ('8055','8066')";
            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_ProcL, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
            Comm.Init_ComboControl(this.cmb_plid, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);

            //工艺缺陷
            strSql = "SELECT T.ID_,T.NAME_ FROM SCM_BASE_INFO T WHERE ID_ LIKE '4124ZB1G%' AND T.SORT_CODE = '4124'";
            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
            ds.Tables[0].TableName = "SCM_BASE_INFO";

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

            //判定类别
            strSql = "SELECT T.ID_,T.NAME_ FROM SCM_BASE_INFO T WHERE T.SORT_CODE = '4127'";
            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
            ds.Tables[0].TableName = "SCM_BASE_INFO";
            Comm.Init_ComboControl(this.txt_ZHPD, "SCM_BASE_INFO", "NAME_", "ID_", 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);
           
           
           

        }
        #endregion

        #region 入库
        private void Btn_Turn_Click(object sender, System.EventArgs e)
        {
            if (!Check_Turn())
            {
                return;
            }
            try
            {
                string strOut = "";
                ArrayList array = new ArrayList();
                array.Add(this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.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_BugReaSon.Text);
                Other.Add(this.txt_ZHPD.Value);
                Other.Add(this.cmb_Buress.Text);
                Other.Add(this.cmb_ClassOreder.Value.ToString());
                Other.Add(this.cmb_ClassOreder.Value.ToString());
                Other.Add(this.txt_Length.Value.ToString());
                Other.Add(this.txt_Num.Value.ToString());
                Other.Add(this.txt_WEIGHT.Value.ToString());
                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                Other.Add(this.txt_ReMark.Text);
                Other.Add(this.txt_Plact.Text.Trim());
                Other.Add(this.txt_Width.Text.Trim());
                Other.Add(this.txt_Seq.Text.Trim());

                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_ADD", new object[] { array, Other }, out strOut);
                if (obj != null && obj.ToString() == "1")
                {
                    this.txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Blue;
                    txt_TiShi.Text = "成功入库！";

                    this.txt_WEIGHT.Value = 0;
                    this.txt_Num.Value = 0;
                    this.txt_Length.Value = 0;
                    this.txt_Ply.Value = 0;
                    this.txt_Width.Value = 0;
                    this.txt_GangpeiH.Clear();

                    DataSet ds = (DataSet)this.gb_Press.DataSource;
                    System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_TASKDETAIL"].Select("COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'");
                    for (int i = 0; i < row.Length; i++)
                    {
                        ds.Tables["KCJ3_ZY_TASKDETAIL"].Rows.Remove(row[i]);
                        ds.Tables["KCJ3_ZY_TASKDETAIL"].AcceptChanges();
                    }
                    string strSql = " AND A.COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'";
                    this.TurnQuery(strSql);
                }
                else
                {
                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
                    txt_TiShi.Text = Comm.ObjToStr(obj) + strOut;
                }
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }
        #endregion

        #region 撤消成品入库
        private void Turn_Del()
        {
            try
            {
                string strOut = "";
                ArrayList array = new ArrayList();
                array = Comm.GetFieldValue(this.gb_Turan, "FLAG", "COIL_NO_ID");
                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.TurnoffManage", "Turn_Del", new object[] { array }, out strOut);
                if (obj != null && obj.ToString() == "1")
                {
                    DataSet ds = (DataSet)this.gb_Turan.DataSource;
                    System.Data.DataRow[] row = ds.Tables["KCJ3_TURNOFFLIST"].Select("FLAG='TRUE'");
                    for (int i = 0; i < row.Length; i++)
                    {
                        ds.Tables["KCJ3_TURNOFFLIST"].Rows.Remove(row[i]);
                        ds.Tables["KCJ3_TURNOFFLIST"].AcceptChanges();
                    }
                    this.DetailQuery("");
                }
                else
                {
                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
                    txt_TiShi.Text = Comm.ObjToStr(obj) + strOut;

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

        #region EVENT
        private void gb_Turan_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_Press;
                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Press.Rows)
                {
                    if (!row.IsFilteredOut)
                    {
                        row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
                        row.Update();
                    }
                }
                Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid1 = this.gb_Turan;
                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Turan.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_Press.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
                    this.gb_Press.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;

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

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

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

                }

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

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

        private void chk_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 = this.chk_PactID.Checked;
        }

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

        private void chk_PiHao_CheckedChanged(object sender, System.EventArgs e)
        {
            this.txt_PiHao_Begin.Enabled = this.chk_PiHao.Checked;
            this.txt_PIhao_End.Enabled = this.chk_PiHao.Checked;
            this.txt_Pihao_Top.Enabled = this.chk_PiHao.Checked;
        }

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

        #endregion

        private void chk_BNumber_CheckedChanged(object sender, System.EventArgs e)
        {
            this.txt_BNumber.Enabled = this.chk_BNumber.Checked;
        }

        private void gb_Press_DoubleClickRow(object sender, Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs e)
        {
            this.txt_Scid_Top_Y.Text = e.Row.Cells["COIL_NO_ID"].Value.ToString().Substring(0, 3);
            this.txt_Scid_Begin_Y.Text = e.Row.Cells["COIL_NO_ID"].Value.ToString().Substring(3, 10);
            this.txt_Scid_End_Y.Text = e.Row.Cells["COIL_NO_ID"].Value.ToString().Substring(14);
            txt_ReMark.Text = e.Row.Cells["REM"].Value.ToString();
            txt_GangpeiH.Text = e.Row.Cells["OLD_SAMPL_NO"].Value.ToString();
            txt_PaiHao.Text = e.Row.Cells["STL_GRD"].Value.ToString();
            txt_Plact.Text = e.Row.Cells["ORD_NO"].Value.ToString();
            txt_Seq.Text = e.Row.Cells["ORD_SEQ"].Value.ToString();
            txt_Ply.Value = e.Row.Cells["ZSLAB_PLY"].Value.ToString();
            txt_Width.Value = e.Row.Cells["ZSLAB_WIDTH"].Value.ToString();
            txt_Length.Value = e.Row.Cells["ZSLAB_LENGTH"].Value.ToString();
            txt_Num.Value = e.Row.Cells["ZSLAB_NUM"].Value.ToString();
            txt_WEIGHT.Value = e.Row.Cells["ZSLAB_WEIGHT"].Value.ToString();
        }

        private void ultraCheckEditor1_CheckedChanged(object sender, System.EventArgs e)
        {
            this.cmb_QuYu.Enabled = this.ultraCheckEditor1.Checked;
        }

        #region "导出报表"
        private void ExportButtressInfo()
        {

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

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

        private void cmb_area_ValueChanged(object sender, EventArgs e)
        {
            try
            {
                string areaCode = "";
                string buttressCode = "";
                string strOut = "";
               

               
                    areaCode = this.cmb_area.Value.ToString();
                    if (areaCode != "")
                    {




                        DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoReport",
                            "QueryFJButtress", new object[] { buttressCode, areaCode, "1" }, out strOut);
                        if (strOut == "")
                        {
                            this.cmb_Buress.DataSource = ds;

                        }
                        else
                        {
                            MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                        }
                    }
            }
            catch (Exception et)
            {
                throw et;
            }

        }
       
    }
}
