Skip to content

Commit

Permalink
FULL UPGRADE
Browse files Browse the repository at this point in the history
Полностью переработан код:

Изменен принцип загрузки с синхронного, на ассинхронный, снизив скорость открытия программы с 5 минут до 2-4 секунд.

Добавлено описание и документирование.
  • Loading branch information
Dvurechensky committed Jul 29, 2023
1 parent 603d0c4 commit 19b6e70
Show file tree
Hide file tree
Showing 7,204 changed files with 624,433 additions and 613 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Binary file not shown.
Binary file not shown.
Binary file added .vs/FLCompanionByDvurechensky/v17/.suo
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .vs/Freelancer Companion by Dormammu/v16/.suo
Binary file not shown.
Binary file modified .vs/Freelancer Companion by Dormammu/v17/.suo
Binary file not shown.
Binary file modified .vs/Freelancer Companion by Dormammu/v17/TestStore/0/000.testlog
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.1169
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Freelancer Companion by Dormammu", "Freelancer Companion by Dormammu\Freelancer Companion by Dormammu.csproj", "{71B7AFC2-EB05-4098-9A50-71801EC5B23D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FLCompanionByDvurechensky", "FLCompanionByDvurechensky\FLCompanionByDvurechensky.csproj", "{71B7AFC2-EB05-4098-9A50-71801EC5B23D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down
File renamed without changes.
File renamed without changes.
23 changes: 23 additions & 0 deletions FLCompanionByDvurechensky/Data/ComboBoxItem.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
namespace FLCompanionByDvurechensky.Data
{
/// <summary>
/// Кастомизированный объект Combobox
/// </summary>
public class ComboBoxItem
{
/// <summary>
/// Текстовое поле
/// </summary>
public string Text { get; set; }

/// <summary>
/// Идентификатор
/// </summary>
public string ID { get; set; }

public override string ToString()
{
return Text;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Freelancer_Companion_by_Dormammu.Data
namespace FLCompanionByDvurechensky.Data
{
/// <summary>
/// Оборудование
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
using System.Collections.Generic;

namespace Freelancer_Companion_by_Dormammu.Data
namespace FLCompanionByDvurechensky.Data
{
/// <summary>
/// Сюрпризик
/// </summary>
public class Loadout
{
/// <summary>
/// Конструктор
/// </summary>
public Loadout()
{
Cargo = new List<Cargo>();
}

/// <summary>
/// Имя сюрприза
/// </summary>
Expand All @@ -25,6 +29,9 @@ public Loadout()
public List<Cargo> Cargo { get; set; }
}

/// <summary>
/// Объект данных груза
/// </summary>
public class Cargo
{
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Freelancer_Companion_by_Dormammu.Data
namespace FLCompanionByDvurechensky.Data
{
/// <summary>
/// Зона добычи груза
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Freelancer_Companion_by_Dormammu.Data
namespace FLCompanionByDvurechensky.Data
{
/// <summary>
/// Класс объектов системы
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
namespace Freelancer_Companion_by_Dormammu.Data
namespace FLCompanionByDvurechensky.Data
{
/// <summary>
/// Объект базы
/// </summary>
public class UniverseBase
{
/// <summary>
Expand All @@ -15,7 +18,7 @@ public class UniverseBase
/// </summary>
public string DLL_Name { get; set; }
/// <summary>
/// Ссы
/// Имя базы
/// </summary>
public string Name { get; set; }
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
using System;
using System.Collections.Generic;

namespace Freelancer_Companion_by_Dormammu.Data
namespace FLCompanionByDvurechensky.Data
{
/// <summary>
/// Объект системы
/// </summary>
public class UniverseSystem
{
/// <summary>
/// Консруктор
/// </summary>
public UniverseSystem()
{
Objects = new List<ObjectSystem>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Freelancer_Companion_by_Dormammu.Data
namespace FLCompanionByDvurechensky.Data
{
/// <summary>
/// Класс зоны системы
Expand Down
7 changes: 7 additions & 0 deletions FLCompanionByDvurechensky/Extensions/Extension.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
namespace Freelancer_Companion_by_Dormammu.Extensions
{
public static class Extension
{

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{71B7AFC2-EB05-4098-9A50-71801EC5B23D}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>Freelancer_Companion_by_Dormammu</RootNamespace>
<AssemblyName>Freelancer Companion by Dormammu</AssemblyName>
<RootNamespace>FLCompanionByDvurechensky</RootNamespace>
<AssemblyName>FLCompanionByDvurechensky</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
Expand All @@ -32,6 +32,9 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>ico.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="GraphX.Standard.Common, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\GraphX.3.0.0\lib\net461\GraphX.Standard.Common.dll</HintPath>
Expand Down Expand Up @@ -103,6 +106,7 @@
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
Expand All @@ -125,6 +129,7 @@
</Page>
</ItemGroup>
<ItemGroup>
<Content Include="ico.ico" />
<Content Include="Resources\tr_red.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 19b6e70

Please sign in to comment.