From 5fcc843704ca90c742b578aa5898acf0097f753b Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 24 十月 2024 10:15:47 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/02-bimface/XhsProjectSimulationBimfaceCtrl.cs | 37 ------------------------------------- 1 files changed, 0 insertions(+), 37 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/02-bimface/XhsProjectSimulationBimfaceCtrl.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/02-bimface/XhsProjectSimulationBimfaceCtrl.cs index d0fdb54..d0fbe62 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/02-bimface/XhsProjectSimulationBimfaceCtrl.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/02-bimface/XhsProjectSimulationBimfaceCtrl.cs @@ -480,9 +480,6 @@ #endregion - #region 涓氬姟 - - #region 杩炴帴鏋勪欢棰滆壊 private const string _linkComponentColor = "#008B00";//杩炴帴鏋勪欢棰滆壊 @@ -550,40 +547,6 @@ _linkComponentIds.AddRange(elementIds); await _bimfaceInteropContainer?.OverrideComponentsColor(elementIds, _linkEndComponentColor, _linkComponentTransparency); } - - #endregion - - #region 璁剧疆Open鏋勪欢棰滆壊 - - private const string _openComponentColor = "#2E8B57"; - private const double _openComponentTransparency = 0.8; - private List<string> _openComponentIds = null;//Open鏋勪欢id鍒楄〃 - - /// <summary> - /// 璁剧疆Open鏋勪欢棰滆壊 - /// </summary> - public async Task SetOpenComponentsColor(List<string> elementIds) - { - if (_openComponentIds != null && _openComponentIds.Count > 0) - { - await _bimfaceInteropContainer.RestoreComponentsColor(_openComponentIds); - } - _openComponentIds = elementIds; - if (elementIds == null || elementIds.Count < 1) - { - return; - } - if (_bimfaceInteropContainer == null) - { - return; - } - await _bimfaceInteropContainer.OverrideComponentsColor(elementIds, _openComponentColor, _openComponentTransparency); - } - - #endregion - - - #endregion -- Gitblit v1.9.3