diff --git a/src/Core/Animation/PathAnimationManager.cs b/src/Core/Animation/PathAnimationManager.cs index e90161a..cedeb53 100644 --- a/src/Core/Animation/PathAnimationManager.cs +++ b/src/Core/Animation/PathAnimationManager.cs @@ -139,9 +139,6 @@ namespace NavisworksTransport.Core.Animation /// 当动画进度更新时触发 (0.0-100.0) /// public event EventHandler ProgressChanged; - - // 动画完成事件 (旧版,保留兼容性) - public event EventHandler AnimationCompleted; /// /// 当检测到碰撞时触发 @@ -901,9 +898,6 @@ namespace NavisworksTransport.Core.Animation var actualTotalFrames = _animationFrames?.Count ?? 0; LogManager.Info($"动画播放完成,总帧数: {actualTotalFrames}, 平均FPS: {_actualFPS:F1}"); - // 触发旧版完成事件(保持兼容性) - AnimationCompleted?.Invoke(this, EventArgs.Empty); - // 更新 TimeLiner 任务状态 if (_timeLinerManager != null && !string.IsNullOrEmpty(_currentTaskId)) { diff --git a/src/Core/ModelSplitterManager.cs b/src/Core/ModelSplitterManager.cs index 4d17d0e..d56cbc3 100644 --- a/src/Core/ModelSplitterManager.cs +++ b/src/Core/ModelSplitterManager.cs @@ -1580,18 +1580,6 @@ namespace NavisworksTransport } } - /// - /// 生成文件名(旧版本兼容性方法) - /// - /// 分层名称 - /// 配置信息 - /// 文件名(不包括路径) - private string GenerateFileName(string layerName, SplitConfiguration config) - { - // 使用默认策略调用新版本方法 - return GenerateFileName(layerName, config.Strategy, config); - } - /// /// 获取根节点名称 - 新的智能文件名格式使用 /// 逻辑:文档文件名 → 第一个模型根项DisplayName → "NavisworksModel" diff --git a/src/UI/WPF/ViewModels/LayerManagementViewModel.cs b/src/UI/WPF/ViewModels/LayerManagementViewModel.cs index e5c4a3a..ee83926 100644 --- a/src/UI/WPF/ViewModels/LayerManagementViewModel.cs +++ b/src/UI/WPF/ViewModels/LayerManagementViewModel.cs @@ -1708,18 +1708,6 @@ namespace NavisworksTransport.UI.WPF.ViewModels } } - /// - /// 生成文件名(旧版本兼容性方法) - /// - /// 分层名称 - /// 配置信息 - /// 文件名(不包括路径) - private string GenerateFileName(string layerName, ModelSplitterManager.SplitConfiguration config) - { - // 使用默认策略调用新版本方法 - return GenerateFileName(layerName, config.Strategy, config); - } - /// /// 导出分层到NWD文件 ///