mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-04-01 06:36:38 +08:00
1、解决因在debug目录下放置多余的dll导致反射时报错的问题
2、解决显示窗口滑动时,坐标及灰度值不实时更新的问题 3、解决模板匹配工具,模板图像不更新的问题 4、将各工具的生成位置改至主程序的debug目录下
This commit is contained in:
@@ -84,6 +84,8 @@ namespace CaliperTool
|
||||
/// 新的跟随姿态变化后的预期线信息
|
||||
/// </summary>
|
||||
HTuple newExpectRecStartRow = new HTuple(200), newExpectRecStartColumn = new HTuple(200), newExpectPhi = new HTuple(0);
|
||||
[NonSerialized]
|
||||
public HDrawingObject calibDrawObject = new HDrawingObject();
|
||||
/// <summary>
|
||||
/// 查找到的线的起点行坐标
|
||||
/// </summary>
|
||||
@@ -134,10 +136,6 @@ namespace CaliperTool
|
||||
templatePose.Y = inputPose.Y;
|
||||
templatePose.U = inputPose.U;
|
||||
}
|
||||
// 输入
|
||||
FormCaliper.Instance.tbx_expectCenterRow.Text = expectRecStartRow.TupleString("10.3f");
|
||||
FormCaliper.Instance.tbx_expectCenterCol.Text = expectRecStartColumn.TupleString("10.3f");
|
||||
FormCaliper.Instance.tbx_expectPhi.Text = expectAngle.TupleString("10.3f");
|
||||
// 参数
|
||||
FormCaliper.Instance.tbx_caliperLength1.Text = length1.TupleString("10.3f");
|
||||
FormCaliper.Instance.tbx_caliperLength2.Text = length2.TupleString("10.3f");
|
||||
@@ -267,19 +265,5 @@ namespace CaliperTool
|
||||
//显示找到的线
|
||||
// window.DispObj(LineDisp, "green");
|
||||
}
|
||||
|
||||
public void SetToolStatusDisp()
|
||||
{
|
||||
FormCaliper.Instance.lb_RunStatus.Text = toolRunStatu == ToolRunStatu.Succeed ? "工具运行成功!" : $"工具运行异常, 异常原因:{runMessage}";
|
||||
FormCaliper.Instance.lb_RunTime.Text = runTime;
|
||||
if (toolRunStatu == ToolRunStatu.Succeed)
|
||||
{
|
||||
FormCaliper.Instance.statusStrip.BackColor = System.Drawing.Color.LimeGreen;
|
||||
}
|
||||
else
|
||||
{
|
||||
FormCaliper.Instance.statusStrip.BackColor = System.Drawing.Color.Red;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user