- 安装 geometry4Sharp 1.0.0 - 更新 packages.config - 添加 DLL 引用到 NavisworksTransportPlugin.csproj - 使用 net48 版本确保 .NET Framework 4.8 兼容性 依赖项: packages\geometry4Sharp.1.0.0\lib\net48\geometry4Sharp.dll 下一步: 创建 VoxelGrid 基础数据结构
380 lines
17 KiB
XML
380 lines
17 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{1A0124F6-3DEB-4153-8760-F568AD9393EE}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>NavisworksTransport</RootNamespace>
|
|
<AssemblyName>NavisworksTransportPlugin</AssemblyName>
|
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<Deterministic>true</Deterministic>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;NAVISWORKS_2026</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE;NAVISWORKS_2026</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Navisworks 2026 API References -->
|
|
<Reference Include="Autodesk.Navisworks.Api">
|
|
<HintPath>..\..\..\..\Program Files\Autodesk\Navisworks Manage 2026\Autodesk.Navisworks.Api.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Autodesk.Navisworks.Timeliner">
|
|
<HintPath>..\..\..\..\Program Files\Autodesk\Navisworks Manage 2026\Autodesk.Navisworks.Timeliner.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Autodesk.Navisworks.Clash">
|
|
<HintPath>..\..\..\..\Program Files\Autodesk\Navisworks Manage 2026\Autodesk.Navisworks.Clash.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Autodesk.Navisworks.Controls">
|
|
<HintPath>..\..\..\..\Program Files\Autodesk\Navisworks Manage 2026\Autodesk.Navisworks.Controls.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
|
|
<!-- COM API References for 2026 -->
|
|
<Reference Include="Autodesk.Navisworks.ComApi">
|
|
<HintPath>..\..\..\..\Program Files\Autodesk\Navisworks Manage 2026\Autodesk.Navisworks.ComApi.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Autodesk.Navisworks.Interop.ComApi">
|
|
<HintPath>..\..\..\..\Program Files\Autodesk\Navisworks Manage 2026\Autodesk.Navisworks.Interop.ComApi.dll</HintPath>
|
|
<EmbedInteropTypes>False</EmbedInteropTypes>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
|
|
|
|
<!-- System References -->
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Web.Extensions" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Net.Http" />
|
|
<Reference Include="System.Xml" />
|
|
|
|
<!-- WPF References -->
|
|
<Reference Include="PresentationCore" />
|
|
<Reference Include="PresentationFramework" />
|
|
<Reference Include="WindowsBase" />
|
|
<Reference Include="System.Xaml" />
|
|
<Reference Include="WindowsFormsIntegration" />
|
|
|
|
<!-- RoyT.AStar NuGet Package -->
|
|
<Reference Include="Roy-T.AStar, Version=3.0.2.0, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>packages\RoyT.AStar.3.0.2\lib\netstandard2.0\Roy-T.AStar.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
|
|
<!-- System.Data.SQLite NuGet Package -->
|
|
<Reference Include="System.Data.SQLite">
|
|
<HintPath>packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.118.0\lib\net46\System.Data.SQLite.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
|
|
<!-- Tomlyn TOML Parser -->
|
|
<Reference Include="Tomlyn">
|
|
<HintPath>packages\Tomlyn.0.19.0\lib\netstandard2.0\Tomlyn.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
|
|
<!-- geometry4Sharp - 3D Geometry Library for Voxel Pathfinding -->
|
|
<Reference Include="geometry4Sharp">
|
|
<HintPath>packages\geometry4Sharp.1.0.0\lib\net48\geometry4Sharp.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Core - Main Plugin Files -->
|
|
<Compile Include="src\Core\MainPlugin.cs" />
|
|
<Compile Include="src\Core\PathClickToolPlugin.cs" />
|
|
<Compile Include="src\Core\PathInputMonitor.cs" />
|
|
<Compile Include="src\Core\PathPointRenderPlugin.cs" />
|
|
|
|
<!-- Core - Business Logic -->
|
|
<Compile Include="src\Core\ModelSplitterManager.cs" />
|
|
<Compile Include="src\Core\NavigationMapGenerator.cs" />
|
|
<Compile Include="src\Core\PathDataManager.cs" />
|
|
<Compile Include="src\Core\PathPlanningManager.cs" />
|
|
<Compile Include="src\Core\PathDatabase.cs" />
|
|
<Compile Include="src\Core\PathAnalysisService.cs" />
|
|
<Compile Include="src\Core\PathPlanningModels.cs" />
|
|
|
|
<!-- Core - Events and Interfaces -->
|
|
<Compile Include="src\Core\IPathPlanningManagerEvents.cs" />
|
|
<Compile Include="src\Core\PathPlanningManagerEventArgs.cs" />
|
|
|
|
<!-- Core - UI State Management -->
|
|
<Compile Include="src\Core\UIStateManager.cs" />
|
|
|
|
<!-- Core - Idle Event Management -->
|
|
<Compile Include="src\Core\IdleEventManager.cs" />
|
|
|
|
<!-- Core - Document State Management -->
|
|
<Compile Include="src\Core\DocumentStateManager.cs" />
|
|
|
|
<!-- Core - Configuration Management -->
|
|
<Compile Include="src\Core\Config\SystemConfig.cs" />
|
|
<Compile Include="src\Core\Config\ConfigManager.cs" />
|
|
|
|
<!-- Commands - Command Pattern Framework (for testing) -->
|
|
<Compile Include="src\Commands\IPathPlanningCommand.cs" />
|
|
<Compile Include="src\Commands\CommandBase.cs" />
|
|
<Compile Include="src\Commands\PathPlanningResult.cs" />
|
|
<Compile Include="src\Commands\CommandManager.cs" />
|
|
<Compile Include="src\Commands\CommandExecutor.cs" />
|
|
<Compile Include="src\Commands\PathPlanningCommands.cs" />
|
|
|
|
<!-- Commands - Specific Command Implementations -->
|
|
<Compile Include="src\Commands\AutoPathPlanningCommand.cs" />
|
|
<Compile Include="src\Commands\DeletePathCommand.cs" />
|
|
<Compile Include="src\Commands\ExportPathCommand.cs" />
|
|
<Compile Include="src\Commands\ImportPathCommand.cs" />
|
|
<Compile Include="src\Commands\SetLogisticsAttributeCommand.cs" />
|
|
<Compile Include="src\Commands\StartAnimationCommand.cs" />
|
|
<Compile Include="src\Commands\GenerateCollisionReportCommand.cs" />
|
|
|
|
<!-- Core - Animation System -->
|
|
<Compile Include="src\Core\Animation\PathAnimationManager.cs" />
|
|
<Compile Include="src\Core\Animation\TimeLinerIntegrationManager.cs" />
|
|
|
|
<!-- Core - Collision Detection -->
|
|
<Compile Include="src\Core\Collision\ClashDetectiveIntegration.cs" />
|
|
|
|
<!-- Core - Properties Management -->
|
|
<Compile Include="src\Core\Properties\AttributeGrouper.cs" />
|
|
<Compile Include="src\Core\Properties\CategoryAttributeManager.cs" />
|
|
<Compile Include="src\Core\Properties\NavisworksComPropertyManager.cs" />
|
|
<Compile Include="src\Core\FloorAttributeManager.cs" />
|
|
|
|
<!-- PathPlanning - Auto Path Planning -->
|
|
<Compile Include="src\PathPlanning\GridMap.cs" />
|
|
<Compile Include="src\PathPlanning\GridMapGenerator.cs" />
|
|
<Compile Include="src\PathPlanning\GridCellBuilder.cs" />
|
|
<Compile Include="src\PathPlanning\AutoPathFinder.cs" />
|
|
<Compile Include="src\PathPlanning\GridPoint2D.cs" />
|
|
<Compile Include="src\PathPlanning\AutoPathPlanningValidationResult.cs" />
|
|
<Compile Include="src\PathPlanning\ChannelHeightDetector.cs" />
|
|
<Compile Include="src\PathPlanning\SlopeAnalyzer.cs" />
|
|
<Compile Include="src\PathPlanning\OptimizedHeightCalculator.cs" />
|
|
<Compile Include="src\PathPlanning\ChannelBasedGridBuilder.cs" />
|
|
<Compile Include="src\PathPlanning\PathOptimizer.cs" />
|
|
<Compile Include="src\PathPlanning\TimeMarkerCalculationService.cs" />
|
|
<Compile Include="src\PathPlanning\GridMapCacheKey.cs" />
|
|
<Compile Include="src\PathPlanning\GridMapCache.cs" />
|
|
|
|
<!-- UI - WPF -->
|
|
<Compile Include="src\UI\WPF\Views\LogisticsControlPanel.xaml.cs">
|
|
<DependentUpon>LogisticsControlPanel.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\ModelSettingsView.xaml.cs">
|
|
<DependentUpon>ModelSettingsView.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\PathEditingView.xaml.cs">
|
|
<DependentUpon>PathEditingView.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\AnimationControlView.xaml.cs">
|
|
<DependentUpon>AnimationControlView.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\SystemManagementView.xaml.cs">
|
|
<DependentUpon>SystemManagementView.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\LayerManagementView.xaml.cs">
|
|
<DependentUpon>LayerManagementView.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\HelpDialog.xaml.cs">
|
|
<DependentUpon>HelpDialog.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\AboutDialog.xaml.cs">
|
|
<DependentUpon>AboutDialog.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\LogViewerDialog.xaml.cs">
|
|
<DependentUpon>LogViewerDialog.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\ConfigEditorDialog.xaml.cs">
|
|
<DependentUpon>ConfigEditorDialog.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\CollisionReportDialog.xaml.cs">
|
|
<DependentUpon>CollisionReportDialog.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\TimeTagDialog.xaml.cs">
|
|
<DependentUpon>TimeTagDialog.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\PathAnalysisDialog.xaml.cs">
|
|
<DependentUpon>PathAnalysisDialog.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\GenerateNavigationMapDialog.xaml.cs">
|
|
<DependentUpon>GenerateNavigationMapDialog.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="src\UI\WPF\Views\MediaControlBar.xaml.cs">
|
|
<DependentUpon>MediaControlBar.xaml</DependentUpon>
|
|
</Compile>
|
|
|
|
<!-- UI - WPF ViewModels -->
|
|
<Compile Include="src\UI\WPF\ViewModels\ViewModelBase.cs" />
|
|
<Compile Include="src\UI\WPF\ViewModels\LogisticsControlViewModel.cs" />
|
|
<Compile Include="src\UI\WPF\ViewModels\LayerManagementViewModel.cs" />
|
|
<Compile Include="src\UI\WPF\ViewModels\ModelSettingsViewModel.cs" />
|
|
<Compile Include="src\UI\WPF\ViewModels\AnimationControlViewModel.cs" />
|
|
<Compile Include="src\UI\WPF\ViewModels\PathEditingViewModel.cs" />
|
|
<Compile Include="src\UI\WPF\ViewModels\SystemManagementViewModel.cs" />
|
|
<Compile Include="src\UI\WPF\ViewModels\CollisionReportViewModel.cs" />
|
|
<Compile Include="src\UI\WPF\ViewModels\PathAnalysisViewModel.cs" />
|
|
<Compile Include="src\UI\WPF\ViewModels\TimeTagViewModel.cs" />
|
|
|
|
<!-- UI - WPF Collections -->
|
|
<Compile Include="src\UI\WPF\Collections\ThreadSafeObservableCollection.cs" />
|
|
|
|
<!-- UI - WPF Interfaces -->
|
|
<Compile Include="src\UI\WPF\Interfaces\IPropertyChangeNotifier.cs" />
|
|
|
|
<!-- UI - WPF Services -->
|
|
<Compile Include="src\UI\WPF\Services\BindingExpressionOptimizer.cs" />
|
|
<Compile Include="src\UI\WPF\Services\DataBindingPerformanceMonitor.cs" />
|
|
<Compile Include="src\UI\WPF\Services\SmartDataBindingOptimizer.cs" />
|
|
|
|
<!-- UI - WPF Commands and Models -->
|
|
<Compile Include="src\UI\WPF\Commands\RelayCommand.cs" />
|
|
<Compile Include="src\UI\WPF\Commands\LayerManagementCommands.cs" />
|
|
<Compile Include="src\UI\WPF\Converters\BoolToVisibilityConverter.cs" />
|
|
<Compile Include="src\UI\WPF\Converters\IndexConverter.cs" />
|
|
<Compile Include="src\UI\WPF\Converters\CountToVisibilityConverter.cs" />
|
|
<Compile Include="src\UI\WPF\Models\LogisticsModel.cs" />
|
|
<Compile Include="src\UI\WPF\Models\PathRouteViewModel.cs" />
|
|
<Compile Include="src\UI\WPF\Models\SplitPreviewItem.cs" />
|
|
|
|
<!-- Utils -->
|
|
<Compile Include="src\Utils\BoundingBoxGeometryUtils.cs" />
|
|
<Compile Include="src\Utils\ComApiBase.cs" />
|
|
<Compile Include="src\Utils\CoordinateConverter.cs" />
|
|
<Compile Include="src\Utils\FloorDetector.cs" />
|
|
<Compile Include="src\Utils\ModelItemAnalysisHelper.cs" />
|
|
<Compile Include="src\Utils\GeometryHelper.cs" />
|
|
<Compile Include="src\Utils\LogManager.cs" />
|
|
<Compile Include="src\Utils\NavisworksApiHelper.cs" />
|
|
<Compile Include="src\Utils\NavisworksSelectionHelper.cs" />
|
|
<Compile Include="src\Utils\UnitsConverter.cs" />
|
|
<Compile Include="src\Utils\VisibilityHelper.cs" />
|
|
|
|
<!-- Assembly Info -->
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- WPF XAML Files -->
|
|
<Page Include="src\UI\WPF\Views\LogisticsControlPanel.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\ModelSettingsView.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\PathEditingView.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\AnimationControlView.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\SystemManagementView.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\LayerManagementView.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\HelpDialog.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\AboutDialog.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\LogViewerDialog.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\ConfigEditorDialog.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\CollisionReportDialog.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\TimeTagDialog.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\PathAnalysisDialog.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\GenerateNavigationMapDialog.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Views\MediaControlBar.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<!-- Shared Resource Dictionary -->
|
|
<Page Include="src\UI\WPF\Resources\NavisworksStyles.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="src\UI\WPF\Resources\MediaControlIcons.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WinFX\3.0\Microsoft.WinFX.targets" Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\WinFX\3.0\Microsoft.WinFX.targets')" />
|
|
|
|
<ItemGroup>
|
|
<!-- Localization Files -->
|
|
<None Include="src\Resources\NavisworksTransport.Tian.name.txt">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
<Link>NavisworksTransport.Tian.name.txt</Link>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
|
|
<!-- Import NETStandard.Library targets to support .NET Standard 2.0 libraries -->
|
|
<Import Project="packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
|
|
</Project>
|