diff --git a/misc/BreCalApi.cs b/misc/BreCalApi.cs index a15073d..f094063 100644 --- a/misc/BreCalApi.cs +++ b/misc/BreCalApi.cs @@ -4842,7 +4842,7 @@ namespace BreCalClient.misc.Client { new Dictionary { {"url", "https://brecal.bsmd-emswe.eu"}, - {"description", "Test server hosted on vcup"}, + {"description", "Server hosted on vcup"}, } } }; diff --git a/misc/BreCalApi.yaml b/misc/BreCalApi.yaml index 06c6b96..d44b28d 100644 --- a/misc/BreCalApi.yaml +++ b/misc/BreCalApi.yaml @@ -15,7 +15,7 @@ info: url: 'https://www.bsmd.de/license' servers: - url: 'https://brecal.bsmd-emswe.eu' - description: Test server hosted on vcup + description: Server hosted on vcup tags: - name: user - name: shipcall diff --git a/misc/product_codes.txt b/misc/product_codes.txt new file mode 100644 index 0000000..dbb4e54 --- /dev/null +++ b/misc/product_codes.txt @@ -0,0 +1,14 @@ +Bremen calling Installer Upgrade Codes: +====================================== + +Test: 1C7FA3E4-BAB9-4911-9348-73094357FC7C +Prod: 81A329F1-C663-48DA-9E15-DAF19F99B5AE + +Product codes v1.2.2.3: + +Test: 6F89CBAA-2189-456F-A347-0C0158325B61 +Prod: 0ED342DD-DC00-4CE4-8348-96BB3AB726B1 + +Note: +If you want the MSI to "upgrade" from one version to the other, the +upgrade code must stay the same and the product code must change. \ No newline at end of file diff --git a/src/BreCalClient/App.config b/src/BreCalClient/App.config index 3dd7a2e..dd96a94 100644 --- a/src/BreCalClient/App.config +++ b/src/BreCalClient/App.config @@ -83,6 +83,9 @@ 0 + + + \ No newline at end of file diff --git a/src/BreCalClient/BreCalClient.csproj b/src/BreCalClient/BreCalClient.csproj index 6333a24..bfe54c5 100644 --- a/src/BreCalClient/BreCalClient.csproj +++ b/src/BreCalClient/BreCalClient.csproj @@ -8,8 +8,8 @@ True BreCalClient.App ..\..\misc\brecal.snk - 1.2.2.3 - 1.2.2.3 + 1.3.0.4 + 1.3.0.4 Bremen calling client A Windows WPF client for the Bremen calling API. containership.ico diff --git a/src/BreCalClient/BreCalLists.cs b/src/BreCalClient/BreCalLists.cs index 4fe6b2f..b0316a2 100644 --- a/src/BreCalClient/BreCalLists.cs +++ b/src/BreCalClient/BreCalLists.cs @@ -144,9 +144,12 @@ namespace BreCalClient internal static void InitializeShips(List ships) { + _ships.Clear(); + _allShips.Clear(); + foreach (var ship in ships) { - ShipModel sm = new ShipModel(ship); + ShipModel sm = new(ship); _shipLookupDict[ship.Id] = sm; if (!ship.Deleted) _ships.Add(sm); diff --git a/src/BreCalClient/EditShipcallControl.xaml b/src/BreCalClient/EditShipcallControl.xaml index 71eac00..006256f 100644 --- a/src/BreCalClient/EditShipcallControl.xaml +++ b/src/BreCalClient/EditShipcallControl.xaml @@ -8,7 +8,7 @@ xmlns:api="clr-namespace:BreCalClient.misc.Model" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" mc:Ignorable="d" Left="{local:SettingBinding W1Left}" Top="{local:SettingBinding W1Top}" - Title="{x:Static p:Resources.textEditShipcall}" Height="270" Width="800" Loaded="Window_Loaded" ResizeMode="NoResize" Icon="Resources/containership.ico"> + Title="{x:Static p:Resources.textEditShipcall}" Height="298" Width="800" Loaded="Window_Loaded" ResizeMode="NoResize" Icon="Resources/containership.ico"> @@ -29,6 +29,7 @@ +