Skip to content

Commit

Permalink
- Introduction of visualization
Browse files Browse the repository at this point in the history
- Difference in Distribution of B747-400 and B747-8
  • Loading branch information
MagicOizo committed Apr 28, 2021
1 parent 3ede588 commit 15d2d1e
Show file tree
Hide file tree
Showing 34 changed files with 979 additions and 150 deletions.
Binary file modified src/.vs/B747 Fuel Distribution Calculator/v16/.suo
Binary file not shown.
11 changes: 5 additions & 6 deletions src/B747 Fuel Distribution Calculator/Aircraft.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;

namespace B747_Fuel_Distribution_Calculator
{
Expand All @@ -19,7 +15,9 @@ class Aircraft
public int[] Labels { get; private set; }
public string[] TankNames { get; private set; }

public Aircraft(string AircraftName, long MainTreshold14, long MainLimit14, long MainLimit23, long ReserveLimit14, long CenterLimit, long StabLimit, long CapacityLimit, int[] Labels, string[] TankNames)
public Bitmap Visualization { get; private set; }

public Aircraft(string AircraftName, long MainTreshold14, long MainLimit14, long MainLimit23, long ReserveLimit14, long CenterLimit, long StabLimit, long CapacityLimit, int[] Labels, string[] TankNames, Bitmap Visualization)
{
this.AircraftName = AircraftName;
this.MainLimit14 = MainLimit14;
Expand All @@ -31,6 +29,7 @@ public Aircraft(string AircraftName, long MainTreshold14, long MainLimit14, long
this.CapacityLimit = CapacityLimit;
this.Labels = Labels;
this.TankNames = TankNames;
this.Visualization = Visualization;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?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>
Expand Down Expand Up @@ -67,6 +67,7 @@
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
Expand All @@ -81,5 +82,14 @@
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\ScematicB744.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\ScematicB748F.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\ScematicB748I.png" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
</Project>
34 changes: 32 additions & 2 deletions src/B747 Fuel Distribution Calculator/B747FDC.Designer.cs

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

Loading

0 comments on commit 15d2d1e

Please sign in to comment.