| | |
| | | /// </summary> |
| | | public async Task OverrideComponentsColor(List<string> elementIds, string color, double transparency) |
| | | { |
| | | if (_bimfaceInteropContainer == null) |
| | | await _bimfaceInteropContainer?.OverrideComponentsColor(elementIds, color, transparency); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 设置强调构件 |
| | | /// </summary> |
| | | public async Task OverrideComponentsColor(string elementId, string color, double transparency) |
| | | { |
| | | if (string.IsNullOrEmpty(elementId)) |
| | | { |
| | | return; |
| | | } |
| | | await _bimfaceInteropContainer.OverrideComponentsColor(elementIds, color, transparency); |
| | | await _bimfaceInteropContainer.OverrideComponentsColor(new List<string>() { elementId }, color, transparency); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public async Task RestoreComponentsColor(List<string> elementIds) |
| | | { |
| | | if (_bimfaceInteropContainer == null) |
| | | await _bimfaceInteropContainer?.RestoreComponentsColor(elementIds); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 恢复构件颜色 |
| | | /// </summary> |
| | | public async Task RestoreComponentsColor(string elementId) |
| | | { |
| | | if (string.IsNullOrEmpty(elementId)) |
| | | { |
| | | return; |
| | | } |
| | | await _bimfaceInteropContainer.RestoreComponentsColor(elementIds); |
| | | await _bimfaceInteropContainer?.RestoreComponentsColor(new List<string>() { elementId }); |
| | | } |
| | | |
| | | #endregion |
| | |
| | | public async Task SetLogicMarkLeadLabels(List<LogicMarkLeadLabel> obj) |
| | | { |
| | | await _bimfaceInteropContainer?.SetLogicMarkLeadLabels(obj); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 更新业务标注引线标签 |
| | | /// </summary> |
| | | public async Task UpdateLogicMarkLeadLabel(LogicMarkLeadLabel obj) |
| | | { |
| | | await _bimfaceInteropContainer?.UpdateLogicMarkLeadLabel(obj); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 更新业务标注引线标签 |
| | | /// </summary> |
| | | public async Task UpdateLogicMarkLeadLabels(List<LogicMarkLeadLabel> obj) |
| | | { |
| | | await _bimfaceInteropContainer?.UpdateLogicMarkLeadLabels(obj); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | |
| | | #endregion |
| | | |
| | | #region 业务监测点 |
| | | |
| | | /// <summary> |
| | | /// 设置业务监测点 |
| | | /// </summary> |
| | | public async Task SetLogicMonitors(List<LogicMonitor> obj) |
| | | { |
| | | await _bimfaceInteropContainer?.SetLogicMonitors(obj); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 清除业务监测点 |
| | | /// </summary> |
| | | public async Task ClearLogicMonitors() |
| | | { |
| | | await _bimfaceInteropContainer?.ClearLogicMonitors(); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | } |
| | | } |