From 559890c482f5973f06aafdfec9550fee5ba3c7f2 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 17:02:15 +0800
Subject: [PATCH] feat: CAN 模拟器 TCP 化 + 多设备并发调试 + 后台生命周期管理

---
 Aging.Infrastructure/Broker/BrokerPipeName.cs |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/Aging.Infrastructure/Broker/BrokerPipeName.cs b/Aging.Infrastructure/Broker/BrokerPipeName.cs
new file mode 100644
index 0000000..46ff88c
--- /dev/null
+++ b/Aging.Infrastructure/Broker/BrokerPipeName.cs
@@ -0,0 +1,19 @@
+using System;
+using Aging.ResourceContracts;
+
+namespace Aging.Infrastructure.Broker
+{
+    /// <summary>
+    /// DeviceBroker 鍛藉悕绠¢亾鏈嶅姟鍚嶇害瀹氾細aging.{brokerId}.v{鍗忚涓荤増鏈瑌
+    /// 锛圴3.0 搂13锛氭湇鍔″悕鍚� Station/Broker/鍗忚涓荤増鏈級銆�
+    /// </summary>
+    public static class BrokerPipeName
+    {
+        public static string For(string brokerId)
+        {
+            if (string.IsNullOrWhiteSpace(brokerId))
+                throw new ArgumentException("brokerId 涓嶈兘涓虹┖", nameof(brokerId));
+            return $"aging.{brokerId.Trim().ToLowerInvariant()}.v{BrokerIpc.ProtocolVersion}";
+        }
+    }
+}

--
Gitblit v1.9.1