From 68a4b459eeb18effb8b3096add3d88c15629ab69 Mon Sep 17 00:00:00 2001
From: C3032 <1057644574@qq.com>
Date: 星期一, 23 三月 2026 11:01:16 +0800
Subject: [PATCH] 修复了 master 分支中的编译错误
---
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