diff --git a/APP/QMAPP.Web/App_Data/Menu.xml b/APP/QMAPP.Web/App_Data/Menu.xml index 1226a1d..4e7acb3 100644 --- a/APP/QMAPP.Web/App_Data/Menu.xml +++ b/APP/QMAPP.Web/App_Data/Menu.xml @@ -298,7 +298,7 @@ --> - + + 查询 添加 @@ -327,7 +327,7 @@ 导出 下载模板 - --> + diff --git a/APP/QMAPP.Web/Web.config b/APP/QMAPP.Web/Web.config index 18a3b45..4bd4d32 100644 --- a/APP/QMAPP.Web/Web.config +++ b/APP/QMAPP.Web/Web.config @@ -50,11 +50,15 @@ - --> + + --> + + + diff --git a/APPMD/QMAPP.MD.DAL/ProcessRouteDAL.cs b/APPMD/QMAPP.MD.DAL/ProcessRouteDAL.cs index 79bfe72..ea4bdd6 100644 --- a/APPMD/QMAPP.MD.DAL/ProcessRouteDAL.cs +++ b/APPMD/QMAPP.MD.DAL/ProcessRouteDAL.cs @@ -882,7 +882,7 @@ namespace QMAPP.MD.DAL sql.AppendLine(" FROM [T_MD_PROCESS_ROUTE_WORKCELL] AS RW "); sql.AppendLine(" LEFT JOIN [T_MD_PROCESS_ROUTE] AS R "); sql.AppendLine(" ON RW.[ROUTE_CODE]=R.[ROUTE_CODE] "); - sql.AppendLine(" WHERE [WORKCELL_CODE]=@workcellcode "); + sql.AppendLine(" WHERE [WORKCELL_CODE]=@workcellcode and RW.FLGDEL = '0'"); parameters.Add(new DataParameter("workcellcode", workcellcode)); diff --git a/APPMD/QMAPP.MD.Web/Web.config b/APPMD/QMAPP.MD.Web/Web.config index 089fa18..14c31eb 100644 --- a/APPMD/QMAPP.MD.Web/Web.config +++ b/APPMD/QMAPP.MD.Web/Web.config @@ -37,10 +37,14 @@ + +--> + + + - + 查询 添加 diff --git a/APPQ5/QMAPP.FJC.Web/Web.config b/APPQ5/QMAPP.FJC.Web/Web.config index f924281..5687118 100644 --- a/APPQ5/QMAPP.FJC.Web/Web.config +++ b/APPQ5/QMAPP.FJC.Web/Web.config @@ -56,9 +56,12 @@ - --> + + --> + + + - + + + --> + + - - + + + @@ -233,12 +236,19 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + True + + + True + + + True + + + True + + + 107, 17 + + + 33 + + \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.Designer.cs b/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.Designer.cs index 98a9e45..5082ef9 100644 --- a/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.Designer.cs +++ b/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.Designer.cs @@ -29,37 +29,37 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OperationForm)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle60 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle59 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); this.panel2 = new System.Windows.Forms.Panel(); this.tBMat = new System.Windows.Forms.TextBox(); this.cBoxVAN = new System.Windows.Forms.CheckBox(); @@ -163,6 +163,7 @@ this.PType = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.OPERATESTATE = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.timer1 = new System.Windows.Forms.Timer(this.components); + this.txtGlue = new System.Windows.Forms.Label(); this.panel2.SuspendLayout(); this.panelSearch.SuspendLayout(); this.plDAI.SuspendLayout(); @@ -184,6 +185,7 @@ // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.InactiveBorder; + this.panel2.Controls.Add(this.txtGlue); this.panel2.Controls.Add(this.tBMat); this.panel2.Controls.Add(this.cBoxVAN); this.panel2.Controls.Add(this.btnChange); @@ -199,8 +201,9 @@ this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.panel2.Location = new System.Drawing.Point(0, 0); + this.panel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1698, 148); + this.panel2.Size = new System.Drawing.Size(2524, 222); this.panel2.TabIndex = 15; // // tBMat @@ -208,17 +211,19 @@ this.tBMat.BackColor = System.Drawing.SystemColors.InactiveBorder; this.tBMat.BorderStyle = System.Windows.Forms.BorderStyle.None; this.tBMat.Font = new System.Drawing.Font("微软雅黑", 24F, System.Drawing.FontStyle.Bold); - this.tBMat.Location = new System.Drawing.Point(773, 101); + this.tBMat.Location = new System.Drawing.Point(1160, 152); + this.tBMat.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tBMat.Name = "tBMat"; - this.tBMat.Size = new System.Drawing.Size(335, 43); + this.tBMat.Size = new System.Drawing.Size(502, 64); this.tBMat.TabIndex = 13; // // cBoxVAN // this.cBoxVAN.AutoSize = true; - this.cBoxVAN.Location = new System.Drawing.Point(832, 27); + this.cBoxVAN.Location = new System.Drawing.Point(1248, 40); + this.cBoxVAN.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cBoxVAN.Name = "cBoxVAN"; - this.cBoxVAN.Size = new System.Drawing.Size(49, 21); + this.cBoxVAN.Size = new System.Drawing.Size(70, 28); this.cBoxVAN.TabIndex = 12; this.cBoxVAN.Text = "82V"; this.cBoxVAN.UseVisualStyleBackColor = true; @@ -227,9 +232,10 @@ // btnChange // this.btnChange.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnChange.Location = new System.Drawing.Point(1058, 17); + this.btnChange.Location = new System.Drawing.Point(1587, 26); + this.btnChange.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnChange.Name = "btnChange"; - this.btnChange.Size = new System.Drawing.Size(96, 31); + this.btnChange.Size = new System.Drawing.Size(144, 46); this.btnChange.TabIndex = 11; this.btnChange.Text = "切换设备"; this.btnChange.UseVisualStyleBackColor = true; @@ -241,9 +247,10 @@ this.cbMould.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbMould.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.cbMould.FormattingEnabled = true; - this.cbMould.Location = new System.Drawing.Point(895, 18); + this.cbMould.Location = new System.Drawing.Point(1342, 27); + this.cbMould.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbMould.Name = "cbMould"; - this.cbMould.Size = new System.Drawing.Size(151, 29); + this.cbMould.Size = new System.Drawing.Size(224, 39); this.cbMould.TabIndex = 10; this.cbMould.SelectedIndexChanged += new System.EventHandler(this.cbMould_SelectedIndexChanged); // @@ -253,20 +260,22 @@ this.lblError.BorderStyle = System.Windows.Forms.BorderStyle.None; this.lblError.Dock = System.Windows.Forms.DockStyle.Bottom; this.lblError.Font = new System.Drawing.Font("微软雅黑", 24F, System.Drawing.FontStyle.Bold); - this.lblError.Location = new System.Drawing.Point(0, 54); + this.lblError.Location = new System.Drawing.Point(0, 81); + this.lblError.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.lblError.Multiline = true; this.lblError.Name = "lblError"; this.lblError.ReadOnly = true; - this.lblError.Size = new System.Drawing.Size(1698, 94); + this.lblError.Size = new System.Drawing.Size(2524, 141); this.lblError.TabIndex = 9; this.lblError.Text = "文字信息"; // // lblLock // this.lblLock.AutoSize = true; - this.lblLock.Location = new System.Drawing.Point(1160, 22); + this.lblLock.Location = new System.Drawing.Point(1740, 33); + this.lblLock.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblLock.Name = "lblLock"; - this.lblLock.Size = new System.Drawing.Size(56, 17); + this.lblLock.Size = new System.Drawing.Size(82, 24); this.lblLock.TabIndex = 8; this.lblLock.TabStop = true; this.lblLock.Tag = "0"; @@ -278,18 +287,20 @@ this.comMachine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comMachine.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.comMachine.FormattingEnabled = true; - this.comMachine.Location = new System.Drawing.Point(631, 18); + this.comMachine.Location = new System.Drawing.Point(946, 27); + this.comMachine.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.comMachine.Name = "comMachine"; - this.comMachine.Size = new System.Drawing.Size(195, 29); + this.comMachine.Size = new System.Drawing.Size(290, 39); this.comMachine.TabIndex = 7; this.comMachine.SelectionChangeCommitted += new System.EventHandler(this.comMachine_SelectionChangeCommitted); // // btnAdd // this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.btnAdd.Location = new System.Drawing.Point(463, 17); + this.btnAdd.Location = new System.Drawing.Point(694, 26); + this.btnAdd.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnAdd.Name = "btnAdd"; - this.btnAdd.Size = new System.Drawing.Size(65, 31); + this.btnAdd.Size = new System.Drawing.Size(98, 46); this.btnAdd.TabIndex = 6; this.btnAdd.Text = "提交"; this.btnAdd.UseVisualStyleBackColor = true; @@ -299,9 +310,10 @@ // this.txtCode.Font = new System.Drawing.Font("微软雅黑", 12F); this.txtCode.ImeMode = System.Windows.Forms.ImeMode.Disable; - this.txtCode.Location = new System.Drawing.Point(90, 18); + this.txtCode.Location = new System.Drawing.Point(135, 27); + this.txtCode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.txtCode.Name = "txtCode"; - this.txtCode.Size = new System.Drawing.Size(367, 29); + this.txtCode.Size = new System.Drawing.Size(548, 39); this.txtCode.TabIndex = 5; this.txtCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCode_KeyDown); // @@ -309,9 +321,10 @@ // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.Location = new System.Drawing.Point(7, 22); + this.label1.Location = new System.Drawing.Point(10, 33); + this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(82, 20); + this.label1.Size = new System.Drawing.Size(131, 30); this.label1.TabIndex = 0; this.label1.Text = "条 码:"; // @@ -319,9 +332,10 @@ // this.lblMouldTitle.AutoSize = true; this.lblMouldTitle.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblMouldTitle.Location = new System.Drawing.Point(837, 22); + this.lblMouldTitle.Location = new System.Drawing.Point(1256, 33); + this.lblMouldTitle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblMouldTitle.Name = "lblMouldTitle"; - this.lblMouldTitle.Size = new System.Drawing.Size(54, 20); + this.lblMouldTitle.Size = new System.Drawing.Size(82, 30); this.lblMouldTitle.TabIndex = 4; this.lblMouldTitle.Text = "模架:"; // @@ -329,9 +343,10 @@ // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label2.Location = new System.Drawing.Point(544, 22); + this.label2.Location = new System.Drawing.Point(816, 33); + this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(84, 20); + this.label2.Size = new System.Drawing.Size(128, 30); this.label2.TabIndex = 4; this.label2.Text = "当前设备:"; // @@ -346,27 +361,30 @@ this.panelSearch.Controls.Add(this.label3); this.panelSearch.Dock = System.Windows.Forms.DockStyle.Top; this.panelSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.panelSearch.Location = new System.Drawing.Point(0, 148); + this.panelSearch.Location = new System.Drawing.Point(0, 222); + this.panelSearch.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.panelSearch.Name = "panelSearch"; - this.panelSearch.Size = new System.Drawing.Size(1698, 35); + this.panelSearch.Size = new System.Drawing.Size(2524, 52); this.panelSearch.TabIndex = 17; // // lblMould // this.lblMould.AutoSize = true; this.lblMould.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblMould.Location = new System.Drawing.Point(498, 4); + this.lblMould.Location = new System.Drawing.Point(747, 6); + this.lblMould.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblMould.Name = "lblMould"; - this.lblMould.Size = new System.Drawing.Size(0, 26); + this.lblMould.Size = new System.Drawing.Size(0, 37); this.lblMould.TabIndex = 5; // // lblWorkcellState // this.lblWorkcellState.AutoSize = true; this.lblWorkcellState.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblWorkcellState.Location = new System.Drawing.Point(204, 4); + this.lblWorkcellState.Location = new System.Drawing.Point(306, 6); + this.lblWorkcellState.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblWorkcellState.Name = "lblWorkcellState"; - this.lblWorkcellState.Size = new System.Drawing.Size(50, 26); + this.lblWorkcellState.Size = new System.Drawing.Size(73, 37); this.lblWorkcellState.TabIndex = 0; this.lblWorkcellState.Text = "准备"; // @@ -374,9 +392,10 @@ // this.lblMouldTitle2.AutoSize = true; this.lblMouldTitle2.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblMouldTitle2.Location = new System.Drawing.Point(415, 7); + this.lblMouldTitle2.Location = new System.Drawing.Point(622, 10); + this.lblMouldTitle2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblMouldTitle2.Name = "lblMouldTitle2"; - this.lblMouldTitle2.Size = new System.Drawing.Size(84, 20); + this.lblMouldTitle2.Size = new System.Drawing.Size(128, 30); this.lblMouldTitle2.TabIndex = 6; this.lblMouldTitle2.Text = "当前模架:"; // @@ -384,9 +403,10 @@ // this.label9.AutoSize = true; this.label9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label9.Location = new System.Drawing.Point(5, 6); + this.label9.Location = new System.Drawing.Point(8, 9); + this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(74, 22); + this.label9.Size = new System.Drawing.Size(110, 31); this.label9.TabIndex = 0; this.label9.Text = "数据采集"; // @@ -394,9 +414,10 @@ // this.label3.AutoSize = true; this.label3.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label3.Location = new System.Drawing.Point(125, 7); + this.label3.Location = new System.Drawing.Point(188, 10); + this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(84, 20); + this.label3.Size = new System.Drawing.Size(128, 30); this.label3.TabIndex = 4; this.label3.Text = "当前状态:"; // @@ -404,9 +425,10 @@ // this.plDAI.Controls.Add(this.DGView); this.plDAI.Dock = System.Windows.Forms.DockStyle.Top; - this.plDAI.Location = new System.Drawing.Point(0, 183); + this.plDAI.Location = new System.Drawing.Point(0, 274); + this.plDAI.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.plDAI.Name = "plDAI"; - this.plDAI.Size = new System.Drawing.Size(1698, 127); + this.plDAI.Size = new System.Drawing.Size(2524, 190); this.plDAI.TabIndex = 18; // // DGView @@ -415,14 +437,14 @@ this.DGView.AllowUserToDeleteRows = false; this.DGView.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.DGView.BackgroundColor = System.Drawing.SystemColors.ButtonFace; - dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle31.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle31.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold); - dataGridViewCellStyle31.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle31.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle31.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle31.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.DGView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle31; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold); + dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.DGView.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; this.DGView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.DGView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dgcMouldCode, @@ -435,31 +457,32 @@ this.davalue, this.daresult, this.Pid}); - dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle41.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle41.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle41.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle41.Padding = new System.Windows.Forms.Padding(0, 0, 14, 0); - dataGridViewCellStyle41.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle41.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle41.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.DGView.DefaultCellStyle = dataGridViewCellStyle41; + dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle11.Padding = new System.Windows.Forms.Padding(0, 0, 14, 0); + dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.DGView.DefaultCellStyle = dataGridViewCellStyle11; this.DGView.Dock = System.Windows.Forms.DockStyle.Fill; this.DGView.GridColor = System.Drawing.SystemColors.ControlDarkDark; this.DGView.Location = new System.Drawing.Point(0, 0); + this.DGView.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.DGView.Name = "DGView"; this.DGView.ReadOnly = true; - dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle42.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle42.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle42.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle42.SelectionBackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle42.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle42.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.DGView.RowHeadersDefaultCellStyle = dataGridViewCellStyle42; + dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.DGView.RowHeadersDefaultCellStyle = dataGridViewCellStyle12; this.DGView.RowTemplate.Height = 30; this.DGView.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.DGView.Size = new System.Drawing.Size(1698, 127); + this.DGView.Size = new System.Drawing.Size(2524, 190); this.DGView.TabIndex = 3; this.DGView.Tag = "0"; this.DGView.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.DG_RowPostPaint); @@ -467,9 +490,9 @@ // dgcMouldCode // this.dgcMouldCode.DataPropertyName = "MouldCode"; - dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle32.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold); - this.dgcMouldCode.DefaultCellStyle = dataGridViewCellStyle32; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold); + this.dgcMouldCode.DefaultCellStyle = dataGridViewCellStyle2; this.dgcMouldCode.HeaderText = "模架编号"; this.dgcMouldCode.Name = "dgcMouldCode"; this.dgcMouldCode.ReadOnly = true; @@ -479,28 +502,28 @@ // dgcMouldName // this.dgcMouldName.DataPropertyName = "MouldName"; - dataGridViewCellStyle33.Font = new System.Drawing.Font("微软雅黑", 15.25F, System.Drawing.FontStyle.Bold); - this.dgcMouldName.DefaultCellStyle = dataGridViewCellStyle33; + dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 15.25F, System.Drawing.FontStyle.Bold); + this.dgcMouldName.DefaultCellStyle = dataGridViewCellStyle3; this.dgcMouldName.HeaderText = "模架"; this.dgcMouldName.Name = "dgcMouldName"; this.dgcMouldName.ReadOnly = true; - this.dgcMouldName.Width = 81; + this.dgcMouldName.Width = 110; // // daname // this.daname.DataPropertyName = "DAName"; - dataGridViewCellStyle34.Font = new System.Drawing.Font("宋体", 15.75F); - this.daname.DefaultCellStyle = dataGridViewCellStyle34; + dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 15.75F); + this.daname.DefaultCellStyle = dataGridViewCellStyle4; this.daname.HeaderText = "采集项名称"; this.daname.Name = "daname"; this.daname.ReadOnly = true; - this.daname.Width = 132; + this.daname.Width = 185; // // statename // this.statename.DataPropertyName = "StateName"; - dataGridViewCellStyle35.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.statename.DefaultCellStyle = dataGridViewCellStyle35; + dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.statename.DefaultCellStyle = dataGridViewCellStyle5; this.statename.HeaderText = "采集时序"; this.statename.Name = "statename"; this.statename.ReadOnly = true; @@ -510,19 +533,19 @@ // datype // this.datype.DataPropertyName = "DAType"; - dataGridViewCellStyle36.Font = new System.Drawing.Font("宋体", 15.75F); - this.datype.DefaultCellStyle = dataGridViewCellStyle36; + dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 15.75F); + this.datype.DefaultCellStyle = dataGridViewCellStyle6; this.datype.HeaderText = "数据类型"; this.datype.Name = "datype"; this.datype.ReadOnly = true; - this.datype.Width = 115; + this.datype.Width = 160; // // materialtypename // this.materialtypename.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.materialtypename.DataPropertyName = "MaterialCode"; - dataGridViewCellStyle37.Font = new System.Drawing.Font("宋体", 15.75F); - this.materialtypename.DefaultCellStyle = dataGridViewCellStyle37; + dataGridViewCellStyle7.Font = new System.Drawing.Font("宋体", 15.75F); + this.materialtypename.DefaultCellStyle = dataGridViewCellStyle7; this.materialtypename.FillWeight = 50F; this.materialtypename.HeaderText = "物料类型"; this.materialtypename.Name = "materialtypename"; @@ -532,8 +555,8 @@ // this.dgcDAMaterialCode.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.dgcDAMaterialCode.DataPropertyName = "MaterialName"; - dataGridViewCellStyle38.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.dgcDAMaterialCode.DefaultCellStyle = dataGridViewCellStyle38; + dataGridViewCellStyle8.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.dgcDAMaterialCode.DefaultCellStyle = dataGridViewCellStyle8; this.dgcDAMaterialCode.FillWeight = 50F; this.dgcDAMaterialCode.HeaderText = "物料名称"; this.dgcDAMaterialCode.Name = "dgcDAMaterialCode"; @@ -543,8 +566,8 @@ // this.davalue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; this.davalue.DataPropertyName = "DAValue"; - dataGridViewCellStyle39.Font = new System.Drawing.Font("宋体", 15.75F); - this.davalue.DefaultCellStyle = dataGridViewCellStyle39; + dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 15.75F); + this.davalue.DefaultCellStyle = dataGridViewCellStyle9; this.davalue.HeaderText = "采集值"; this.davalue.Name = "davalue"; this.davalue.ReadOnly = true; @@ -552,12 +575,12 @@ // daresult // this.daresult.DataPropertyName = "DAResult"; - dataGridViewCellStyle40.Font = new System.Drawing.Font("宋体", 15.75F); - this.daresult.DefaultCellStyle = dataGridViewCellStyle40; + dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 15.75F); + this.daresult.DefaultCellStyle = dataGridViewCellStyle10; this.daresult.HeaderText = "结果"; this.daresult.Name = "daresult"; this.daresult.ReadOnly = true; - this.daresult.Width = 81; + this.daresult.Width = 110; // // Pid // @@ -589,9 +612,10 @@ this.btnRefresh, this.toolStripButton1, this.toolStripButton3}); - this.toolStrip1.Location = new System.Drawing.Point(0, 380); + this.toolStrip1.Location = new System.Drawing.Point(0, 570); this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1698, 70); + this.toolStrip1.Padding = new System.Windows.Forms.Padding(0, 0, 2, 0); + this.toolStrip1.Size = new System.Drawing.Size(2524, 105); this.toolStrip1.Stretch = true; this.toolStrip1.TabIndex = 19; this.toolStrip1.Text = "toolStrip1"; @@ -617,7 +641,7 @@ this.tsbReSignal.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbReSignal.ImageTransparentColor = System.Drawing.Color.Magenta; this.tsbReSignal.Name = "tsbReSignal"; - this.tsbReSignal.Size = new System.Drawing.Size(131, 67); + this.tsbReSignal.Size = new System.Drawing.Size(172, 102); this.tsbReSignal.Text = "重发信号"; this.tsbReSignal.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.tsbReSignal_DropDownItemClicked); this.tsbReSignal.Click += new System.EventHandler(this.tsbReSignal_Click); @@ -668,7 +692,7 @@ this.tsbPrint.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbPrint.ImageTransparentColor = System.Drawing.Color.White; this.tsbPrint.Name = "tsbPrint"; - this.tsbPrint.Size = new System.Drawing.Size(142, 67); + this.tsbPrint.Size = new System.Drawing.Size(186, 102); this.tsbPrint.Text = "重打总成码"; this.tsbPrint.Visible = false; this.tsbPrint.Click += new System.EventHandler(this.tsbPrint_Click); @@ -687,7 +711,7 @@ this.tsbOrderOperation.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbOrderOperation.ImageTransparentColor = System.Drawing.Color.White; this.tsbOrderOperation.Name = "tsbOrderOperation"; - this.tsbOrderOperation.Size = new System.Drawing.Size(135, 67); + this.tsbOrderOperation.Size = new System.Drawing.Size(176, 102); this.tsbOrderOperation.Text = "工单操作"; // // tsmiSuspendOrder @@ -695,7 +719,7 @@ this.tsmiSuspendOrder.Image = global::QMAPP.WinForm.Resource1.stop; this.tsmiSuspendOrder.Margin = new System.Windows.Forms.Padding(0, 7, 0, 7); this.tsmiSuspendOrder.Name = "tsmiSuspendOrder"; - this.tsmiSuspendOrder.Size = new System.Drawing.Size(167, 26); + this.tsmiSuspendOrder.Size = new System.Drawing.Size(230, 36); this.tsmiSuspendOrder.Text = "挂起工单"; this.tsmiSuspendOrder.TextAlign = System.Drawing.ContentAlignment.BottomCenter; this.tsmiSuspendOrder.Click += new System.EventHandler(this.tsmiSuspendOrder_Click); @@ -705,7 +729,7 @@ this.tsmiCancelSuspend.Image = global::QMAPP.WinForm.Resource1.back; this.tsmiCancelSuspend.Margin = new System.Windows.Forms.Padding(0, 7, 0, 7); this.tsmiCancelSuspend.Name = "tsmiCancelSuspend"; - this.tsmiCancelSuspend.Size = new System.Drawing.Size(167, 26); + this.tsmiCancelSuspend.Size = new System.Drawing.Size(230, 36); this.tsmiCancelSuspend.Text = "取消挂起"; this.tsmiCancelSuspend.Click += new System.EventHandler(this.tsmiCancelSuspend_Click); // @@ -714,7 +738,7 @@ this.tsmiResetOrder.Image = global::QMAPP.WinForm.Resource1.reload; this.tsmiResetOrder.Margin = new System.Windows.Forms.Padding(0, 7, 0, 7); this.tsmiResetOrder.Name = "tsmiResetOrder"; - this.tsmiResetOrder.Size = new System.Drawing.Size(167, 26); + this.tsmiResetOrder.Size = new System.Drawing.Size(230, 36); this.tsmiResetOrder.Text = "重置工单"; this.tsmiResetOrder.Click += new System.EventHandler(this.tsmiResetOrder_Click); // @@ -723,7 +747,7 @@ this.tsmiTakebackOrder.Image = global::QMAPP.WinForm.Resource1.undo; this.tsmiTakebackOrder.Margin = new System.Windows.Forms.Padding(0, 7, 0, 7); this.tsmiTakebackOrder.Name = "tsmiTakebackOrder"; - this.tsmiTakebackOrder.Size = new System.Drawing.Size(167, 26); + this.tsmiTakebackOrder.Size = new System.Drawing.Size(230, 36); this.tsmiTakebackOrder.Text = "收回工单"; this.tsmiTakebackOrder.Click += new System.EventHandler(this.tsmiTakebackOrder_Click); // @@ -732,7 +756,7 @@ this.tsmiDeleteOrder.Image = global::QMAPP.WinForm.Resource1.delete; this.tsmiDeleteOrder.Margin = new System.Windows.Forms.Padding(0, 7, 0, 7); this.tsmiDeleteOrder.Name = "tsmiDeleteOrder"; - this.tsmiDeleteOrder.Size = new System.Drawing.Size(167, 26); + this.tsmiDeleteOrder.Size = new System.Drawing.Size(230, 36); this.tsmiDeleteOrder.Text = "删除工单"; this.tsmiDeleteOrder.Click += new System.EventHandler(this.tsmiDeleteOrder_Click); // @@ -741,7 +765,7 @@ this.tsmiIgnoreFISBreak.Image = global::QMAPP.WinForm.Resource1.recover; this.tsmiIgnoreFISBreak.Margin = new System.Windows.Forms.Padding(0, 7, 0, 7); this.tsmiIgnoreFISBreak.Name = "tsmiIgnoreFISBreak"; - this.tsmiIgnoreFISBreak.Size = new System.Drawing.Size(167, 26); + this.tsmiIgnoreFISBreak.Size = new System.Drawing.Size(230, 36); this.tsmiIgnoreFISBreak.Text = "忽略FIS断号"; this.tsmiIgnoreFISBreak.Click += new System.EventHandler(this.tsmiIgnoreFISBreak_Click); // @@ -752,7 +776,7 @@ this.tsbAndon.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.tsbAndon.ImageTransparentColor = System.Drawing.Color.White; this.tsbAndon.Name = "tsbAndon"; - this.tsbAndon.Size = new System.Drawing.Size(147, 67); + this.tsbAndon.Size = new System.Drawing.Size(200, 102); this.tsbAndon.Text = "ANDON呼叫"; this.tsbAndon.Click += new System.EventHandler(this.tsbAndon_Click); // @@ -775,7 +799,7 @@ this.btnSignInfo.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.btnSignInfo.ImageTransparentColor = System.Drawing.Color.White; this.btnSignInfo.Name = "btnSignInfo"; - this.btnSignInfo.Size = new System.Drawing.Size(126, 67); + this.btnSignInfo.Size = new System.Drawing.Size(162, 102); this.btnSignInfo.Text = "登记信息"; this.btnSignInfo.Click += new System.EventHandler(this.btnSignInfo_Click); // @@ -786,7 +810,7 @@ this.btnEditProduct.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.btnEditProduct.ImageTransparentColor = System.Drawing.Color.White; this.btnEditProduct.Name = "btnEditProduct"; - this.btnEditProduct.Size = new System.Drawing.Size(126, 67); + this.btnEditProduct.Size = new System.Drawing.Size(162, 102); this.btnEditProduct.Text = "产品返修"; this.btnEditProduct.Click += new System.EventHandler(this.btnEditProduct_Click); // @@ -797,7 +821,7 @@ this.btnRefresh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.btnRefresh.ImageTransparentColor = System.Drawing.Color.Magenta; this.btnRefresh.Name = "btnRefresh"; - this.btnRefresh.Size = new System.Drawing.Size(62, 67); + this.btnRefresh.Size = new System.Drawing.Size(82, 102); this.btnRefresh.Text = "刷新"; this.btnRefresh.Visible = false; this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click); @@ -808,7 +832,7 @@ this.toolStripButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; this.toolStripButton1.Name = "toolStripButton1"; - this.toolStripButton1.Size = new System.Drawing.Size(120, 67); + this.toolStripButton1.Size = new System.Drawing.Size(152, 102); this.toolStripButton1.Text = "缺陷统计卡"; this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click); // @@ -830,10 +854,11 @@ this.panel4.Controls.Add(this.plInfo); this.panel4.Controls.Add(this.plPlanAndRecord); this.panel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel4.Location = new System.Drawing.Point(0, 310); + this.panel4.Location = new System.Drawing.Point(0, 464); + this.panel4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.panel4.Name = "panel4"; - this.panel4.Padding = new System.Windows.Forms.Padding(0, 3, 0, 0); - this.panel4.Size = new System.Drawing.Size(1698, 70); + this.panel4.Padding = new System.Windows.Forms.Padding(0, 4, 0, 0); + this.panel4.Size = new System.Drawing.Size(2524, 106); this.panel4.TabIndex = 21; // // plInfo @@ -842,10 +867,11 @@ this.plInfo.Controls.Add(this.gbMlist); this.plInfo.Controls.Add(this.btnCollapse); this.plInfo.Dock = System.Windows.Forms.DockStyle.Right; - this.plInfo.Location = new System.Drawing.Point(835, 3); + this.plInfo.Location = new System.Drawing.Point(1230, 4); + this.plInfo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.plInfo.Name = "plInfo"; - this.plInfo.Padding = new System.Windows.Forms.Padding(5); - this.plInfo.Size = new System.Drawing.Size(863, 67); + this.plInfo.Padding = new System.Windows.Forms.Padding(8, 8, 8, 8); + this.plInfo.Size = new System.Drawing.Size(1294, 102); this.plInfo.TabIndex = 1; this.plInfo.Visible = false; // @@ -854,9 +880,11 @@ this.gbMlist.Controls.Add(this.dgvMlist); this.gbMlist.Dock = System.Windows.Forms.DockStyle.Fill; this.gbMlist.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.gbMlist.Location = new System.Drawing.Point(41, 5); + this.gbMlist.Location = new System.Drawing.Point(62, 8); + this.gbMlist.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.gbMlist.Name = "gbMlist"; - this.gbMlist.Size = new System.Drawing.Size(817, 57); + this.gbMlist.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); + this.gbMlist.Size = new System.Drawing.Size(1224, 86); this.gbMlist.TabIndex = 0; this.gbMlist.TabStop = false; this.gbMlist.Text = "装配物料清单"; @@ -869,14 +897,15 @@ this.dgcMListMaterialCode, this.dgcMListQty}); this.dgvMlist.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvMlist.Location = new System.Drawing.Point(3, 28); + this.dgvMlist.Location = new System.Drawing.Point(4, 41); + this.dgvMlist.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.dgvMlist.Name = "dgvMlist"; this.dgvMlist.ReadOnly = true; this.dgvMlist.RowHeadersVisible = false; this.dgvMlist.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.dgvMlist.RowTemplate.Height = 35; this.dgvMlist.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvMlist.Size = new System.Drawing.Size(811, 26); + this.dgvMlist.Size = new System.Drawing.Size(1216, 41); this.dgvMlist.TabIndex = 0; // // dgcMListMaterialName @@ -886,7 +915,7 @@ this.dgcMListMaterialName.HeaderText = "物料名称"; this.dgcMListMaterialName.Name = "dgcMListMaterialName"; this.dgcMListMaterialName.ReadOnly = true; - this.dgcMListMaterialName.Width = 113; + this.dgcMListMaterialName.Width = 165; // // dgcMListMaterialCode // @@ -895,7 +924,7 @@ this.dgcMListMaterialCode.HeaderText = "物料号"; this.dgcMListMaterialCode.Name = "dgcMListMaterialCode"; this.dgcMListMaterialCode.ReadOnly = true; - this.dgcMListMaterialCode.Width = 94; + this.dgcMListMaterialCode.Width = 137; // // dgcMListQty // @@ -904,15 +933,16 @@ this.dgcMListQty.HeaderText = "数量"; this.dgcMListQty.Name = "dgcMListQty"; this.dgcMListQty.ReadOnly = true; - this.dgcMListQty.Width = 75; + this.dgcMListQty.Width = 109; // // btnCollapse // this.btnCollapse.Dock = System.Windows.Forms.DockStyle.Left; this.btnCollapse.Image = global::QMAPP.WinForm.Resource1.back; - this.btnCollapse.Location = new System.Drawing.Point(5, 5); + this.btnCollapse.Location = new System.Drawing.Point(8, 8); + this.btnCollapse.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.btnCollapse.Name = "btnCollapse"; - this.btnCollapse.Size = new System.Drawing.Size(36, 57); + this.btnCollapse.Size = new System.Drawing.Size(54, 86); this.btnCollapse.TabIndex = 1; this.btnCollapse.UseVisualStyleBackColor = true; this.btnCollapse.Click += new System.EventHandler(this.btnCollapse_Click); @@ -927,9 +957,10 @@ this.plPlanAndRecord.Controls.Add(this.label6); this.plPlanAndRecord.Controls.Add(this.tabView); this.plPlanAndRecord.Dock = System.Windows.Forms.DockStyle.Fill; - this.plPlanAndRecord.Location = new System.Drawing.Point(0, 3); + this.plPlanAndRecord.Location = new System.Drawing.Point(0, 4); + this.plPlanAndRecord.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.plPlanAndRecord.Name = "plPlanAndRecord"; - this.plPlanAndRecord.Size = new System.Drawing.Size(1698, 67); + this.plPlanAndRecord.Size = new System.Drawing.Size(2524, 102); this.plPlanAndRecord.TabIndex = 0; // // cbPlanFilter @@ -942,18 +973,20 @@ "显示全部工单", "隐藏挂起工单", "只看挂起工单"}); - this.cbPlanFilter.Location = new System.Drawing.Point(1230, 1); + this.cbPlanFilter.Location = new System.Drawing.Point(1822, 2); + this.cbPlanFilter.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbPlanFilter.Name = "cbPlanFilter"; - this.cbPlanFilter.Size = new System.Drawing.Size(143, 33); + this.cbPlanFilter.Size = new System.Drawing.Size(212, 44); this.cbPlanFilter.TabIndex = 17; // // label10 // this.label10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(1172, 11); + this.label10.Location = new System.Drawing.Point(1735, 16); + this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(53, 12); + this.label10.Size = new System.Drawing.Size(80, 18); this.label10.TabIndex = 16; this.label10.Text = "工单过滤"; // @@ -969,9 +1002,10 @@ "40", "50", "100"}); - this.cbListRowcount.Location = new System.Drawing.Point(1460, 1); + this.cbListRowcount.Location = new System.Drawing.Point(2167, 2); + this.cbListRowcount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbListRowcount.Name = "cbListRowcount"; - this.cbListRowcount.Size = new System.Drawing.Size(78, 33); + this.cbListRowcount.Size = new System.Drawing.Size(115, 44); this.cbListRowcount.TabIndex = 15; // // cbRefreshRate @@ -987,18 +1021,20 @@ "10s", "15s", "20s"}); - this.cbRefreshRate.Location = new System.Drawing.Point(1625, 1); + this.cbRefreshRate.Location = new System.Drawing.Point(2415, 2); + this.cbRefreshRate.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.cbRefreshRate.Name = "cbRefreshRate"; - this.cbRefreshRate.Size = new System.Drawing.Size(66, 33); + this.cbRefreshRate.Size = new System.Drawing.Size(97, 44); this.cbRefreshRate.TabIndex = 14; // // label8 // this.label8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(1378, 11); + this.label8.Location = new System.Drawing.Point(2044, 16); + this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(77, 12); + this.label8.Size = new System.Drawing.Size(116, 18); this.label8.TabIndex = 12; this.label8.Text = "列表显示行数"; // @@ -1006,9 +1042,10 @@ // this.label6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(1543, 11); + this.label6.Location = new System.Drawing.Point(2291, 16); + this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(77, 12); + this.label6.Size = new System.Drawing.Size(116, 18); this.label6.TabIndex = 13; this.label6.Text = "计划刷新频率"; // @@ -1020,9 +1057,10 @@ this.tabView.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.tabView.ItemSize = new System.Drawing.Size(120, 32); this.tabView.Location = new System.Drawing.Point(0, 0); + this.tabView.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tabView.Name = "tabView"; this.tabView.SelectedIndex = 0; - this.tabView.Size = new System.Drawing.Size(1698, 67); + this.tabView.Size = new System.Drawing.Size(2524, 102); this.tabView.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; this.tabView.TabIndex = 11; // @@ -1031,8 +1069,9 @@ this.tpPlan.Controls.Add(this.dgvPlan); this.tpPlan.Controls.Add(this.tlpPlanCount); this.tpPlan.Location = new System.Drawing.Point(4, 36); + this.tpPlan.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tpPlan.Name = "tpPlan"; - this.tpPlan.Size = new System.Drawing.Size(1690, 27); + this.tpPlan.Size = new System.Drawing.Size(2516, 62); this.tpPlan.TabIndex = 0; this.tpPlan.Text = "生产计划"; this.tpPlan.UseVisualStyleBackColor = true; @@ -1043,14 +1082,14 @@ this.dgvPlan.AllowUserToDeleteRows = false; this.dgvPlan.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells; this.dgvPlan.BackgroundColor = System.Drawing.SystemColors.ButtonFace; - dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle43.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle43.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle43.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle43.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle43.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvPlan.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle43; + dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle13.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvPlan.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13; this.dgvPlan.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvPlan.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dgcOrderNo, @@ -1066,21 +1105,22 @@ this.dataGridViewTextBoxColumn11}); this.dgvPlan.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvPlan.Location = new System.Drawing.Point(0, 0); + this.dgvPlan.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.dgvPlan.Name = "dgvPlan"; this.dgvPlan.ReadOnly = true; - dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle51.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle51.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle51.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle51.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle51.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle51.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvPlan.RowHeadersDefaultCellStyle = dataGridViewCellStyle51; - dataGridViewCellStyle52.Padding = new System.Windows.Forms.Padding(0, 0, 8, 0); - this.dgvPlan.RowsDefaultCellStyle = dataGridViewCellStyle52; + dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle21.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle21.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle21.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle21.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvPlan.RowHeadersDefaultCellStyle = dataGridViewCellStyle21; + dataGridViewCellStyle22.Padding = new System.Windows.Forms.Padding(0, 0, 8, 0); + this.dgvPlan.RowsDefaultCellStyle = dataGridViewCellStyle22; this.dgvPlan.RowTemplate.Height = 23; this.dgvPlan.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvPlan.Size = new System.Drawing.Size(1525, 27); + this.dgvPlan.Size = new System.Drawing.Size(2268, 62); this.dgvPlan.TabIndex = 6; this.dgvPlan.RowPrePaint += new System.Windows.Forms.DataGridViewRowPrePaintEventHandler(this.dgvPlan_RowPrePaint); this.dgvPlan.SelectionChanged += new System.EventHandler(this.dgvPlan_SelectionChanged); @@ -1088,72 +1128,72 @@ // dgcOrderNo // this.dgcOrderNo.DataPropertyName = "ORDERPLAN_NO"; - dataGridViewCellStyle44.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.dgcOrderNo.DefaultCellStyle = dataGridViewCellStyle44; + dataGridViewCellStyle14.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.dgcOrderNo.DefaultCellStyle = dataGridViewCellStyle14; this.dgcOrderNo.HeaderText = "订单号"; this.dgcOrderNo.Name = "dgcOrderNo"; this.dgcOrderNo.ReadOnly = true; - this.dgcOrderNo.Width = 84; + this.dgcOrderNo.Width = 121; // // dgcSeq // this.dgcSeq.DataPropertyName = "SEQ"; - dataGridViewCellStyle45.Font = new System.Drawing.Font("宋体", 15.75F); - this.dgcSeq.DefaultCellStyle = dataGridViewCellStyle45; + dataGridViewCellStyle15.Font = new System.Drawing.Font("宋体", 15.75F); + this.dgcSeq.DefaultCellStyle = dataGridViewCellStyle15; this.dgcSeq.HeaderText = "顺序号"; this.dgcSeq.Name = "dgcSeq"; this.dgcSeq.ReadOnly = true; - this.dgcSeq.Width = 84; + this.dgcSeq.Width = 121; // // dgcMaterialCode // this.dgcMaterialCode.DataPropertyName = "MATERIAL_CODE"; - dataGridViewCellStyle46.Font = new System.Drawing.Font("宋体", 15.75F); - this.dgcMaterialCode.DefaultCellStyle = dataGridViewCellStyle46; + dataGridViewCellStyle16.Font = new System.Drawing.Font("宋体", 15.75F); + this.dgcMaterialCode.DefaultCellStyle = dataGridViewCellStyle16; this.dgcMaterialCode.HeaderText = "零件号"; this.dgcMaterialCode.Name = "dgcMaterialCode"; this.dgcMaterialCode.ReadOnly = true; - this.dgcMaterialCode.Width = 84; + this.dgcMaterialCode.Width = 121; // // dgcMaterialName // this.dgcMaterialName.DataPropertyName = "MATERIAL_NAME"; - dataGridViewCellStyle47.Font = new System.Drawing.Font("宋体", 15.75F); - this.dgcMaterialName.DefaultCellStyle = dataGridViewCellStyle47; + dataGridViewCellStyle17.Font = new System.Drawing.Font("宋体", 15.75F); + this.dgcMaterialName.DefaultCellStyle = dataGridViewCellStyle17; this.dgcMaterialName.HeaderText = "零件描述"; this.dgcMaterialName.Name = "dgcMaterialName"; this.dgcMaterialName.ReadOnly = true; - this.dgcMaterialName.Width = 101; + this.dgcMaterialName.Width = 146; // // dgcState // - dataGridViewCellStyle48.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.dgcState.DefaultCellStyle = dataGridViewCellStyle48; + dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.dgcState.DefaultCellStyle = dataGridViewCellStyle18; this.dgcState.HeaderText = "工单状态"; this.dgcState.MinimumWidth = 80; this.dgcState.Name = "dgcState"; this.dgcState.ReadOnly = true; - this.dgcState.Width = 101; + this.dgcState.Width = 146; // // dgcPlanDate // this.dgcPlanDate.DataPropertyName = "PLAN_DATE"; - dataGridViewCellStyle49.Font = new System.Drawing.Font("宋体", 15.75F); - this.dgcPlanDate.DefaultCellStyle = dataGridViewCellStyle49; + dataGridViewCellStyle19.Font = new System.Drawing.Font("宋体", 15.75F); + this.dgcPlanDate.DefaultCellStyle = dataGridViewCellStyle19; this.dgcPlanDate.HeaderText = "计划日期"; this.dgcPlanDate.Name = "dgcPlanDate"; this.dgcPlanDate.ReadOnly = true; - this.dgcPlanDate.Width = 101; + this.dgcPlanDate.Width = 146; // // dgcShift // this.dgcShift.DataPropertyName = "SHIFT_CODE"; - dataGridViewCellStyle50.Font = new System.Drawing.Font("宋体", 15.75F); - this.dgcShift.DefaultCellStyle = dataGridViewCellStyle50; + dataGridViewCellStyle20.Font = new System.Drawing.Font("宋体", 15.75F); + this.dgcShift.DefaultCellStyle = dataGridViewCellStyle20; this.dgcShift.HeaderText = "班次"; this.dgcShift.Name = "dgcShift"; this.dgcShift.ReadOnly = true; - this.dgcShift.Width = 67; + this.dgcShift.Width = 96; // // dataGridViewTextBoxColumn8 // @@ -1205,7 +1245,8 @@ this.tlpPlanCount.Controls.Add(this.label5, 0, 4); this.tlpPlanCount.Controls.Add(this.label4, 0, 2); this.tlpPlanCount.Dock = System.Windows.Forms.DockStyle.Right; - this.tlpPlanCount.Location = new System.Drawing.Point(1525, 0); + this.tlpPlanCount.Location = new System.Drawing.Point(2268, 0); + this.tlpPlanCount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tlpPlanCount.Name = "tlpPlanCount"; this.tlpPlanCount.RowCount = 8; this.tlpPlanCount.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.774436F)); @@ -1216,7 +1257,7 @@ this.tlpPlanCount.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15.03759F)); this.tlpPlanCount.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.774436F)); this.tlpPlanCount.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15.78947F)); - this.tlpPlanCount.Size = new System.Drawing.Size(165, 27); + this.tlpPlanCount.Size = new System.Drawing.Size(248, 62); this.tlpPlanCount.TabIndex = 4; // // lblDayPlanCount @@ -1224,9 +1265,10 @@ this.lblDayPlanCount.AutoSize = true; this.lblDayPlanCount.Dock = System.Windows.Forms.DockStyle.Fill; this.lblDayPlanCount.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblDayPlanCount.Location = new System.Drawing.Point(3, 2); + this.lblDayPlanCount.Location = new System.Drawing.Point(4, 6); + this.lblDayPlanCount.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblDayPlanCount.Name = "lblDayPlanCount"; - this.lblDayPlanCount.Size = new System.Drawing.Size(159, 4); + this.lblDayPlanCount.Size = new System.Drawing.Size(240, 9); this.lblDayPlanCount.TabIndex = 8; this.lblDayPlanCount.Text = "0"; this.lblDayPlanCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1235,9 +1277,10 @@ // this.label11.AutoSize = true; this.label11.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label11.Location = new System.Drawing.Point(3, 0); + this.label11.Location = new System.Drawing.Point(4, 0); + this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(159, 2); + this.label11.Size = new System.Drawing.Size(240, 6); this.label11.TabIndex = 7; this.label11.Text = "当日计划总数量"; // @@ -1246,9 +1289,10 @@ this.lblShiftCompleteCount.AutoSize = true; this.lblShiftCompleteCount.Dock = System.Windows.Forms.DockStyle.Fill; this.lblShiftCompleteCount.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblShiftCompleteCount.Location = new System.Drawing.Point(3, 20); + this.lblShiftCompleteCount.Location = new System.Drawing.Point(4, 51); + this.lblShiftCompleteCount.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblShiftCompleteCount.Name = "lblShiftCompleteCount"; - this.lblShiftCompleteCount.Size = new System.Drawing.Size(159, 7); + this.lblShiftCompleteCount.Size = new System.Drawing.Size(240, 11); this.lblShiftCompleteCount.TabIndex = 6; this.lblShiftCompleteCount.Text = "0"; this.lblShiftCompleteCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1258,9 +1302,10 @@ this.lblShiftPlanCount.AutoSize = true; this.lblShiftPlanCount.Dock = System.Windows.Forms.DockStyle.Fill; this.lblShiftPlanCount.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblShiftPlanCount.Location = new System.Drawing.Point(3, 14); + this.lblShiftPlanCount.Location = new System.Drawing.Point(4, 36); + this.lblShiftPlanCount.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblShiftPlanCount.Name = "lblShiftPlanCount"; - this.lblShiftPlanCount.Size = new System.Drawing.Size(159, 4); + this.lblShiftPlanCount.Size = new System.Drawing.Size(240, 9); this.lblShiftPlanCount.TabIndex = 5; this.lblShiftPlanCount.Text = "0"; this.lblShiftPlanCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1270,9 +1315,10 @@ this.lblPlanCount.AutoSize = true; this.lblPlanCount.Dock = System.Windows.Forms.DockStyle.Fill; this.lblPlanCount.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblPlanCount.Location = new System.Drawing.Point(3, 8); + this.lblPlanCount.Location = new System.Drawing.Point(4, 21); + this.lblPlanCount.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.lblPlanCount.Name = "lblPlanCount"; - this.lblPlanCount.Size = new System.Drawing.Size(159, 4); + this.lblPlanCount.Size = new System.Drawing.Size(240, 9); this.lblPlanCount.TabIndex = 4; this.lblPlanCount.Text = "0"; this.lblPlanCount.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1281,9 +1327,10 @@ // this.label7.AutoSize = true; this.label7.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label7.Location = new System.Drawing.Point(3, 18); + this.label7.Location = new System.Drawing.Point(4, 45); + this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(159, 2); + this.label7.Size = new System.Drawing.Size(240, 6); this.label7.TabIndex = 2; this.label7.Text = "本班次已完成数量"; // @@ -1291,9 +1338,10 @@ // this.label5.AutoSize = true; this.label5.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label5.Location = new System.Drawing.Point(3, 12); + this.label5.Location = new System.Drawing.Point(4, 30); + this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(159, 2); + this.label5.Size = new System.Drawing.Size(240, 6); this.label5.TabIndex = 1; this.label5.Text = "本班次待完成数量"; // @@ -1301,9 +1349,10 @@ // this.label4.AutoSize = true; this.label4.Dock = System.Windows.Forms.DockStyle.Bottom; - this.label4.Location = new System.Drawing.Point(3, 6); + this.label4.Location = new System.Drawing.Point(4, 15); + this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(159, 2); + this.label4.Size = new System.Drawing.Size(240, 6); this.label4.TabIndex = 0; this.label4.Text = "待完成计划数量"; // @@ -1311,8 +1360,9 @@ // this.tpRecord.Controls.Add(this.DGViewProList); this.tpRecord.Location = new System.Drawing.Point(4, 36); + this.tpRecord.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.tpRecord.Name = "tpRecord"; - this.tpRecord.Size = new System.Drawing.Size(1690, 27); + this.tpRecord.Size = new System.Drawing.Size(2539, 60); this.tpRecord.TabIndex = 1; this.tpRecord.Text = "加工记录"; this.tpRecord.UseVisualStyleBackColor = true; @@ -1323,14 +1373,14 @@ this.DGViewProList.AllowUserToDeleteRows = false; this.DGViewProList.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; this.DGViewProList.BackgroundColor = System.Drawing.SystemColors.ButtonFace; - dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle53.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle53.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle53.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle53.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle53.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle53.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.DGViewProList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle53; + dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle23.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle23.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.DGViewProList.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23; this.DGViewProList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.DGViewProList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.PRODUCTCODE, @@ -1345,19 +1395,20 @@ this.OPERATESTATE}); this.DGViewProList.Dock = System.Windows.Forms.DockStyle.Fill; this.DGViewProList.Location = new System.Drawing.Point(0, 0); + this.DGViewProList.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.DGViewProList.Name = "DGViewProList"; this.DGViewProList.ReadOnly = true; - dataGridViewCellStyle60.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle60.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle60.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle60.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle60.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle60.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle60.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.DGViewProList.RowHeadersDefaultCellStyle = dataGridViewCellStyle60; + dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle30.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle30.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle30.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle30.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle30.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.DGViewProList.RowHeadersDefaultCellStyle = dataGridViewCellStyle30; this.DGViewProList.RowTemplate.Height = 23; this.DGViewProList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.DGViewProList.Size = new System.Drawing.Size(1690, 27); + this.DGViewProList.Size = new System.Drawing.Size(2539, 60); this.DGViewProList.TabIndex = 5; this.DGViewProList.RowPrePaint += new System.Windows.Forms.DataGridViewRowPrePaintEventHandler(this.DGViewProList_RowPrePaint); // @@ -1365,8 +1416,8 @@ // this.PRODUCTCODE.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.PRODUCTCODE.DataPropertyName = "PRODUCTCODE"; - dataGridViewCellStyle54.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.PRODUCTCODE.DefaultCellStyle = dataGridViewCellStyle54; + dataGridViewCellStyle24.Font = new System.Drawing.Font("宋体", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.PRODUCTCODE.DefaultCellStyle = dataGridViewCellStyle24; this.PRODUCTCODE.FillWeight = 29.82234F; this.PRODUCTCODE.HeaderText = "条码"; this.PRODUCTCODE.Name = "PRODUCTCODE"; @@ -1377,8 +1428,8 @@ // this.PRODUCTCODESTR.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.PRODUCTCODESTR.DataPropertyName = "PRODUCTCODESTR"; - dataGridViewCellStyle55.Font = new System.Drawing.Font("宋体", 15.75F); - this.PRODUCTCODESTR.DefaultCellStyle = dataGridViewCellStyle55; + dataGridViewCellStyle25.Font = new System.Drawing.Font("宋体", 15.75F); + this.PRODUCTCODESTR.DefaultCellStyle = dataGridViewCellStyle25; this.PRODUCTCODESTR.HeaderText = "骨架条码"; this.PRODUCTCODESTR.Name = "PRODUCTCODESTR"; this.PRODUCTCODESTR.ReadOnly = true; @@ -1389,8 +1440,8 @@ // this.MOLDNUMBER.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.MOLDNUMBER.DataPropertyName = "MOLDNUMBER"; - dataGridViewCellStyle56.Font = new System.Drawing.Font("宋体", 15.75F); - this.MOLDNUMBER.DefaultCellStyle = dataGridViewCellStyle56; + dataGridViewCellStyle26.Font = new System.Drawing.Font("宋体", 15.75F); + this.MOLDNUMBER.DefaultCellStyle = dataGridViewCellStyle26; this.MOLDNUMBER.FillWeight = 380.7106F; this.MOLDNUMBER.HeaderText = "模架号"; this.MOLDNUMBER.Name = "MOLDNUMBER"; @@ -1401,8 +1452,8 @@ // this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.dataGridViewTextBoxColumn2.DataPropertyName = "OPERATESTATETEXT"; - dataGridViewCellStyle57.Font = new System.Drawing.Font("宋体", 15.75F); - this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle57; + dataGridViewCellStyle27.Font = new System.Drawing.Font("宋体", 15.75F); + this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle27; this.dataGridViewTextBoxColumn2.FillWeight = 29.82234F; this.dataGridViewTextBoxColumn2.HeaderText = "加工状态"; this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; @@ -1413,8 +1464,8 @@ // this.Column5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.Column5.DataPropertyName = "CREATEDATE"; - dataGridViewCellStyle58.Font = new System.Drawing.Font("宋体", 15.75F); - this.Column5.DefaultCellStyle = dataGridViewCellStyle58; + dataGridViewCellStyle28.Font = new System.Drawing.Font("宋体", 15.75F); + this.Column5.DefaultCellStyle = dataGridViewCellStyle28; this.Column5.FillWeight = 29.82234F; this.Column5.HeaderText = "加工时间"; this.Column5.Name = "Column5"; @@ -1425,8 +1476,8 @@ // this.OPERATEDDATE.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.OPERATEDDATE.DataPropertyName = "OPERATEDDATE"; - dataGridViewCellStyle59.Font = new System.Drawing.Font("宋体", 15.75F); - this.OPERATEDDATE.DefaultCellStyle = dataGridViewCellStyle59; + dataGridViewCellStyle29.Font = new System.Drawing.Font("宋体", 15.75F); + this.OPERATEDDATE.DefaultCellStyle = dataGridViewCellStyle29; this.OPERATEDDATE.FillWeight = 29.82234F; this.OPERATEDDATE.HeaderText = "加工完成时间"; this.OPERATEDDATE.Name = "OPERATEDDATE"; @@ -1471,16 +1522,27 @@ this.timer1.Interval = 1000; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // + // txtGlue + // + this.txtGlue.AutoSize = true; + this.txtGlue.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.txtGlue.Location = new System.Drawing.Point(1862, 36); + this.txtGlue.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.txtGlue.Name = "txtGlue"; + this.txtGlue.Size = new System.Drawing.Size(0, 30); + this.txtGlue.TabIndex = 14; + // // OperationForm // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1698, 450); + this.ClientSize = new System.Drawing.Size(2524, 675); this.Controls.Add(this.panel4); this.Controls.Add(this.toolStrip1); this.Controls.Add(this.plDAI); this.Controls.Add(this.panelSearch); this.Controls.Add(this.panel2); + this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.Name = "OperationForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "加工操作"; @@ -1617,5 +1679,6 @@ private System.Windows.Forms.TextBox tBMat; private System.Windows.Forms.ToolStripButton btnSignInfo; private System.Windows.Forms.ToolStripButton toolStripButton3; + private System.Windows.Forms.Label txtGlue; } } \ No newline at end of file diff --git a/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs b/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs index cf8e8c5..e7925f4 100644 --- a/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs +++ b/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.cs @@ -29,6 +29,7 @@ using QMAPP.FJC.Entity.ProductionPlan; using gregn6Lib; using System.Data; using QMAPP.FJC.Entity.BZD; +using QMAPP.FJC.Entity.MD; namespace QMAPP.WinForm.Forms.Operation { @@ -109,6 +110,9 @@ namespace QMAPP.WinForm.Forms.Operation private string _DeleteProductLoc = string.Empty; //撤销按钮删除产品信息触发工位 private string _DeleteProductDaiCode = string.Empty; //撤销按钮删除产品信息触发采集点 + private string[] _scanGlueLocs = null;// 扫描混胶时间工位列表 --喷胶工位. + private string _glueTime = null;// 混胶时间 --喷胶工位. + /// /// /// @@ -142,6 +146,10 @@ namespace QMAPP.WinForm.Forms.Operation _DeleteProductLoc = GetAppConfigValue("DeleteProductLoc"); _DeleteProductDaiCode = GetAppConfigValue("DeleteProductDaiCode"); + string scanGlues = System.Configuration.ConfigurationManager.AppSettings["喷胶验证混胶时间工位"]?.Trim(); + _scanGlueLocs = scanGlues?.Split(';') ?? new string[] { }; + _glueTime = GetAppConfigValue("Gluetime"); + this.WindowState = FormWindowState.Maximized; //this.CheckFile(); okSoundPath = System.Configuration.ConfigurationManager.AppSettings["SaveFilePath"] + "Sound\\" + PlaySoundConst.strSoundOk; @@ -675,6 +683,61 @@ namespace QMAPP.WinForm.Forms.Operation #endregion + #region DQZhang 喷胶工位验证混胶时间 20220309 + + //喷胶验证混胶时间工位 + if (_scanGlueLocs.Length > 0 && _scanGlueLocs.Contains(_operationServiceParam.machineInfo.WORKLOC_CODE)) + { + //验证是否经过手动喷胶工位扫码. + if (System.Text.RegularExpressions.Regex.IsMatch(productCode, "^>CMD:GLUETIME")) + { + if (MessageBox.Show($"确认胶水时间切换到{System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}时间?", "提示", MessageBoxButtons.OKCancel) == DialogResult.Cancel) + { + return; + } + + //DateTime gluetime = System.DateTime.Now; + //txtCfg.Text = "胶水时间:" + gluetime; + + txtGlue.Text = System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); + + UpdateAppConfigValue("Gluetime", System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")); + + txtGlue.Visible = true; + //txtGlue0.Visible = true; + txtCode.Text = ""; + txtCode.Focus(); + return; + } + + + if (txtGlue.Text.Length < 1) + { + this.lblError.Text = "无混胶记录!"; + this.lblError.ForeColor = Color.Red; + txtCode.SelectAll(); + txtCode.Focus(); + return; + } + else + { + //验证混胶时间 + DateTime PlacingDateTime = Convert.ToDateTime(txtGlue.Text); + string PlacingTime = System.Configuration.ConfigurationManager.AppSettings["混胶时间"]; + var timespan = (DateTime.Now - Convert.ToDateTime(PlacingDateTime)).TotalHours; + if (!string.IsNullOrEmpty(PlacingTime) && timespan > int.Parse(PlacingTime)) + { + this.lblError.Text = "混胶使用时间大于 < " + PlacingTime + "> 小时"; + this.lblError.ForeColor = Color.Red; + txtCode.SelectAll(); + txtCode.Focus(); + return; + } + } + //return; + } + #endregion + #region 条码格式解析 var dai = LocateDAI(productCode); @@ -702,9 +765,12 @@ namespace QMAPP.WinForm.Forms.Operation this.lblError.BackColor = SystemColors.InactiveBorder; #endregion + + object davalue = productCode; //if(string.IsNullOrEmpty(_cfgAutoProduct)) // _cfgAutoProduct = productCode; + //采集点输入 var result = _agent.InvokeServiceFunction(B9IPCService.DAI_Input.ToString() , new DAArgs @@ -720,6 +786,7 @@ namespace QMAPP.WinForm.Forms.Operation MouldCode = string.Equals(dai.DIVBY_MOULD, "0") ? _operationServiceParam.machineInfo.WORKCELL_CODE : (string.IsNullOrWhiteSpace(lblMould.Text) ? _operationServiceParam.machineInfo.WORKCELL_CODE : lblMould.Text), AttachData = AttachInfo }); + var daiview = daicache.FirstOrDefault(p => p.DACode == dai.DA_CODE && (string.IsNullOrWhiteSpace(p.MouldCode) || p.MouldCode == (result.PreInput ? "PRE-" + result.MouldCode : result.MouldCode))); if (result.PreInput) { @@ -1281,6 +1348,12 @@ namespace QMAPP.WinForm.Forms.Operation PrintProcessLabel(result.ProcessCode); break; } + case "PRINT_BFPROCESS": //状态变化动作为 打印过程码(包覆分总成打印) + { + //TODO:清空界面数据 复位启动信号 + PrintBFProcessLabel(result.ProcessCode); + break; + } case "PRINT_PLAN": //状态变化动作为 打印计划标签 { //TODO:清空界面数据 复位启动信号 @@ -2086,7 +2159,119 @@ namespace QMAPP.WinForm.Forms.Operation #endregion } - #endregion + #endregion + + #region 包覆分总成打印 + private void PrintBFProcessLabel(string processcode) + { + string selectKey = processcode; + List list_product = _agent.InvokeServiceFunction>(B9IPCService.ProductBLL_GetListpro.ToString(), new Product() { PRODUCTCODE = selectKey }); + if (list_product.Count == 0) + { + MessageBox.Show("获取产品信息异常!"); + return; + } + var product = new Product(); + foreach (var item in list_product) + { + if (item.MACHINECODDE == _operationServiceParam.machineInfo.MACHINECODDE) + { + product = item; + } + } + Material materialInfo = new Material(); + materialInfo.MATERIAL_CODE = product.MATERIAL_CODE; + materialInfo.MATERIAL_NAME = product.MATERIAL_NAME; + DataResult> resultList = _agent.InvokeServiceFunction>>("MainOperationBLL_GetPrintCodeForMP4", materialInfo); + + try + { + Print(resultList.Result, true); + } + catch (Exception e) + { + var ss = e.Message; + } + + } + + private void Print(List codeList, bool IsManual) + { + List labels = new List(); + //打印条码 + + string typeTem = ""; + string typeData = ""; + foreach (FJC.Entity.Operation.PrintCode item in codeList) + { + + + //班次信息 + string shiftCode = ClientContext.produceShift.PRODUCESHIFTTCODE; + item.ShiftCode = shiftCode; + + typeTem = item.PRINT_TEMPALTE_TEM; + typeData = item.PRINT_TEMPALTE_DATA; + PrintTemplate.InjectLabel label = new PrintTemplate.InjectLabel + { + CreateDate = DateTime.Now, + //MachineCode = comMachine.SelectedValue + "", + MaterialCode = item.PRODUCTCODE, + MaterialName = item.MATERIAL_NAME, + ModelCode = cbMould.SelectedValue + "", + SerialNumber = item.MAINCODE, + ShiftCode = shiftCode, + IsManualPrint = IsManual + }; + labels.Add(label); + } + string path = System.Configuration.ConfigurationManager.AppSettings["Template_Local_Path"]; + if (!System.IO.Directory.Exists(path)) + { + System.IO.Directory.CreateDirectory(path); + } + FastReport.Report fr = new FastReport.Report(); + fr.RegisterData(labels, "Labels"); + if (!System.IO.File.Exists(string.Format("{0}\\{1}.frx", path, typeTem))) + { + if (System.IO.File.Exists(string.Format("PrintTemplate\\{1}.frx", path, typeTem))) + { + System.IO.File.Copy(string.Format("PrintTemplate\\{1}.frx", path, typeTem) + , string.Format("{0}\\{1}.frx", path, typeTem)); + } + else + { + fr.FileName = string.Format("{0}\\{1}.frx", path, typeTem); + fr.Design(true); + fr.Save(string.Format("{0}\\{1}.frx", path, typeTem)); + } + } + fr.Load(string.Format("{0}\\{1}.frx", path, typeTem)); + + + try + { + fr.PrintSettings.ShowDialog = false; + fr.Print(); + } + catch (Exception e) + { + var ss = e.Message; + } + + try + { + fr.Dispose(); + } + catch (Exception e) + { + var ss = e.Message; + } + + } + + + #endregion #region 计划标签打印 /// @@ -3626,6 +3811,16 @@ namespace QMAPP.WinForm.Forms.Operation else return null; } + /// + /// 更新配置表 + /// + /// + public int UpdateAppConfigValue(string pConfigCode, string pConfigValue) + { + var result = _agent.InvokeServiceFunction>(B9IPCService.AppConfigBLL_UpdateAppConfig.ToString(), pConfigCode, pConfigValue); + + return result.Result; + } /// /// 查找PbomItem diff --git a/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.resx b/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.resx index e52e3a1..d5e1ac0 100644 --- a/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.resx +++ b/APPQ5/QMAPP.WinForm/Forms/Operation/OperationForm.resx @@ -154,7 +154,7 @@ iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAA0DSURBVGhDzZlZbFx3FcZDSouKkNgEQiCEWISoWglRChUC + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAA0DSURBVGhDzZlZbFx3FcZDSouKkNgEQiCEWISoWglRChUC CSE2CQkhsai8oIIEZZEQ8IDEAyAQD6gPtBXQIhUQhcaJtxl7vNvxeGyP19iO9y2O7dhxYsdrnMRL7Ln3 8Pvu3L97PbbbNE0pV/ryn9yZe+/3nfOd8z83OXanD9/MAvDHPoTnw5/9/xy3S+w1F3TYw7czZivbvs1c 8+3cVbDm2zjQOr3u2+Kmb5u7B6/7nwqJPkyfr960gGz7gmc1Fz2rnPGs/IJnCWHas9IpMMlnUM7nKtDM @@ -216,7 +216,7 @@ iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAA27SURBVGhDxZlZbB13FcbdpC0gBAIJiUUgxBu0gUKhiBek + YQUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAA27SURBVGhDxZlZbB13FcbdpC0gBAIJiUUgxBu0gUKhiBek PgClEn2DFx5AoKoV8MATEggkUIXEU0FVmxbRNkFtFu/7bsd27MSOd1/v+27H8RbHTmzn3jvz8Ttz5387 vnGWQlL+4uvcO547833nfOf8z4Ss+7V8SYbw621XcB3/uZdrH/g6jISR20tK1+MHsZeQPP4WXpZe/xch mQ/dhuDMtq+eNV+tK57qFz1VzaVQOcsR1PH5wpKn7hVfU1d9Xds/mIUPRIg9xD3opifN7UD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i86p4FLkS0PUmYPMnUR0QqAMvfBFs + IgI7xAQWPUBdNoOU30V1fncTxTkpvt/hnjpcGYsruKmoeKeKBkgVEciv5hsKatgvP5nysiUXiconXPcG + EX2NZoFsdNbvGs1U5M5WNrjR2TcAY0UtjuTqquSl8WcUZt4hs3h4MS9EIvlVAoqbeei6eJj9POwBnpTc + wk60jkLuFmUEJ0hExcWvC7Nrp2LK6tlRBTcxLVaafCd1/aqZ8TyncDS3kt0gqXVhEJVn3J0rE65lfsRE + 5XOprT6PuOO2uYojz9AQtXdOqbFAyzmh1FvfFD+Ta2TfzjGxP+dYkh1KKyecJpLHEZlKCoEaAYUNSeTW + z6VEWTdLym9jeWRheZUvKUp+lUhcnHonpskARiKx8qSJfSml1IXidNiklBctP6Mg5V8AnHdT774d8ezb + 5rgPng7tyDwxe1htGlLquVukjy4RXZxrYTdkm9mGHItgyzHND8ms5BUiIoo4S+USoZSUE7nTQqN6XsXY + bF5FsltZKeQoq9hjxZa/4d+tH4bNXRQ268nyhSnLn1YeubfCY7uZn2u678TB/Ox39qn0b+bnL/52WsRR + B7uUPHIHeWKt0irsU1oEvdJKTdCS7FGaEwGFlW/LtfPVSpuQm1subM2tYE/m29j3zrlZXQgobJ5OuO4b + WLB8Din/3CLlhZZfnGQDD37zEO2lKpXqgv7pRp65ONvAvkKh9A0Vh39SmtlVFBpX5hvZ18QQ+UTJ+dcw + 57ozjuirZPkCKWyWnVHeJ786Cdc9J5j/vjPL9WcOiL9Nls+WlL/rLMunlO/7xT9Kj342gVkxYdeeZfmP + ho302GcXGFj9oeXzbkVIc2dCcN0j/0yHzUeRStgiUl55K2C9A6S8+v+N8kuWLPkfBS3VmmzOrPUAAAAA + SUVORK5CYII= @@ -599,15 +599,6 @@ True - - True - - - True - - - True - True diff --git a/APPQ5/QMAPP.WinForm/Forms/Operation/PrintPlanLabel.cs b/APPQ5/QMAPP.WinForm/Forms/Operation/PrintPlanLabel.cs index 997f407..44f3257 100644 --- a/APPQ5/QMAPP.WinForm/Forms/Operation/PrintPlanLabel.cs +++ b/APPQ5/QMAPP.WinForm/Forms/Operation/PrintPlanLabel.cs @@ -427,8 +427,12 @@ namespace QMAPP.WinForm.Forms.Operation } tsbPrint.Enabled = false; var order1 = (FJC.Entity.ProductionPlan.WorkOrder)dgvPlan.Rows[0].DataBoundItem; - var order2 = (FJC.Entity.ProductionPlan.WorkOrder)dgvPlan.Rows[1].DataBoundItem; - + var order2 = new FJC.Entity.ProductionPlan.WorkOrder(); + if (dgvPlan.Rows.Count > 1) + { + order2 = (FJC.Entity.ProductionPlan.WorkOrder)dgvPlan.Rows[1].DataBoundItem; + } + var orders = new List(); orders.Add(order1); if (string.Equals(order1.SEQ, order2.SEQ)) diff --git a/APPQ5/QMAPP.WinForm/MainForm.Designer.cs b/APPQ5/QMAPP.WinForm/MainForm.Designer.cs index c9b594c..04c87e5 100644 --- a/APPQ5/QMAPP.WinForm/MainForm.Designer.cs +++ b/APPQ5/QMAPP.WinForm/MainForm.Designer.cs @@ -36,6 +36,7 @@ this.btnInjectPut = new System.Windows.Forms.ToolStripMenuItem(); this.btnInjectPutNEW = new System.Windows.Forms.ToolStripMenuItem(); this.btnInjectPrintForm = new System.Windows.Forms.ToolStripMenuItem(); + this.btnSewingPrint = new System.Windows.Forms.ToolStripMenuItem(); this.搪塑下线ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.btnvVWSinglePrint = new System.Windows.Forms.ToolStripMenuItem(); this.btnvVWSinglePrintNew = new System.Windows.Forms.ToolStripMenuItem(); @@ -108,7 +109,8 @@ this.btnInjectPrint, this.btnInjectPut, this.btnInjectPutNEW, - this.btnInjectPrintForm}); + this.btnInjectPrintForm, + this.btnSewingPrint}); this.btnInjectGroup.Name = "btnInjectGroup"; this.btnInjectGroup.Size = new System.Drawing.Size(94, 28); this.btnInjectGroup.Text = "注塑下线"; @@ -141,6 +143,13 @@ this.btnInjectPrintForm.Text = "注塑条码补打"; this.btnInjectPrintForm.Click += new System.EventHandler(this.btnInjectPrintForm_Click); // + // btnInjectPrintForm + // + this.btnSewingPrint.Name = "btnSewingPrint"; + this.btnSewingPrint.Size = new System.Drawing.Size(188, 28); + this.btnSewingPrint.Text = "缝纫条码打印"; + this.btnSewingPrint.Click += new System.EventHandler(this.btnSewingPrint_Click); + // // 搪塑下线ToolStripMenuItem // this.搪塑下线ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -496,6 +505,7 @@ private System.Windows.Forms.ToolStripMenuItem btnInjectPut; private System.Windows.Forms.ToolStripMenuItem btnInjectPutNEW; private System.Windows.Forms.ToolStripMenuItem btnInjectPrintForm; + private System.Windows.Forms.ToolStripMenuItem btnSewingPrint; private System.Windows.Forms.ToolStripMenuItem btnOperateGroup; private System.Windows.Forms.ToolStripMenuItem btnOperateStation; private System.Windows.Forms.ToolStripMenuItem btnMendGroup; diff --git a/APPQ5/QMAPP.WinForm/MainForm.cs b/APPQ5/QMAPP.WinForm/MainForm.cs index 8458ccf..fb744d7 100644 --- a/APPQ5/QMAPP.WinForm/MainForm.cs +++ b/APPQ5/QMAPP.WinForm/MainForm.cs @@ -188,6 +188,26 @@ namespace QMAPP.WinForm } } + private void btnSewingPrint_Click(object sender, EventArgs e) + { + Form f = Application.OpenForms["SewingPrint"]; //查找是否打开过Form1窗体 + if (f == null) //没打开过 + { + SewingPrint form = new SewingPrint(); + ClientContext.SetUserAuth(form); + new KeyEvent().SetKeyToTxt(form); + form.MdiParent = this; + form.Show(); //重新new一个Show出来 + } + else + { + f.WindowState = FormWindowState.Normal; + f.Focus(); //打开过就让其获得焦点 + } + } + + + private void btnInjectionCheck_Click(object sender, EventArgs e) { Form f = Application.OpenForms["InjectionCheckListForm"]; //查找是否打开过Form1窗体 diff --git a/APPQ5/QMAPP.WinForm/QMAPP.WinForm.csproj b/APPQ5/QMAPP.WinForm/QMAPP.WinForm.csproj index cab31b0..e370571 100644 --- a/APPQ5/QMAPP.WinForm/QMAPP.WinForm.csproj +++ b/APPQ5/QMAPP.WinForm/QMAPP.WinForm.csproj @@ -301,6 +301,12 @@ HintMassageForm.cs + + Form + + + SewingPrint.cs + Form @@ -1104,6 +1110,9 @@ HintMassageForm.cs + + SewingPrint.cs + UpdatePasswordForm.cs diff --git a/AppCommon/QMAPP.ServicesAgent/ServiceEnums.cs b/AppCommon/QMAPP.ServicesAgent/ServiceEnums.cs index dc678d9..1466ddd 100644 --- a/AppCommon/QMAPP.ServicesAgent/ServiceEnums.cs +++ b/AppCommon/QMAPP.ServicesAgent/ServiceEnums.cs @@ -4309,6 +4309,12 @@ namespace QMAPP.ServicesAgent [Description("查询配置信息")] AppConfigBLL_Get, + /// + /// 更新配置 + /// + [Description("更新配置")] + AppConfigBLL_UpdateAppConfig, + /// /// 查询配置 /// @@ -4757,6 +4763,18 @@ namespace QMAPP.ServicesAgent /// ProductBLL_Get, + /// + /// 获取信息PID PRODUCTCODE + /// public Product Get(Product model) + /// + ProductBLL_GetList, + + /// + /// 获取信息PID PRODUCTCODE + /// public Product Get(Product model) + /// + ProductBLL_GetListpro, + /// /// 插入产品信息 /// diff --git a/ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config b/ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config index 0482c95..4bfe422 100644 --- a/ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config +++ b/ServicesCenter/WCF/QMFrameWork.WebServiceHost/Web.config @@ -67,11 +67,16 @@ - + --> + + + + + @@ -79,10 +84,10 @@ - +