From a27817f01817b22fff839a2d0b98cbb6e45a22f7 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期五, 25 十月 2024 14:18:19 +0800 Subject: [PATCH] 增加云文件选择功能 --- 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