From 59e525792db4de5dfdcafe8a69fa003bacd25b07 Mon Sep 17 00:00:00 2001 From: 17860779768 <3219079380@qq.com> Date: Wed, 15 Mar 2023 17:05:46 +0800 Subject: [PATCH] 20230315Change1 --- .../UI/ContorlShaft.Designer.cs | 152 +++++++++--------- 1 file changed, 76 insertions(+), 76 deletions(-) diff --git a/src/BRS.Process.A020/UI/ContorlShaft.Designer.cs b/src/BRS.Process.A020/UI/ContorlShaft.Designer.cs index 608a3c5..dc43ae2 100644 --- a/src/BRS.Process.A020/UI/ContorlShaft.Designer.cs +++ b/src/BRS.Process.A020/UI/ContorlShaft.Designer.cs @@ -46,6 +46,9 @@ namespace BRS.Process.A020.UI this.StopStateLabel = new Sunny.UI.UILabel(); this.chart2 = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.uiPanel1 = new Sunny.UI.UIPanel(); + this.OKBtn = new Sunny.UI.UIButton(); + this.label5 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); @@ -65,9 +68,6 @@ namespace BRS.Process.A020.UI this.chart1 = new System.Windows.Forms.DataVisualization.Charting.Chart(); this.uiButton1 = new Sunny.UI.UIButton(); this.timer2 = new System.Windows.Forms.Timer(this.components); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.label5 = new System.Windows.Forms.Label(); - this.OKBtn = new Sunny.UI.UIButton(); this.ManualBtn1 = new BRS.Process.A020.UI.CircleButton(); this.AutoBtn1 = new BRS.Process.A020.UI.CircleButton(); this.LoosenLight1 = new BRS.Process.A020.UI.CircleButton(); @@ -190,14 +190,14 @@ namespace BRS.Process.A020.UI legend1.Name = "Legend1"; legend1.Title = "图例"; this.chart2.Legends.Add(legend1); - this.chart2.Location = new System.Drawing.Point(1129, 0); + this.chart2.Location = new System.Drawing.Point(1130, 0); this.chart2.Name = "chart2"; series1.ChartArea = "ChartArea1"; series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Spline; series1.Legend = "Legend1"; series1.Name = "扭矩"; this.chart2.Series.Add(series1); - this.chart2.Size = new System.Drawing.Size(380, 568); + this.chart2.Size = new System.Drawing.Size(380, 543); this.chart2.TabIndex = 14; this.chart2.Text = "扭矩时间变化曲线"; title1.Name = "Title1"; @@ -206,6 +206,10 @@ namespace BRS.Process.A020.UI // // uiPanel1 // + this.uiPanel1.Controls.Add(this.ManualLoosenBtn); + this.uiPanel1.Controls.Add(this.ManualToughBtn); + this.uiPanel1.Controls.Add(this.AutoLoosenBtn1); + this.uiPanel1.Controls.Add(this.AutoToughBtn1); this.uiPanel1.Controls.Add(this.OKBtn); this.uiPanel1.Controls.Add(this.label5); this.uiPanel1.Controls.Add(this.textBox1); @@ -219,10 +223,6 @@ namespace BRS.Process.A020.UI this.uiPanel1.Controls.Add(this.ToughLight1); this.uiPanel1.Controls.Add(this.StopStateLight1); this.uiPanel1.Controls.Add(this.TestBtn); - this.uiPanel1.Controls.Add(this.AutoLoosenBtn1); - this.uiPanel1.Controls.Add(this.AutoToughBtn1); - this.uiPanel1.Controls.Add(this.ManualLoosenBtn); - this.uiPanel1.Controls.Add(this.ManualToughBtn); this.uiPanel1.Controls.Add(this.StopBtn2); this.uiPanel1.Controls.Add(this.StartBtn1); this.uiPanel1.Controls.Add(this.MoveStateLight1); @@ -233,17 +233,50 @@ namespace BRS.Process.A020.UI this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5); this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1); this.uiPanel1.Name = "uiPanel1"; - this.uiPanel1.Size = new System.Drawing.Size(634, 568); + this.uiPanel1.Size = new System.Drawing.Size(680, 543); this.uiPanel1.TabIndex = 16; this.uiPanel1.Text = null; this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter; this.uiPanel1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); // + // OKBtn + // + this.OKBtn.Cursor = System.Windows.Forms.Cursors.Hand; + this.OKBtn.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.OKBtn.Location = new System.Drawing.Point(412, 230); + this.OKBtn.MinimumSize = new System.Drawing.Size(1, 1); + this.OKBtn.Name = "OKBtn"; + this.OKBtn.Size = new System.Drawing.Size(100, 45); + this.OKBtn.TabIndex = 26; + this.OKBtn.Text = "确定"; + this.OKBtn.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.OKBtn.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); + this.OKBtn.Click += new System.EventHandler(this.OKBtn_Click); + // + // label5 + // + this.label5.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label5.Location = new System.Drawing.Point(145, 230); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(114, 45); + this.label5.TabIndex = 25; + this.label5.Text = "扭矩设置:"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // textBox1 + // + this.textBox1.Location = new System.Drawing.Point(265, 230); + this.textBox1.Multiline = true; + this.textBox1.Name = "textBox1"; + this.textBox1.Size = new System.Drawing.Size(141, 45); + this.textBox1.TabIndex = 24; + this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; + // // label4 // this.label4.AutoSize = true; this.label4.BackColor = System.Drawing.Color.Silver; - this.label4.Location = new System.Drawing.Point(480, 106); + this.label4.Location = new System.Drawing.Point(416, 134); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(106, 42); this.label4.TabIndex = 23; @@ -254,7 +287,7 @@ namespace BRS.Process.A020.UI // this.label3.AutoSize = true; this.label3.BackColor = System.Drawing.Color.Silver; - this.label3.Location = new System.Drawing.Point(326, 106); + this.label3.Location = new System.Drawing.Point(275, 134); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(106, 42); this.label3.TabIndex = 22; @@ -265,7 +298,7 @@ namespace BRS.Process.A020.UI // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.Silver; - this.label2.Location = new System.Drawing.Point(207, 106); + this.label2.Location = new System.Drawing.Point(153, 134); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(74, 42); this.label2.TabIndex = 21; @@ -276,7 +309,7 @@ namespace BRS.Process.A020.UI // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Silver; - this.label1.Location = new System.Drawing.Point(63, 106); + this.label1.Location = new System.Drawing.Point(20, 134); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(74, 42); this.label1.TabIndex = 20; @@ -287,7 +320,7 @@ namespace BRS.Process.A020.UI // this.TestBtn.Cursor = System.Windows.Forms.Cursors.Hand; this.TestBtn.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.TestBtn.Location = new System.Drawing.Point(12, 508); + this.TestBtn.Location = new System.Drawing.Point(3, 505); this.TestBtn.MinimumSize = new System.Drawing.Size(1, 1); this.TestBtn.Name = "TestBtn"; this.TestBtn.Size = new System.Drawing.Size(100, 35); @@ -300,7 +333,7 @@ namespace BRS.Process.A020.UI // this.AutoLoosenBtn1.Cursor = System.Windows.Forms.Cursors.Hand; this.AutoLoosenBtn1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.AutoLoosenBtn1.Location = new System.Drawing.Point(420, 450); + this.AutoLoosenBtn1.Location = new System.Drawing.Point(392, 385); this.AutoLoosenBtn1.MinimumSize = new System.Drawing.Size(1, 1); this.AutoLoosenBtn1.Name = "AutoLoosenBtn1"; this.AutoLoosenBtn1.Size = new System.Drawing.Size(120, 45); @@ -314,7 +347,7 @@ namespace BRS.Process.A020.UI // this.AutoToughBtn1.Cursor = System.Windows.Forms.Cursors.Hand; this.AutoToughBtn1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.AutoToughBtn1.Location = new System.Drawing.Point(420, 393); + this.AutoToughBtn1.Location = new System.Drawing.Point(392, 315); this.AutoToughBtn1.MinimumSize = new System.Drawing.Size(1, 1); this.AutoToughBtn1.Name = "AutoToughBtn1"; this.AutoToughBtn1.Size = new System.Drawing.Size(120, 45); @@ -328,7 +361,7 @@ namespace BRS.Process.A020.UI // this.ManualLoosenBtn.Cursor = System.Windows.Forms.Cursors.Hand; this.ManualLoosenBtn.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.ManualLoosenBtn.Location = new System.Drawing.Point(420, 258); + this.ManualLoosenBtn.Location = new System.Drawing.Point(149, 385); this.ManualLoosenBtn.MinimumSize = new System.Drawing.Size(1, 1); this.ManualLoosenBtn.Name = "ManualLoosenBtn"; this.ManualLoosenBtn.Size = new System.Drawing.Size(120, 45); @@ -343,7 +376,7 @@ namespace BRS.Process.A020.UI // this.ManualToughBtn.Cursor = System.Windows.Forms.Cursors.Hand; this.ManualToughBtn.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.ManualToughBtn.Location = new System.Drawing.Point(420, 185); + this.ManualToughBtn.Location = new System.Drawing.Point(149, 315); this.ManualToughBtn.MinimumSize = new System.Drawing.Size(1, 1); this.ManualToughBtn.Name = "ManualToughBtn"; this.ManualToughBtn.Size = new System.Drawing.Size(120, 45); @@ -357,11 +390,11 @@ namespace BRS.Process.A020.UI // StopBtn2 // this.StopBtn2.Cursor = System.Windows.Forms.Cursors.Hand; - this.StopBtn2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.StopBtn2.Location = new System.Drawing.Point(215, 258); + this.StopBtn2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.StopBtn2.Location = new System.Drawing.Point(12, 323); this.StopBtn2.MinimumSize = new System.Drawing.Size(1, 1); this.StopBtn2.Name = "StopBtn2"; - this.StopBtn2.Size = new System.Drawing.Size(120, 45); + this.StopBtn2.Size = new System.Drawing.Size(96, 85); this.StopBtn2.TabIndex = 8; this.StopBtn2.Text = "停止"; this.StopBtn2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); @@ -371,11 +404,11 @@ namespace BRS.Process.A020.UI // StartBtn1 // this.StartBtn1.Cursor = System.Windows.Forms.Cursors.Hand; - this.StartBtn1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.StartBtn1.Location = new System.Drawing.Point(215, 185); + this.StartBtn1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.StartBtn1.Location = new System.Drawing.Point(12, 230); this.StartBtn1.MinimumSize = new System.Drawing.Size(1, 1); this.StartBtn1.Name = "StartBtn1"; - this.StartBtn1.Size = new System.Drawing.Size(120, 45); + this.StartBtn1.Size = new System.Drawing.Size(96, 85); this.StartBtn1.TabIndex = 7; this.StartBtn1.Text = "开始"; this.StartBtn1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); @@ -441,16 +474,16 @@ namespace BRS.Process.A020.UI // chartArea2.Name = "ChartArea1"; this.chart1.ChartAreas.Add(chartArea2); - this.chart1.Dock = System.Windows.Forms.DockStyle.Left; + this.chart1.Dock = System.Windows.Forms.DockStyle.Right; legend2.Name = "Legend1"; this.chart1.Legends.Add(legend2); - this.chart1.Location = new System.Drawing.Point(634, 0); + this.chart1.Location = new System.Drawing.Point(730, 0); this.chart1.Name = "chart1"; series2.ChartArea = "ChartArea1"; series2.Legend = "Legend1"; series2.Name = "Series1"; this.chart1.Series.Add(series2); - this.chart1.Size = new System.Drawing.Size(400, 568); + this.chart1.Size = new System.Drawing.Size(400, 543); this.chart1.TabIndex = 17; this.chart1.Text = "chart1"; // @@ -473,46 +506,13 @@ namespace BRS.Process.A020.UI this.timer2.Interval = 1000; this.timer2.Tick += new System.EventHandler(this.timer2_Tick); // - // textBox1 - // - this.textBox1.Location = new System.Drawing.Point(132, 383); - this.textBox1.Multiline = true; - this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(141, 45); - this.textBox1.TabIndex = 24; - this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; - // - // label5 - // - this.label5.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label5.Location = new System.Drawing.Point(12, 383); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(114, 45); - this.label5.TabIndex = 25; - this.label5.Text = "扭矩设置:"; - this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // OKBtn - // - this.OKBtn.Cursor = System.Windows.Forms.Cursors.Hand; - this.OKBtn.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.OKBtn.Location = new System.Drawing.Point(279, 383); - this.OKBtn.MinimumSize = new System.Drawing.Size(1, 1); - this.OKBtn.Name = "OKBtn"; - this.OKBtn.Size = new System.Drawing.Size(100, 45); - this.OKBtn.TabIndex = 26; - this.OKBtn.Text = "确定"; - this.OKBtn.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.OKBtn.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0); - this.OKBtn.Click += new System.EventHandler(this.OKBtn_Click); - // // ManualBtn1 // this.ManualBtn1.BackColor = System.Drawing.Color.Gray; this.ManualBtn1.Cursor = System.Windows.Forms.Cursors.Hand; - this.ManualBtn1.Location = new System.Drawing.Point(484, 323); + this.ManualBtn1.Location = new System.Drawing.Point(560, 270); this.ManualBtn1.Name = "ManualBtn1"; - this.ManualBtn1.Size = new System.Drawing.Size(58, 50); + this.ManualBtn1.Size = new System.Drawing.Size(104, 90); this.ManualBtn1.TabIndex = 19; this.ManualBtn1.Text = "手动按钮"; this.ManualBtn1.UseVisualStyleBackColor = false; @@ -522,9 +522,9 @@ namespace BRS.Process.A020.UI // this.AutoBtn1.BackColor = System.Drawing.Color.Gray; this.AutoBtn1.Cursor = System.Windows.Forms.Cursors.Hand; - this.AutoBtn1.Location = new System.Drawing.Point(420, 323); + this.AutoBtn1.Location = new System.Drawing.Point(560, 160); this.AutoBtn1.Name = "AutoBtn1"; - this.AutoBtn1.Size = new System.Drawing.Size(58, 50); + this.AutoBtn1.Size = new System.Drawing.Size(104, 90); this.AutoBtn1.TabIndex = 18; this.AutoBtn1.Text = "自动按钮"; this.AutoBtn1.UseVisualStyleBackColor = false; @@ -533,36 +533,36 @@ namespace BRS.Process.A020.UI // LoosenLight1 // this.LoosenLight1.BackColor = System.Drawing.Color.Gray; - this.LoosenLight1.Location = new System.Drawing.Point(491, 39); + this.LoosenLight1.Location = new System.Drawing.Point(420, 28); this.LoosenLight1.Name = "LoosenLight1"; - this.LoosenLight1.Size = new System.Drawing.Size(75, 64); + this.LoosenLight1.Size = new System.Drawing.Size(89, 89); this.LoosenLight1.TabIndex = 17; this.LoosenLight1.UseVisualStyleBackColor = false; // // ToughLight1 // this.ToughLight1.BackColor = System.Drawing.Color.Gray; - this.ToughLight1.Location = new System.Drawing.Point(341, 39); + this.ToughLight1.Location = new System.Drawing.Point(279, 28); this.ToughLight1.Name = "ToughLight1"; - this.ToughLight1.Size = new System.Drawing.Size(75, 64); + this.ToughLight1.Size = new System.Drawing.Size(89, 89); this.ToughLight1.TabIndex = 16; this.ToughLight1.UseVisualStyleBackColor = false; // // StopStateLight1 // this.StopStateLight1.BackColor = System.Drawing.Color.Gray; - this.StopStateLight1.Location = new System.Drawing.Point(211, 39); + this.StopStateLight1.Location = new System.Drawing.Point(144, 28); this.StopStateLight1.Name = "StopStateLight1"; - this.StopStateLight1.Size = new System.Drawing.Size(75, 64); + this.StopStateLight1.Size = new System.Drawing.Size(89, 89); this.StopStateLight1.TabIndex = 15; this.StopStateLight1.UseVisualStyleBackColor = false; // // MoveStateLight1 // this.MoveStateLight1.BackColor = System.Drawing.Color.Gray; - this.MoveStateLight1.Location = new System.Drawing.Point(67, 39); + this.MoveStateLight1.Location = new System.Drawing.Point(13, 28); this.MoveStateLight1.Name = "MoveStateLight1"; - this.MoveStateLight1.Size = new System.Drawing.Size(75, 64); + this.MoveStateLight1.Size = new System.Drawing.Size(89, 89); this.MoveStateLight1.TabIndex = 3; this.MoveStateLight1.UseVisualStyleBackColor = false; // @@ -570,9 +570,9 @@ namespace BRS.Process.A020.UI // this.ESBtn.BackColor = System.Drawing.Color.Red; this.ESBtn.Cursor = System.Windows.Forms.Cursors.Hand; - this.ESBtn.Location = new System.Drawing.Point(45, 185); + this.ESBtn.Location = new System.Drawing.Point(553, 28); this.ESBtn.Name = "ESBtn"; - this.ESBtn.Size = new System.Drawing.Size(111, 102); + this.ESBtn.Size = new System.Drawing.Size(111, 109); this.ESBtn.TabIndex = 0; this.ESBtn.Text = "急停"; this.ESBtn.UseVisualStyleBackColor = false; @@ -582,7 +582,7 @@ namespace BRS.Process.A020.UI // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1509, 568); + this.ClientSize = new System.Drawing.Size(1510, 543); this.Controls.Add(this.chart1); this.Controls.Add(this.uiPanel1); this.Controls.Add(this.chart2);