| | |
| | | |
| | | public M141Process(string productCode) : base(productCode) { } |
| | | #endregion |
| | | |
| | | TaskFactory _taskFactory = new TaskFactory(TaskCreationOptions.LongRunning, TaskContinuationOptions.LongRunning); |
| | | |
| | | public event Action<string, P_PRODUCT_DETAIL, string> OnSinglePostionDetectResultUpdate; |
| | | |
| | | protected M141Config M141Config => Config as M141Config; |
| | | |
| | | public static object _productListLock = new object(); |
| | |
| | | public override void InitialProcessMethods() |
| | | { |
| | | base.InitialProcessMethods(); |
| | | |
| | | |
| | | if (ThHeartPlc == null) |
| | | { |
| | |
| | | bool devicestate = false; |
| | | PLCBase Plc2; |
| | | public Thread ThHeartPlc; |
| | | |
| | | |
| | | |
| | | public override void Open() |
| | |
| | | base.Close(); |
| | | |
| | | } |
| | | |
| | | |
| | | public void Heartplc() |
| | | { |
| | |
| | | Dictionary<string, List<string>> _positionSpecHeads = new Dictionary<string, List<string>>(); |
| | | |
| | | |
| | | |
| | | |
| | | volatile int uploadId = 0; |
| | | |
| | | |
| | |
| | | // dicpid[tem] = pidList[i]; |
| | | //} |
| | | |
| | | |
| | | List<DetectResult> detectResults = ML?.RunMLDetectionSync(imgSet, pidList, measureBind.DetectionId); |
| | | //var c=products[0].ImagePaths; |
| | | List<DetectResult> detectResults = ML?.RunMLDetectionSync(imgSet, pidList, measureBind.DetectionId,false,null,null,"", products[0].ImagePaths); |
| | | List<DetectResult> ngResults = new List<DetectResult>(); |
| | | |
| | | |