【类 型】:refactor

【主	题】:分理处FlightRoute类库 作为动态库调用
【描	述】:
	[原因]:分理处FlightRoute类库 作为动态库调用
	[过程]:
	[影响]:
【结	束】

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
tk 2024-06-24 19:50:11 +08:00
parent 44ab798803
commit 8f21f78d69
84 changed files with 194 additions and 23 deletions

Binary file not shown.

BIN
.vs/FlyExe/v16/.suo Normal file

Binary file not shown.

Binary file not shown.

BIN
.vs/FlyExe/v17/.suo Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -747,7 +747,7 @@ namespace FlightRoute
}
private static Vector3[] ABypassB(Vector3[] startPos, Vector3[] middlePos, Vector3[] endPos, List<int> check, double[] mRate, SomeCalculateWay StrPrint, int loopIndex = 800, double offsetDistance = 60)//法线螺旋线绕行
{
StrPrint("需要绕行总共"+ check.Count + "架。");
StrPrint("需要绕行总共" + check.Count + "架。");
bool pa;
//设置绕行
foreach (int id in check)

View File

@ -0,0 +1,48 @@
<?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>{9BFB2123-2239-4A85-B5BC-0328CE7640D7}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FlightRoute</RootNamespace>
<AssemblyName>FlightRoute</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</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<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" />
</ItemGroup>
<ItemGroup>
<Compile Include="FlightRoute.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("FlightRoute")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FlightRoute")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("9bfb2123-2239-4a85-b5bc-0328ce7640d7")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]

View File

@ -0,0 +1 @@
3884201cdd256702b4d734e4d5e81513519d038e

View File

@ -0,0 +1,6 @@
F:\company\flyCube\repos\FlyExe\FlightRoute\bin\Debug\FlightRoute.dll
F:\company\flyCube\repos\FlyExe\FlightRoute\bin\Debug\FlightRoute.pdb
F:\company\flyCube\repos\FlyExe\FlightRoute\obj\Debug\FlightRoute.csproj.AssemblyReference.cache
F:\company\flyCube\repos\FlyExe\FlightRoute\obj\Debug\FlightRoute.csproj.CoreCompileInputs.cache
F:\company\flyCube\repos\FlyExe\FlightRoute\obj\Debug\FlightRoute.dll
F:\company\flyCube\repos\FlyExe\FlightRoute\obj\Debug\FlightRoute.pdb

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]

View File

@ -0,0 +1 @@
8a21238a0be619c02970148768588d6e770a7432

View File

