From 4091d5009b63ba1d6f24788ca79877c37001e0f6 Mon Sep 17 00:00:00 2001
From: C3032 <1057644574@qq.com>
Date: 星期五, 20 三月 2026 11:08:39 +0800
Subject: [PATCH] 华睿读码器集成完成,使用抽象接口-基类-各品牌子类的架构,实现可插拔设计,遵循开闭原则,方便后续集成其他品牌读码器

---
 LB_VisionFlowNode/FlowPanel.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/LB_VisionFlowNode/FlowPanel.cs b/LB_VisionFlowNode/FlowPanel.cs
index eb8c279..aa633bd 100644
--- a/LB_VisionFlowNode/FlowPanel.cs
+++ b/LB_VisionFlowNode/FlowPanel.cs
@@ -1,4 +1,5 @@
-锘縰sing System.Collections.Concurrent;
+锘縰sing LB_SmartVisionCommon;
+using System.Collections.Concurrent;
 using System.Diagnostics;
 using System.Xml.Linq;
 
@@ -140,7 +141,7 @@
                     await ExecuteNodeAsync(currentNode, ExecutionContext);
 
                     // 闃叉姝诲惊鐜紝杩愯鏃堕棿瓒呰繃60绉掑垯寮哄埗缁堟
-                    if ((DateTime.Now - StartTime).TotalSeconds > 1000000000)
+                    if ((DateTime.Now - StartTime).TotalSeconds > 10)
                     {
                         _cancellationTokenSource.Cancel();
                         NodesMsg = $"鎵ц鎵�鏈夎妭鐐硅秴杩�10s";
@@ -304,7 +305,8 @@
             context.CurrentBranchName = $"{currentNode.Text}-Branch{currentNode.BranchIndex}";
             bool result = Context.ExecuteNode(currentNode);
 #if DEBUG
-            Debug.WriteLine($"鎵ц鑺傜偣[{currentNode.Text}],缁撴灉涓簕result}");
+            Debug.WriteLine(DateTime.Now.ToString("[yyyy:MM:dd:HH:mm:ss:fff] ") + $"鎵ц鑺傜偣[{currentNode.Text}],缁撴灉涓簕result}");
+            AsyncLogHelper.Debug(DateTime.Now.ToString("[yyyy:MM:dd:HH:mm:ss:fff] ") + $"鎵ц鑺傜偣[{currentNode.Text}],缁撴灉涓簕result}");
 #endif
             context.BranchResults.TryAdd(context.CurrentBranchName, currentNode.Result);
             currentNode.Result = result;

--
Gitblit v1.9.3