From ece2e7afd5a2396e3bc7f0baed6e172deb65fdbd Mon Sep 17 00:00:00 2001 From: tfarcraw <123211521@163.com> Date: Wed, 15 Jul 2026 04:03:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=88=B0=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PLCSharpWpf/VVMs/Vision/VisionFunction.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/PLCSharpWpf/VVMs/Vision/VisionFunction.cs b/PLCSharpWpf/VVMs/Vision/VisionFunction.cs index dedf756..8effe6d 100644 --- a/PLCSharpWpf/VVMs/Vision/VisionFunction.cs +++ b/PLCSharpWpf/VVMs/Vision/VisionFunction.cs @@ -9,6 +9,7 @@ using PLCSharp.VVMs.Vision.VisionFlowHandler.Access; using PLCSharp.VVMs.Vision.VisionFlowHandler.Algorithm; using PLCSharp.VVMs.Vision.VisionFlowHandler.Processing; using Prism.Mvvm; +using System; using System.Collections.ObjectModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; @@ -215,6 +216,14 @@ namespace PLCSharp.VVMs.Vision } else { + + var customControl = GlobalModel.GetCustomControl(ControlName); + if (customControl != null && Src!=null) + { + customControl.ShowMat(Src); + + } + flow.Done = true; }