From 1539403bae3d76f44d6204507846e507980eba29 Mon Sep 17 00:00:00 2001 From: "sushi.at" Date: Wed, 20 Dec 2023 12:30:19 +0000 Subject: [PATCH] Set default fuel override to NotUsed for new types Added changelog, bumped to 5.12 --- OpenSky.Agent.SimConnectMSFS/Properties/AssemblyInfo.cs | 4 ++-- OpenSky.Agent.Simulator/Properties/AssemblyInfo.cs | 4 ++-- OpenSky.Agent.UdpXPlane11/Properties/AssemblyInfo.cs | 4 ++-- OpenSky.Agent/Properties/AssemblyInfo.cs | 4 ++-- OpenSky.Agent/Views/Models/AddAircraftViewModel.cs | 1 + changelog.txt | 5 +++++ 6 files changed, 14 insertions(+), 8 deletions(-) diff --git a/OpenSky.Agent.SimConnectMSFS/Properties/AssemblyInfo.cs b/OpenSky.Agent.SimConnectMSFS/Properties/AssemblyInfo.cs index ef8bbc7..c0efc0b 100644 --- a/OpenSky.Agent.SimConnectMSFS/Properties/AssemblyInfo.cs +++ b/OpenSky.Agent.SimConnectMSFS/Properties/AssemblyInfo.cs @@ -17,5 +17,5 @@ [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("1f9cbede-669d-4510-bca2-e6ad29d6a498")] -[assembly: AssemblyVersion("0.5.11")] -[assembly: AssemblyFileVersion("0.5.11")] +[assembly: AssemblyVersion("0.5.12")] +[assembly: AssemblyFileVersion("0.5.12")] diff --git a/OpenSky.Agent.Simulator/Properties/AssemblyInfo.cs b/OpenSky.Agent.Simulator/Properties/AssemblyInfo.cs index c2a0b1c..d589778 100644 --- a/OpenSky.Agent.Simulator/Properties/AssemblyInfo.cs +++ b/OpenSky.Agent.Simulator/Properties/AssemblyInfo.cs @@ -18,6 +18,6 @@ [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("30c467e8-2eee-41e5-be01-0142a61ba171")] -[assembly: AssemblyVersion("0.5.11")] -[assembly: AssemblyFileVersion("0.5.11")] +[assembly: AssemblyVersion("0.5.12")] +[assembly: AssemblyFileVersion("0.5.12")] [assembly: InternalsVisibleTo("OpenSky.Agent")] diff --git a/OpenSky.Agent.UdpXPlane11/Properties/AssemblyInfo.cs b/OpenSky.Agent.UdpXPlane11/Properties/AssemblyInfo.cs index d0c3093..21d7209 100644 --- a/OpenSky.Agent.UdpXPlane11/Properties/AssemblyInfo.cs +++ b/OpenSky.Agent.UdpXPlane11/Properties/AssemblyInfo.cs @@ -17,5 +17,5 @@ [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("dfbda2b8-5775-4766-be86-d729fcf20de1")] -[assembly: AssemblyVersion("0.5.11")] -[assembly: AssemblyFileVersion("0.5.11")] +[assembly: AssemblyVersion("0.5.12")] +[assembly: AssemblyFileVersion("0.5.12")] diff --git a/OpenSky.Agent/Properties/AssemblyInfo.cs b/OpenSky.Agent/Properties/AssemblyInfo.cs index 0dcbb01..64bfb2c 100644 --- a/OpenSky.Agent/Properties/AssemblyInfo.cs +++ b/OpenSky.Agent/Properties/AssemblyInfo.cs @@ -21,8 +21,8 @@ [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: ThemeInfo(ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly)] -[assembly: AssemblyVersion("0.5.11")] -[assembly: AssemblyFileVersion("0.5.11")] +[assembly: AssemblyVersion("0.5.12")] +[assembly: AssemblyFileVersion("0.5.12")] // This allows us to detect debug mode in XAML #if DEBUG diff --git a/OpenSky.Agent/Views/Models/AddAircraftViewModel.cs b/OpenSky.Agent/Views/Models/AddAircraftViewModel.cs index 3c22763..7f4c45b 100644 --- a/OpenSky.Agent/Views/Models/AddAircraftViewModel.cs +++ b/OpenSky.Agent/Views/Models/AddAircraftViewModel.cs @@ -328,6 +328,7 @@ private void AddAircraftType() MaxGrossWeight = Math.Round(this.Simulator.WeightAndBalance.MaxGrossWeight, 0), FlapsAvailable = this.Simulator.AircraftIdentity.FlapsAvailable, IsGearRetractable = this.Simulator.AircraftIdentity.GearRetractable, + OverrideFuelType = FuelType.NotUsed, Name = this.Name, Comments = this.Comments, Simulator = this.Simulator.SimulatorType diff --git a/changelog.txt b/changelog.txt index f1dd190..25d559b 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,11 @@ OpenSky Flight Tracking Agent Changelog ====================================================================================== +-------------------------------------------------------------------------------------- +Version 0.5.12 (ALPHA5) +-------------------------------------------------------------------------------------- +- Fixed default AvGas override for new aircraft + -------------------------------------------------------------------------------------- Version 0.5.11 (ALPHA5) --------------------------------------------------------------------------------------