| @@ -1,4 +1,6 @@ | |||||
| using MaiMuAOI.SysCtrl; | |||||
| #define TZJD | |||||
| using MaiMuAOI.SysCtrl; | |||||
| using MaiMuControl.Utils; | using MaiMuControl.Utils; | ||||
| using Models; | using Models; | ||||
| using OpenCvSharp; | using OpenCvSharp; | ||||
| @@ -596,7 +598,7 @@ namespace MaiMuAOI.SysUI.ProductAndStep | |||||
| model.EnableOrderSave = cbOrderSave.Checked; | model.EnableOrderSave = cbOrderSave.Checked; | ||||
| model.OrderSavePath = tbSavePath.Text; | model.OrderSavePath = tbSavePath.Text; | ||||
| #if TZJD | |||||
| //设置比对参数 | //设置比对参数 | ||||
| Yolo_Class yolo_Class = new Yolo_Class(); | Yolo_Class yolo_Class = new Yolo_Class(); | ||||
| if (model.AttachmentList == null || model.AttachmentList.Count == 0) | if (model.AttachmentList == null || model.AttachmentList.Count == 0) | ||||
| @@ -617,6 +619,7 @@ namespace MaiMuAOI.SysUI.ProductAndStep | |||||
| model.WangMuThresh = (double)numWM.Value; | model.WangMuThresh = (double)numWM.Value; | ||||
| } | } | ||||
| } | } | ||||
| #endif | |||||
| ///////////////////////////////////////////////// | ///////////////////////////////////////////////// | ||||
| /// | /// | ||||
| bool result; | bool result; | ||||