mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-03-31 05:46:35 +08:00
1、添加手眼标定工具,可选择4点或者9点标定,输出标定矩阵
2、修正Halcon引擎运行工具 3、添加相机SDK工具,但需完善 4、HalconTool取图工具增加选择文件夹功能 5、实现Job窗体可添加多个流程
This commit is contained in:
@@ -8,6 +8,7 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using WeifenLuo.WinFormsUI.Docking;
|
||||
using Sunny.UI;
|
||||
|
||||
namespace ToolLib.VisionJob
|
||||
{
|
||||
@@ -42,5 +43,24 @@ namespace ToolLib.VisionJob
|
||||
string jobName = tabJobUnion.SelectedTab.Text;
|
||||
VisionJobParams.pVisionProject.Project[jobName].Run();
|
||||
}
|
||||
|
||||
private void picNewJob_Click(object sender, EventArgs e)
|
||||
{
|
||||
UIInputForm myUIInputForm = new UIInputForm();
|
||||
myUIInputForm.Label.Text = "输入新建Job名称";
|
||||
if (myUIInputForm.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
string newJobName = myUIInputForm.Editor.Text;
|
||||
if(VisionJobParams.pVisionProject.Project.ContainsKey(newJobName))
|
||||
{
|
||||
MessageBox.Show("新建流程名称重复,请重新建立!");
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
OperateProject.Instance.CreateNewJob(newJobName, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user