From b62971d2d58e39b7c938029116bc063eaf46b728 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期一, 30 六月 2025 17:41:10 +0800 Subject: [PATCH] bug --- DevApp/Gs.DevApp/DevFrm/Work/Frm_Work09.Designer.cs | 224 ++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 138 insertions(+), 86 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work09.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work09.Designer.cs index bb6a7f6..1d445ba 100644 --- a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work09.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work09.Designer.cs @@ -34,7 +34,6 @@ DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); - DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition(); this.split1 = new DevExpress.XtraEditors.SplitContainerControl(); this.layoutMx1 = new DevExpress.XtraDataLayout.DataLayoutControl(); this.comLine = new Gs.DevApp.UserControl.UcLookWorkline(); @@ -45,15 +44,17 @@ this.comSjw = new DevExpress.XtraEditors.ComboBoxEdit(); this.comStopBits = new DevExpress.XtraEditors.ComboBoxEdit(); this.comParity = new DevExpress.XtraEditors.ComboBoxEdit(); + this.txtMsg = new DevExpress.XtraEditors.MemoEdit(); + this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.cmbBaudRate1111 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.gcMx1 = new DevExpress.XtraGrid.GridControl(); this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -62,7 +63,6 @@ this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -83,15 +83,17 @@ ((System.ComponentModel.ISupportInitialize)(this.comSjw.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comStopBits.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comParity.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtMsg.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbBaudRate1111)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); this.SuspendLayout(); @@ -112,8 +114,9 @@ // this.split1.Panel2.Controls.Add(this.gcMx1); this.split1.Panel2.Text = "Panel2"; + this.split1.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True; this.split1.Size = new System.Drawing.Size(1040, 511); - this.split1.SplitterPosition = 138; + this.split1.SplitterPosition = 110; this.split1.TabIndex = 1; // // layoutMx1 @@ -126,12 +129,15 @@ this.layoutMx1.Controls.Add(this.comSjw); this.layoutMx1.Controls.Add(this.comStopBits); this.layoutMx1.Controls.Add(this.comParity); + this.layoutMx1.Controls.Add(this.txtMsg); this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem5}); this.layoutMx1.Location = new System.Drawing.Point(0, 0); this.layoutMx1.Name = "layoutMx1"; this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(310, 455, 812, 500); this.layoutMx1.Root = this.Root; - this.layoutMx1.Size = new System.Drawing.Size(1040, 138); + this.layoutMx1.Size = new System.Drawing.Size(1040, 110); this.layoutMx1.TabIndex = 0; this.layoutMx1.Text = "dataLayoutControl1"; // @@ -148,7 +154,7 @@ this.btnStart.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Question; this.btnStart.Appearance.Options.UseBackColor = true; this.btnStart.Appearance.Options.UseFont = true; - this.btnStart.Location = new System.Drawing.Point(262, 105); + this.btnStart.Location = new System.Drawing.Point(512, 12); this.btnStart.Name = "btnStart"; this.btnStart.Size = new System.Drawing.Size(246, 27); this.btnStart.StyleController = this.layoutMx1; @@ -158,11 +164,12 @@ // // cmbSerialPortNum // - this.cmbSerialPortNum.Location = new System.Drawing.Point(94, 43); + this.cmbSerialPortNum.Location = new System.Drawing.Point(344, 12); this.cmbSerialPortNum.Name = "cmbSerialPortNum"; this.cmbSerialPortNum.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cmbSerialPortNum.Properties.NullText = "-璇烽�夋嫨-"; + this.cmbSerialPortNum.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.cmbSerialPortNum.Size = new System.Drawing.Size(164, 24); this.cmbSerialPortNum.StyleController = this.layoutMx1; this.cmbSerialPortNum.TabIndex = 4; @@ -181,6 +188,7 @@ "2400", "1200"}); this.cmbBaudRate.Properties.NullText = "-璇烽�夋嫨-"; + this.cmbBaudRate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.cmbBaudRate.Size = new System.Drawing.Size(164, 24); this.cmbBaudRate.StyleController = this.layoutMx1; this.cmbBaudRate.TabIndex = 5; @@ -198,7 +206,8 @@ // // comSjw // - this.comSjw.Location = new System.Drawing.Point(94, 74); + this.comSjw.EditValue = "8"; + this.comSjw.Location = new System.Drawing.Point(94, 43); this.comSjw.Name = "comSjw"; this.comSjw.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); @@ -208,12 +217,14 @@ "7", "8"}); this.comSjw.Properties.NullText = "-璇烽�夋嫨-"; + this.comSjw.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.comSjw.Size = new System.Drawing.Size(164, 24); this.comSjw.StyleController = this.layoutMx1; this.comSjw.TabIndex = 11; // // comStopBits // + this.comStopBits.EditValue = "1"; this.comStopBits.Location = new System.Drawing.Point(344, 74); this.comStopBits.Name = "comStopBits"; this.comStopBits.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { @@ -222,6 +233,7 @@ "1", "2"}); this.comStopBits.Properties.NullText = "-璇烽�夋嫨-"; + this.comStopBits.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.comStopBits.Size = new System.Drawing.Size(164, 24); this.comStopBits.StyleController = this.layoutMx1; this.comStopBits.TabIndex = 12; @@ -229,7 +241,7 @@ // comParity // this.comParity.EditValue = "None"; - this.comParity.Location = new System.Drawing.Point(94, 105); + this.comParity.Location = new System.Drawing.Point(94, 74); this.comParity.Name = "comParity"; this.comParity.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); @@ -238,23 +250,44 @@ "Odd", "Even"}); this.comParity.Properties.NullText = "-璇烽�夋嫨-"; + this.comParity.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.comParity.Size = new System.Drawing.Size(164, 24); this.comParity.StyleController = this.layoutMx1; this.comParity.TabIndex = 13; + // + // txtMsg + // + this.txtMsg.Location = new System.Drawing.Point(344, 74); + this.txtMsg.Name = "txtMsg"; + this.txtMsg.Size = new System.Drawing.Size(663, 27); + this.txtMsg.StyleController = this.layoutMx1; + this.txtMsg.TabIndex = 15; + // + // layoutControlItem5 + // + this.layoutControlItem5.Control = this.txtMsg; + this.layoutControlItem5.Location = new System.Drawing.Point(250, 62); + this.layoutControlItem5.Name = "layoutControlItem5"; + this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem5.OptionsTableLayoutItem.ColumnSpan = 2; + this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 2; + this.layoutControlItem5.Size = new System.Drawing.Size(749, 31); + this.layoutControlItem5.Text = "鏀跺垪琛�"; + this.layoutControlItem5.TextSize = new System.Drawing.Size(70, 18); // // Root // this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.Root.GroupBordersVisible = false; this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem1, this.cmbBaudRate1111, + this.layoutControlItem3, + this.layoutControlItem1, this.layoutControlItem7, - this.layoutControlItem8, this.layoutControlItem9, this.layoutControlItem4, this.layoutControlItem2, - this.layoutControlItem3}); + this.layoutControlItem8}); this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; this.Root.Name = "Root"; columnDefinition1.SizeType = System.Windows.Forms.SizeType.Absolute; @@ -273,25 +306,12 @@ rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; rowDefinition3.Height = 100D; rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; - rowDefinition4.Height = 100D; - rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { rowDefinition1, rowDefinition2, - rowDefinition3, - rowDefinition4}); - this.Root.Size = new System.Drawing.Size(1019, 144); + rowDefinition3}); + this.Root.Size = new System.Drawing.Size(1019, 113); this.Root.TextVisible = false; - // - // layoutControlItem1 - // - this.layoutControlItem1.Control = this.cmbSerialPortNum; - this.layoutControlItem1.Location = new System.Drawing.Point(0, 31); - this.layoutControlItem1.Name = "layoutControlItem1"; - this.layoutControlItem1.OptionsTableLayoutItem.RowIndex = 1; - this.layoutControlItem1.Size = new System.Drawing.Size(250, 31); - this.layoutControlItem1.Text = "涓插彛鍙�"; - this.layoutControlItem1.TextSize = new System.Drawing.Size(70, 18); // // cmbBaudRate1111 // @@ -304,34 +324,42 @@ this.cmbBaudRate1111.Text = "娉㈢壒鐜�"; this.cmbBaudRate1111.TextSize = new System.Drawing.Size(70, 18); // + // layoutControlItem3 + // + this.layoutControlItem3.Control = this.comLine; + this.layoutControlItem3.Location = new System.Drawing.Point(0, 0); + this.layoutControlItem3.Name = "layoutControlItem3"; + this.layoutControlItem3.Size = new System.Drawing.Size(250, 31); + this.layoutControlItem3.Text = "閫夌嚎浣�"; + this.layoutControlItem3.TextSize = new System.Drawing.Size(70, 18); + // + // layoutControlItem1 + // + this.layoutControlItem1.Control = this.cmbSerialPortNum; + this.layoutControlItem1.Location = new System.Drawing.Point(250, 0); + this.layoutControlItem1.Name = "layoutControlItem1"; + this.layoutControlItem1.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem1.Size = new System.Drawing.Size(250, 31); + this.layoutControlItem1.Text = "涓插彛鍙�"; + this.layoutControlItem1.TextSize = new System.Drawing.Size(70, 18); + // // layoutControlItem7 // this.layoutControlItem7.Control = this.comSjw; - this.layoutControlItem7.Location = new System.Drawing.Point(0, 62); + this.layoutControlItem7.Location = new System.Drawing.Point(0, 31); this.layoutControlItem7.Name = "layoutControlItem7"; - this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 2; + this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 1; this.layoutControlItem7.Size = new System.Drawing.Size(250, 31); this.layoutControlItem7.Text = "鏁版嵁浣�"; this.layoutControlItem7.TextSize = new System.Drawing.Size(70, 18); - // - // layoutControlItem8 - // - this.layoutControlItem8.Control = this.comStopBits; - this.layoutControlItem8.Location = new System.Drawing.Point(250, 62); - this.layoutControlItem8.Name = "layoutControlItem8"; - this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 1; - this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 2; - this.layoutControlItem8.Size = new System.Drawing.Size(250, 31); - this.layoutControlItem8.Text = "鍋滄浣�"; - this.layoutControlItem8.TextSize = new System.Drawing.Size(70, 18); // // layoutControlItem9 // this.layoutControlItem9.Control = this.comParity; this.layoutControlItem9.CustomizationFormText = "鏍¢獙浣�"; - this.layoutControlItem9.Location = new System.Drawing.Point(0, 93); + this.layoutControlItem9.Location = new System.Drawing.Point(0, 62); this.layoutControlItem9.Name = "layoutControlItem9"; - this.layoutControlItem9.OptionsTableLayoutItem.RowIndex = 3; + this.layoutControlItem9.OptionsTableLayoutItem.RowIndex = 2; this.layoutControlItem9.Size = new System.Drawing.Size(250, 31); this.layoutControlItem9.Text = "鏍¢獙浣�"; this.layoutControlItem9.TextSize = new System.Drawing.Size(70, 18); @@ -354,22 +382,27 @@ // layoutControlItem2 // this.layoutControlItem2.Control = this.btnStart; - this.layoutControlItem2.Location = new System.Drawing.Point(250, 93); + this.layoutControlItem2.Location = new System.Drawing.Point(500, 0); + this.layoutControlItem2.MaxSize = new System.Drawing.Size(250, 31); + this.layoutControlItem2.MinSize = new System.Drawing.Size(41, 31); this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; - this.layoutControlItem2.OptionsTableLayoutItem.RowIndex = 3; - this.layoutControlItem2.Size = new System.Drawing.Size(250, 31); + this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 2; + this.layoutControlItem2.Size = new System.Drawing.Size(499, 31); + this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem2.Text = "鍚姩"; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextVisible = false; // - // layoutControlItem3 + // layoutControlItem8 // - this.layoutControlItem3.Control = this.comLine; - this.layoutControlItem3.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem3.Name = "layoutControlItem3"; - this.layoutControlItem3.Size = new System.Drawing.Size(250, 31); - this.layoutControlItem3.Text = "閫夌嚎浣�"; - this.layoutControlItem3.TextSize = new System.Drawing.Size(70, 18); + this.layoutControlItem8.Control = this.comStopBits; + this.layoutControlItem8.Location = new System.Drawing.Point(250, 62); + this.layoutControlItem8.Name = "layoutControlItem8"; + this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 2; + this.layoutControlItem8.Size = new System.Drawing.Size(250, 31); + this.layoutControlItem8.Text = "鍋滄浣�"; + this.layoutControlItem8.TextSize = new System.Drawing.Size(70, 18); // // gcMx1 // @@ -377,7 +410,7 @@ this.gcMx1.Location = new System.Drawing.Point(0, 0); this.gcMx1.MainView = this.gvMx1; this.gcMx1.Name = "gcMx1"; - this.gcMx1.Size = new System.Drawing.Size(1040, 361); + this.gcMx1.Size = new System.Drawing.Size(1040, 389); this.gcMx1.TabIndex = 0; this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvMx1}); @@ -391,7 +424,6 @@ this.gridColumn4, this.gridColumn5, this.gridColumn6, - this.gridColumn7, this.gridColumn8, this.gridColumn9, this.gridColumn10, @@ -404,8 +436,10 @@ // gridColumn1 // this.gridColumn1.Caption = "鏉$爜"; + this.gridColumn1.FieldName = "flowCode"; this.gridColumn1.MinWidth = 25; this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.OptionsColumn.ReadOnly = true; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 94; @@ -413,8 +447,10 @@ // gridColumn2 // this.gridColumn2.Caption = "宸ュ崟"; + this.gridColumn2.FieldName = "gdbh"; this.gridColumn2.MinWidth = 25; this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.OptionsColumn.ReadOnly = true; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; this.gridColumn2.Width = 94; @@ -422,8 +458,10 @@ // gridColumn3 // this.gridColumn3.Caption = "鐗╂枡缂栫爜"; + this.gridColumn3.FieldName = "itemNo"; this.gridColumn3.MinWidth = 25; this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.OptionsColumn.ReadOnly = true; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; this.gridColumn3.Width = 94; @@ -431,8 +469,10 @@ // gridColumn4 // this.gridColumn4.Caption = "鐗╂枡鍚嶇О"; + this.gridColumn4.FieldName = "itemName"; this.gridColumn4.MinWidth = 25; this.gridColumn4.Name = "gridColumn4"; + this.gridColumn4.OptionsColumn.ReadOnly = true; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 3; this.gridColumn4.Width = 94; @@ -440,82 +480,89 @@ // gridColumn5 // this.gridColumn5.Caption = "鐗╂枡瑙勬牸"; + this.gridColumn5.FieldName = "itemModel"; this.gridColumn5.MinWidth = 25; this.gridColumn5.Name = "gridColumn5"; + this.gridColumn5.OptionsColumn.ReadOnly = true; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 4; this.gridColumn5.Width = 94; // // gridColumn6 // - this.gridColumn6.Caption = "宸ュ簭缂栧彿"; + this.gridColumn6.Caption = "宸ュ簭"; + this.gridColumn6.FieldName = "processNo"; this.gridColumn6.MinWidth = 25; this.gridColumn6.Name = "gridColumn6"; + this.gridColumn6.OptionsColumn.ReadOnly = true; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 5; this.gridColumn6.Width = 94; // - // gridColumn7 - // - this.gridColumn7.Caption = "宸ュ簭鍚嶇О"; - this.gridColumn7.MinWidth = 25; - this.gridColumn7.Name = "gridColumn7"; - this.gridColumn7.Visible = true; - this.gridColumn7.VisibleIndex = 6; - this.gridColumn7.Width = 94; - // // gridColumn8 // this.gridColumn8.Caption = "绾垮埆"; + this.gridColumn8.FieldName = "lineName"; this.gridColumn8.MinWidth = 25; this.gridColumn8.Name = "gridColumn8"; + this.gridColumn8.OptionsColumn.ReadOnly = true; this.gridColumn8.Visible = true; - this.gridColumn8.VisibleIndex = 7; + this.gridColumn8.VisibleIndex = 6; this.gridColumn8.Width = 94; // // gridColumn9 // this.gridColumn9.Caption = "浣滀笟浜哄憳"; + this.gridColumn9.FieldName = "createBy"; this.gridColumn9.MinWidth = 25; this.gridColumn9.Name = "gridColumn9"; + this.gridColumn9.OptionsColumn.ReadOnly = true; this.gridColumn9.Visible = true; - this.gridColumn9.VisibleIndex = 8; + this.gridColumn9.VisibleIndex = 7; this.gridColumn9.Width = 94; // // gridColumn10 // this.gridColumn10.Caption = "浣滀笟鏃堕棿"; + this.gridColumn10.FieldName = "createDate"; this.gridColumn10.MinWidth = 25; this.gridColumn10.Name = "gridColumn10"; + this.gridColumn10.OptionsColumn.ReadOnly = true; this.gridColumn10.Visible = true; - this.gridColumn10.VisibleIndex = 9; + this.gridColumn10.VisibleIndex = 8; this.gridColumn10.Width = 94; // // gridColumn11 // this.gridColumn11.Caption = "瀹為檯閲嶉噺"; + this.gridColumn11.FieldName = "sjWeight"; this.gridColumn11.MinWidth = 25; this.gridColumn11.Name = "gridColumn11"; + this.gridColumn11.OptionsColumn.ReadOnly = true; this.gridColumn11.Visible = true; - this.gridColumn11.VisibleIndex = 10; + this.gridColumn11.VisibleIndex = 9; this.gridColumn11.Width = 94; // // gridColumn12 // this.gridColumn12.Caption = "閲嶉噺涓婇檺"; + this.gridColumn12.FieldName = "maxWeight"; this.gridColumn12.MinWidth = 25; this.gridColumn12.Name = "gridColumn12"; + this.gridColumn12.OptionsColumn.ReadOnly = true; this.gridColumn12.Visible = true; - this.gridColumn12.VisibleIndex = 11; + this.gridColumn12.VisibleIndex = 10; this.gridColumn12.Width = 94; // // gridColumn13 // this.gridColumn13.Caption = "閲嶉噺涓嬮檺"; + this.gridColumn13.FieldName = "minWeight"; this.gridColumn13.MinWidth = 25; this.gridColumn13.Name = "gridColumn13"; + this.gridColumn13.OptionsColumn.ReadOnly = true; this.gridColumn13.Visible = true; - this.gridColumn13.VisibleIndex = 12; + this.gridColumn13.VisibleIndex = 11; this.gridColumn13.Width = 94; // // Frm_Work09 @@ -524,8 +571,10 @@ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1040, 511); this.Controls.Add(this.split1); + this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black; this.Name = "Frm_Work09"; this.Text = "绉伴噸閲囬泦"; + this.WindowState = System.Windows.Forms.FormWindowState.Maximized; ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).EndInit(); this.split1.Panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).EndInit(); @@ -540,15 +589,17 @@ ((System.ComponentModel.ISupportInitialize)(this.comSjw.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comStopBits.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comParity.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txtMsg.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbBaudRate1111)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); this.ResumeLayout(false); @@ -563,16 +614,10 @@ private DevExpress.XtraEditors.ComboBoxEdit cmbBaudRate; private DevExpress.XtraEditors.TextEdit txtNum; private DevExpress.XtraEditors.ComboBoxEdit comSjw; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; private DevExpress.XtraEditors.ComboBoxEdit comStopBits; private DevExpress.XtraEditors.ComboBoxEdit comParity; private DevExpress.XtraLayout.LayoutControlItem cmbBaudRate1111; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; private DevExpress.XtraEditors.SimpleButton btnStart; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; private DevExpress.XtraGrid.GridControl gcMx1; private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; @@ -581,7 +626,6 @@ private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; - private DevExpress.XtraGrid.Columns.GridColumn gridColumn7; private DevExpress.XtraGrid.Columns.GridColumn gridColumn8; private DevExpress.XtraGrid.Columns.GridColumn gridColumn9; private DevExpress.XtraGrid.Columns.GridColumn gridColumn10; @@ -590,5 +634,13 @@ private DevExpress.XtraGrid.Columns.GridColumn gridColumn13; private UserControl.UcLookWorkline comLine; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private DevExpress.XtraEditors.MemoEdit txtMsg; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; } } \ No newline at end of file -- Gitblit v1.9.3