Commit fae207c1 刘韬

修正没有创建项目时末班匹配出错的问题

1 个父辈 f77a0c5a
......@@ -54,6 +54,11 @@ namespace AOI
}
if (!resultBean.result)
{
if (string.IsNullOrEmpty(AoiProject.FilePath))
{
AoiProject.FilePath = "logs\\temp";
}
string p = getSaveImagePath(AoiProject.FilePath, this.RoiPath);
string aoipath = AoiProject.FilePath;
string xypath= Path.GetFileNameWithoutExtension(aoipath);
......
......@@ -107,14 +107,16 @@ namespace AccAOI
DefaultPath = defaultPath;
}
string CurrentCamera="";
public string CurrentCamera="";
private void FrmAoiSetting_Load(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(CurrentCamera))
{
foreach (string str in CameraManager.hikNameList)
{
CurrentCamera = str;
}
}
if (Project != null)
{
ShowPorject();
......@@ -608,6 +610,8 @@ namespace AccAOI
//MyMessage.Show("请选择测试图片");
return;
}
lblTestResult.Text = "";
Image outImage = null;
List<ResultBean> result = Project.CheckAll(TestImage, out outImage);
......
......@@ -114,8 +114,8 @@ Mark区域无效=Mark区域无效
确定删除{0} ?=确定删除{0} ?
确认提示=确认提示
请输入修改后的名称=请输入修改后的名称
FrmMethodName_btnOk_Text=FrmMethodName_btnOk_Text
FrmMethodName_btnCancel_Text=FrmMethodName_btnCancel_Text
FrmMethodName_btnOk_Text=确认
FrmMethodName_btnCancel_Text=取消
请输入新【{0}】名称=请输入新【{0}】名称
显示基准图片=显示基准图片
测试/效果图:=测试/效果图:
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!