From 130802fa7ef10857db12f784956d5ea122a1eeb4 Mon Sep 17 00:00:00 2001
From: C3031 <shitiangui@lanpucloud.cn>
Date: 星期五, 30 一月 2026 09:27:32 +0800
Subject: [PATCH]
---
LB_VisionFlowNode/FlowPanel.cs | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/LB_VisionFlowNode/FlowPanel.cs b/LB_VisionFlowNode/FlowPanel.cs
index 6f295fd..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";
@@ -305,6 +306,7 @@
bool result = Context.ExecuteNode(currentNode);
#if DEBUG
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