@ -0,0 +1,6 @@
F:\company\flyCube\repos\FlyExe\FlightRoute\bin\Release\FlightRoute.dll
F:\company\flyCube\repos\FlyExe\FlightRoute\bin\Release\FlightRoute.pdb
F:\company\flyCube\repos\FlyExe\FlightRoute\obj\Release\FlightRoute.csproj.AssemblyReference.cache
F:\company\flyCube\repos\FlyExe\FlightRoute\obj\Release\FlightRoute.csproj.CoreCompileInputs.cache
F:\company\flyCube\repos\FlyExe\FlightRoute\obj\Release\FlightRoute.dll
F:\company\flyCube\repos\FlyExe\FlightRoute\obj\Release\FlightRoute.pdb

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
FlyExe/.vs/FlyExe/v17/.suo Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -39,6 +39,9 @@
<PropertyGroup>
<ApplicationIcon>lnk.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<StartupObject>FlyExe.App</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
@ -67,7 +70,6 @@
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="FlightRoute.cs" />
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
@ -100,5 +102,11 @@
<ItemGroup>
<Resource Include="lnk.ico" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\FlightRoute\FlightRoute.csproj">
<Project>{9bfb2123-2239-4a85-b5bc-0328ce7640d7}</Project>
<Name>FlightRoute</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -1,9 +1,11 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.1062
# Visual Studio Version 17
VisualStudioVersion = 17.7.34018.315
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FlyExe", "FlyExe\FlyExe.csproj", "{BA9182A4-6469-46E6-9F89-A65E88261FE2}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FlyExe", "FlyExe.csproj", "{BA9182A4-6469-46E6-9F89-A65E88261FE2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FlightRoute", "..\FlightRoute\FlightRoute.csproj", "{9BFB2123-2239-4A85-B5BC-0328CE7640D7}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -15,6 +17,10 @@ Global
{BA9182A4-6469-46E6-9F89-A65E88261FE2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BA9182A4-6469-46E6-9F89-A65E88261FE2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BA9182A4-6469-46E6-9F89-A65E88261FE2}.Release|Any CPU.Build.0 = Release|Any CPU
{9BFB2123-2239-4A85-B5BC-0328CE7640D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9BFB2123-2239-4A85-B5BC-0328CE7640D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9BFB2123-2239-4A85-B5BC-0328CE7640D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9BFB2123-2239-4A85-B5BC-0328CE7640D7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

3
FlyExe/app.config Normal file
View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

Binary file not shown.

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "88D2FCC0D14F72D150CCF75A242EBFBA9C3DCC95"
#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1791ED17CFCFA5FCE2A3BC6EA9051B84A0B7F001904B3CA6C85B128240339F17"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。

Binary file not shown.

View File

@ -1 +1 @@
e16fc739e9ec147644c375ff4511444c12a43969
e662434ff5b0c29c5fe2377c1f792c99cff288ed

View File

@ -12,3 +12,21 @@ C:\Users\ddkk\source\repos\FlyExe\FlyExe\obj\Debug\FlyExe.csproj.GenerateResourc
C:\Users\ddkk\source\repos\FlyExe\FlyExe\obj\Debug\FlyExe.csproj.CoreCompileInputs.cache
C:\Users\ddkk\source\repos\FlyExe\FlyExe\obj\Debug\FlyExe.exe
C:\Users\ddkk\source\repos\FlyExe\FlyExe\obj\Debug\FlyExe.pdb
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\FlyExe.exe
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\FlyExe.pdb
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\FlyExe.csproj.AssemblyReference.cache
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\MainWindow.g.cs
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\App.g.cs
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\FlyExe_MarkupCompile.cache
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\FlyExe_MarkupCompile.lref
F:\company\flyCube\repos\FlyExe\FlyExe\bin\Debug\FlyExe.exe.config
F:\company\flyCube\repos\FlyExe\FlyExe\bin\Debug\FlyExe.exe
F:\company\flyCube\repos\FlyExe\FlyExe\bin\Debug\FlyExe.pdb
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\MainWindow.baml
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\FlyExe.g.resources
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\FlyExe.Properties.Resources.resources
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\FlyExe.csproj.GenerateResource.cache
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\FlyExe.csproj.CoreCompileInputs.cache
F:\company\flyCube\repos\FlyExe\FlyExe\bin\Debug\FlightRoute.dll
F:\company\flyCube\repos\FlyExe\FlyExe\bin\Debug\FlightRoute.pdb
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\FlyExe.csproj.CopyComplete

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -4,17 +4,17 @@
winexe
C#
.cs
f:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Debug\
FlyExe
none
false
DEBUG;TRACE
f:\company\flyCube\repos\FlyExe\FlyExe\App.xaml
11151548125
F:\company\flyCube\repos\FlyExe\FlyExe\App.xaml
1219584333
6275622168
121654848548
51579654133
13-237701858
MainWindow.xaml;
True
False

View File

@ -10,10 +10,10 @@ none
false
DEBUG;TRACE
F:\company\flyCube\repos\FlyExe\FlyExe\App.xaml
11151548125
1219584333
7-339959000
121654848548
6-793535042
13-237701858
MainWindow.xaml;
True

View File

@ -0,0 +1,4 @@

FF:\company\flyCube\repos\FlyExe\FlyExe\MainWindow.xaml;;

View File

@ -1,4 +1,4 @@

Ff:\company\flyCube\repos\FlyExe\FlyExe\MainWindow.xaml;;
FF:\company\flyCube\repos\FlyExe\FlyExe\MainWindow.xaml;;

Binary file not shown.

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "FCA230EF8F254D9354ACE2DF79A22DA52FB657CC"
#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0359BD5A430D6DD62687931B950585C6687C5CC0F99DF9C892B794E4DCF17C29"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]

View File

@ -1 +1 @@
0b80e210afd5d72a366960bb740ba613f795730c
1b12603bd28975c3152ead629bcdc090094ba454

View File

@ -26,3 +26,6 @@ F:\company\flyCube\repos\FlyExe\FlyExe\obj\Release\FlyExe.exe
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Release\FlyExe.pdb
F:\company\flyCube\repos\FlyExe\FlyExe\bin\Release\FlyExe.exe.config
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Release\FlyExe.csproj.AssemblyReference.cache
F:\company\flyCube\repos\FlyExe\FlyExe\bin\Release\FlightRoute.dll
F:\company\flyCube\repos\FlyExe\FlyExe\bin\Release\FlightRoute.pdb
F:\company\flyCube\repos\FlyExe\FlyExe\obj\Release\FlyExe.csproj.CopyComplete

Binary file not shown.

Binary file not shown.

View File

@ -12,8 +12,8 @@ TRACE
F:\company\flyCube\repos\FlyExe\FlyExe\App.xaml
1219584333
6-456654908
121182277259
51579654133
13365860442
MainWindow.xaml;
False

View File

@ -12,9 +12,9 @@ TRACE
F:\company\flyCube\repos\FlyExe\FlyExe\App.xaml
1219584333
7-1018797491
61017511550
121182277259
MainWindow.xaml;
True
False

1
readme.md Normal file
View File

@ -0,0 +1 @@
独立运行 3D绕行软件