From 8db52bc296f662691a17aabeeabebd713e3b576d Mon Sep 17 00:00:00 2001
From: C3031 <shitiangui@lanpucloud.cn>
Date: 星期五, 06 三月 2026 16:53:08 +0800
Subject: [PATCH] Merge branch 'master' of http://lanpucloud.cn:1111/r/~zhengyabo/LB_TyreAppearanceInspectionSoftware

---
 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