From 9bec4dcae002f36aa23231da11cb03a156b40110 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 30 4月 2025 16:24:16 +0800 Subject: [PATCH] 222 --- PipeLineLems/server/src/CMS.Plugin.PipeLineLems/ProjectService/PipeLineLemsProjectService.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/ProjectService/PipeLineLemsProjectService.cs b/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/ProjectService/PipeLineLemsProjectService.cs index d5cf9a8..210ea86 100644 --- a/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/ProjectService/PipeLineLemsProjectService.cs +++ b/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/ProjectService/PipeLineLemsProjectService.cs @@ -27,7 +27,7 @@ private IServiceProvider _serviceProvider; private readonly ILogger<PipeLineLemsProjectService> _logger; private readonly IVariableDataCache _variableDataCache; - private readonly IWorkSectionManager _workSectionManager; + /// <summary> /// 鍙橀噺鏈嶅姟 /// </summary> @@ -56,7 +56,6 @@ /// <param name="logger">The logger.</param> /// <param name="variableDataCache">The variable data cache.</param> public PipeLineLemsProjectService( - IWorkSectionManager workSectionManager, VariableService variableService, IServiceProvider serviceProvider, ILogger<PipeLineLemsProjectService> logger, IVariableDataCache variableDataCache) { @@ -64,7 +63,6 @@ _logger = logger; _variableDataCache = variableDataCache; _variableService = variableService; - _workSectionManager = workSectionManager; } /// <summary> @@ -82,6 +80,7 @@ _monitorVariableNames = new Dictionary<string, string> { { "鎵撶爜杩涚珯淇″彿", "鎵撶爜杩涚珯淇″彿(鎻忚堪)" }, + { "鍒囧壊杩涚珯淇″彿", "鍒囧壊杩涚珯淇″彿(鎻忚堪)" }, }; // 鍒涘缓閫氶亾鐩戝惉 @@ -306,6 +305,7 @@ //TODO:鏆傛椂鐢熸垚浜у搧ID //鑾峰彇涓婁竴涓伐搴忕殑浜у搧ID //鏍规嵁宸ュ簭鍚嶈幏鍙栧伐搴忓璞� + var _workSectionManager = _serviceProvider.GetRequiredService<IWorkSectionManager>(); var lastWorkSection = "鎵撶爜宸ュ簭"; var workSection = await _workSectionManager.GetByNameAsync(lastWorkSection); -- Gitblit v1.9.3