初步可以运行,未严格调试

This commit is contained in:
2026-03-25 10:31:43 +08:00
parent 4c502b8217
commit 5000ccd1ba
6 changed files with 1443 additions and 97 deletions

View File

@@ -40,6 +40,7 @@
this.label4 = new System.Windows.Forms.Label();
this.vmProcedureConfigControl1 = new VMControls.Winform.Release.VmProcedureConfigControl();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.btnAutoRun = new System.Windows.Forms.Button();
this.btnProExecStop = new System.Windows.Forms.Button();
this.btnProExecAlway = new System.Windows.Forms.Button();
this.btnProExecOnce = new System.Windows.Forms.Button();
@@ -57,17 +58,20 @@
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.vmParamsConfigControl1 = new VMControls.Winform.Release.VmParamsConfigControl();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.lblRunState = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.groupBox6.SuspendLayout();
this.groupBox5.SuspendLayout();
this.SuspendLayout();
//
// btnLoadSolution
//
this.btnLoadSolution.Location = new System.Drawing.Point(103, 93);
this.btnLoadSolution.Location = new System.Drawing.Point(114, 52);
this.btnLoadSolution.Name = "btnLoadSolution";
this.btnLoadSolution.Size = new System.Drawing.Size(127, 38);
this.btnLoadSolution.TabIndex = 0;
@@ -77,24 +81,25 @@
//
// txtSolutionAddress
//
this.txtSolutionAddress.Location = new System.Drawing.Point(103, 20);
this.txtSolutionAddress.Location = new System.Drawing.Point(101, 23);
this.txtSolutionAddress.Name = "txtSolutionAddress";
this.txtSolutionAddress.Size = new System.Drawing.Size(393, 23);
this.txtSolutionAddress.TabIndex = 2;
//
// btnSelctedSolution
//
this.btnSelctedSolution.Location = new System.Drawing.Point(369, 49);
this.btnSelctedSolution.BackColor = System.Drawing.Color.Transparent;
this.btnSelctedSolution.Location = new System.Drawing.Point(10, 52);
this.btnSelctedSolution.Name = "btnSelctedSolution";
this.btnSelctedSolution.Size = new System.Drawing.Size(127, 38);
this.btnSelctedSolution.Size = new System.Drawing.Size(100, 38);
this.btnSelctedSolution.TabIndex = 3;
this.btnSelctedSolution.Text = "选择文件方案";
this.btnSelctedSolution.UseVisualStyleBackColor = true;
this.btnSelctedSolution.UseVisualStyleBackColor = false;
this.btnSelctedSolution.Click += new System.EventHandler(this.btnSelctedSolution_Click);
//
// btnExecutSolution
//
this.btnExecutSolution.Location = new System.Drawing.Point(236, 93);
this.btnExecutSolution.Location = new System.Drawing.Point(244, 52);
this.btnExecutSolution.Name = "btnExecutSolution";
this.btnExecutSolution.Size = new System.Drawing.Size(127, 38);
this.btnExecutSolution.TabIndex = 4;
@@ -104,7 +109,7 @@
//
// btnSaveSolution
//
this.btnSaveSolution.Location = new System.Drawing.Point(369, 93);
this.btnSaveSolution.Location = new System.Drawing.Point(372, 52);
this.btnSaveSolution.Name = "btnSaveSolution";
this.btnSaveSolution.Size = new System.Drawing.Size(127, 38);
this.btnSaveSolution.TabIndex = 5;
@@ -120,9 +125,9 @@
this.groupBox1.Controls.Add(this.btnExecutSolution);
this.groupBox1.Controls.Add(this.txtSolutionAddress);
this.groupBox1.Controls.Add(this.btnLoadSolution);
this.groupBox1.Location = new System.Drawing.Point(882, 4);
this.groupBox1.Location = new System.Drawing.Point(882, 58);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(505, 144);
this.groupBox1.Size = new System.Drawing.Size(505, 105);
this.groupBox1.TabIndex = 6;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "方案操作";
@@ -130,7 +135,7 @@
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(30, 23);
this.label3.Location = new System.Drawing.Point(28, 26);
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(68, 17);
@@ -159,16 +164,16 @@
//
// vmProcedureConfigControl1
//
this.vmProcedureConfigControl1.Dock = System.Windows.Forms.DockStyle.Left;
this.vmProcedureConfigControl1.Location = new System.Drawing.Point(20, 60);
this.vmProcedureConfigControl1.Location = new System.Drawing.Point(20, 440);
this.vmProcedureConfigControl1.Margin = new System.Windows.Forms.Padding(2);
this.vmProcedureConfigControl1.Name = "vmProcedureConfigControl1";
this.vmProcedureConfigControl1.Size = new System.Drawing.Size(439, 781);
this.vmProcedureConfigControl1.Size = new System.Drawing.Size(439, 440);
this.vmProcedureConfigControl1.TabIndex = 7;
// TODO: “”的代码生成失败,原因是出现异常“无效的基元类型: System.IntPtr。请考虑使用 CodeObjectCreateExpression。”。
//
// groupBox2
//
this.groupBox2.Controls.Add(this.btnAutoRun);
this.groupBox2.Controls.Add(this.cmbProcdure);
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Controls.Add(this.btnProExecStop);
@@ -177,13 +182,23 @@
this.groupBox2.Controls.Add(this.btnProDel);
this.groupBox2.Controls.Add(this.btnProExpo);
this.groupBox2.Controls.Add(this.btnProImport);
this.groupBox2.Location = new System.Drawing.Point(882, 151);
this.groupBox2.Location = new System.Drawing.Point(881, 167);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(505, 145);
this.groupBox2.TabIndex = 7;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "流程操作";
//
// btnAutoRun
//
this.btnAutoRun.Location = new System.Drawing.Point(11, 53);
this.btnAutoRun.Name = "btnAutoRun";
this.btnAutoRun.Size = new System.Drawing.Size(75, 64);
this.btnAutoRun.TabIndex = 9;
this.btnAutoRun.Text = "自动运行";
this.btnAutoRun.UseVisualStyleBackColor = true;
this.btnAutoRun.Click += new System.EventHandler(this.btnAutoRun_Click);
//
// btnProExecStop
//
this.btnProExecStop.Location = new System.Drawing.Point(372, 97);
@@ -251,7 +266,7 @@
this.groupBox3.Controls.Add(this.btnModuleRenderResult);
this.groupBox3.Controls.Add(this.btnModuleExec);
this.groupBox3.Controls.Add(this.btnModuleBindingPar);
this.groupBox3.Location = new System.Drawing.Point(882, 302);
this.groupBox3.Location = new System.Drawing.Point(881, 314);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(505, 112);
this.groupBox3.TabIndex = 9;
@@ -311,19 +326,19 @@
//
this.listBox1.FormattingEnabled = true;
this.listBox1.ItemHeight = 17;
this.listBox1.Location = new System.Drawing.Point(882, 422);
this.listBox1.Location = new System.Drawing.Point(882, 431);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(516, 429);
this.listBox1.Size = new System.Drawing.Size(516, 446);
this.listBox1.TabIndex = 10;
//
// groupBox4
//
this.groupBox4.Controls.Add(this.pictureBox1);
this.groupBox4.Location = new System.Drawing.Point(463, 2);
this.groupBox4.Location = new System.Drawing.Point(463, 58);
this.groupBox4.Margin = new System.Windows.Forms.Padding(2);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Padding = new System.Windows.Forms.Padding(2);
this.groupBox4.Size = new System.Drawing.Size(414, 412);
this.groupBox4.Size = new System.Drawing.Size(414, 376);
this.groupBox4.TabIndex = 11;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "视图窗口";
@@ -333,18 +348,18 @@
this.pictureBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.pictureBox1.Location = new System.Drawing.Point(2, 18);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(410, 392);
this.pictureBox1.Size = new System.Drawing.Size(410, 356);
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// groupBox6
//
this.groupBox6.Controls.Add(this.vmParamsConfigControl1);
this.groupBox6.Location = new System.Drawing.Point(463, 422);
this.groupBox6.Location = new System.Drawing.Point(463, 432);
this.groupBox6.Margin = new System.Windows.Forms.Padding(2);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Padding = new System.Windows.Forms.Padding(2);
this.groupBox6.Size = new System.Drawing.Size(409, 439);
this.groupBox6.Size = new System.Drawing.Size(409, 447);
this.groupBox6.TabIndex = 12;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "参数配置";
@@ -357,14 +372,35 @@
this.vmParamsConfigControl1.ModuleSource = null;
this.vmParamsConfigControl1.Name = "vmParamsConfigControl1";
this.vmParamsConfigControl1.ParamsConfig = null;
this.vmParamsConfigControl1.Size = new System.Drawing.Size(405, 419);
this.vmParamsConfigControl1.Size = new System.Drawing.Size(405, 427);
this.vmParamsConfigControl1.TabIndex = 0;
//
// groupBox5
//
this.groupBox5.Controls.Add(this.lblRunState);
this.groupBox5.Location = new System.Drawing.Point(23, 58);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(435, 374);
this.groupBox5.TabIndex = 13;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "自动运行结果";
//
// lblRunState
//
this.lblRunState.AutoSize = true;
this.lblRunState.Font = new System.Drawing.Font("微软雅黑", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblRunState.Location = new System.Drawing.Point(32, 85);
this.lblRunState.Name = "lblRunState";
this.lblRunState.Size = new System.Drawing.Size(133, 39);
this.lblRunState.TabIndex = 0;
this.lblRunState.Text = "运行状态";
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1400, 861);
this.ClientSize = new System.Drawing.Size(1400, 900);
this.Controls.Add(this.groupBox5);
this.Controls.Add(this.groupBox6);
this.Controls.Add(this.groupBox4);
this.Controls.Add(this.listBox1);
@@ -376,7 +412,9 @@
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(4);
this.Name = "MainForm";
this.Text = "主窗体";
this.Style = ReaLTaiizor.Enum.Poison.ColorStyle.Black;
this.Text = "机器视觉系统ORPAON-v26.1";
this.Theme = ReaLTaiizor.Enum.Poison.ThemeStyle.Default;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
this.Load += new System.EventHandler(this.MainForm_Load);
this.groupBox1.ResumeLayout(false);
@@ -388,6 +426,8 @@
this.groupBox4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.groupBox6.ResumeLayout(false);
this.groupBox5.ResumeLayout(false);
this.groupBox5.PerformLayout();
this.ResumeLayout(false);
}
@@ -422,6 +462,9 @@
private System.Windows.Forms.ComboBox cmbProcdure;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.GroupBox groupBox5;
private System.Windows.Forms.Label lblRunState;
private System.Windows.Forms.Button btnAutoRun;
}
}