diff --git a/ENI-2/ENI2/ENI2/App.config b/ENI-2/ENI2/ENI2/App.config
index 0a568992..f39c4f5a 100644
--- a/ENI-2/ENI2/ENI2/App.config
+++ b/ENI-2/ENI2/ENI2/App.config
@@ -26,12 +26,12 @@
1000
-
- http://heupferd/bsmd.LockingService/LockingService.svc
+ http://192.168.2.4/LockingService/LockingService.svc
+
-
- Data Source=(localdb)\Projects;Initial Catalog=nsw;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False
+ Data Source=192.168.2.12;Initial Catalog=nsw;Uid=dfuser;Pwd=dfpasswd;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False
+
diff --git a/ENI-2/ENI2/ENI2/App.xaml.cs b/ENI-2/ENI2/ENI2/App.xaml.cs
index 56433f4b..26a25a8d 100644
--- a/ENI-2/ENI2/ENI2/App.xaml.cs
+++ b/ENI-2/ENI2/ENI2/App.xaml.cs
@@ -68,6 +68,7 @@ namespace ENI2
CREW.NationalityDict = LocalizedLookup.getNationalities();
STAT.VesselTypeDict = LocalizedLookup.getVesselTypes();
STAT.TransportModeDict = LocalizedLookup.getTransportModes();
+ HAZ.PackageTypes = LocalizedLookup.getPackageTypes();
// Connect to locking service (if enabled)
diff --git a/ENI-2/ENI2/ENI2/DetailBaseControl.cs b/ENI-2/ENI2/ENI2/DetailBaseControl.cs
index f70ff10c..c63bf226 100644
--- a/ENI-2/ENI2/ENI2/DetailBaseControl.cs
+++ b/ENI-2/ENI2/ENI2/DetailBaseControl.cs
@@ -228,15 +228,18 @@ namespace ENI2
{
result = true;
}
- else if(o is string)
+ else if (o is string)
{
if (((string)o).Contains(cmb.Text, StringComparison.OrdinalIgnoreCase)) result = true;
}
- //System.Diagnostics.Trace.WriteLine(string.Format("{0} - {1} - {2}", o, cmb.Text, result));
+ else if (o is System.Collections.Generic.KeyValuePair)
+ {
+ if (((System.Collections.Generic.KeyValuePair)o).Value.StartsWith(cmb.Text, StringComparison.OrdinalIgnoreCase))
+ result = true;
+ }
return result;
});
-
- //System.Diagnostics.Trace.WriteLine("---");
+
itemsViewOriginal.Refresh();
}
diff --git a/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml b/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml
index 9437e8f6..198e2fc3 100644
--- a/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml
+++ b/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml
@@ -5,8 +5,9 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:ENI2.DetailViewControls"
- xmlns:p="clr-namespace:ENI2.Properties"
+ xmlns:p="clr-namespace:ENI2.Properties"
xmlns:enictrl="clr-namespace:ENI2.Controls"
+ xmlns:util="clr-namespace:ENI2.Util"
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
mc:Ignorable="d"
d:DesignHeight="768" d:DesignWidth="1024">
@@ -29,7 +30,7 @@
-
+
@@ -38,23 +39,42 @@
-
+
-
+
-
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -62,9 +82,18 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -72,9 +101,15 @@
-
-
-
+
+
+
+
+
+
+
+
+
@@ -82,9 +117,16 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -92,9 +134,15 @@
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml.cs b/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml.cs
index 5a83fdbd..6ccd9edc 100644
--- a/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml.cs
+++ b/ENI-2/ENI2/ENI2/DetailViewControls/DangerousGoodsDetailControl.xaml.cs
@@ -6,6 +6,7 @@ using System.Windows;
using bsmd.database;
using ENI2.EditControls;
+using ENI2.Util;
namespace ENI2.DetailViewControls
{
@@ -19,7 +20,7 @@ namespace ENI2.DetailViewControls
private HAZ haz;
public DangerousGoodsDetailControl()
- {
+ {
InitializeComponent();
this.Loaded += DangerousGoodsDetailControl_Loaded;
}
@@ -40,10 +41,14 @@ namespace ENI2.DetailViewControls
foreach (Message aMessage in this.Messages)
{
- if(IsDeparture)
+ if (IsDeparture)
+ {
if (aMessage.MessageNotificationClass == Message.NotificationClass.HAZD) { this._hazMessage = aMessage; this.ControlMessages.Add(aMessage); }
+ }
else
+ {
if (aMessage.MessageNotificationClass == Message.NotificationClass.HAZA) { this._hazMessage = aMessage; this.ControlMessages.Add(aMessage); }
+ }
}
#region HAZ
@@ -66,6 +71,9 @@ namespace ENI2.DetailViewControls
}
this.haz = haz;
+
+ this.comboBoxVesselClass.ItemsSource = GlobalStructures.vesselClasses;
+
this.groupBoxHAZ.DataContext = haz;
this.dataGridIMDGItems.Initialize();
diff --git a/ENI-2/ENI2/ENI2/ENI2.csproj b/ENI-2/ENI2/ENI2/ENI2.csproj
index aa397a13..40b5c0ee 100644
--- a/ENI-2/ENI2/ENI2/ENI2.csproj
+++ b/ENI-2/ENI2/ENI2/ENI2.csproj
@@ -35,8 +35,8 @@
3.5.1.0
true
publish.html
- 5
- 3.6.7.%2a
+ 0
+ 3.6.9.%2a
false
true
true
@@ -290,6 +290,7 @@
+
VorgaengeControl.xaml
diff --git a/ENI-2/ENI2/ENI2/EditControls/EditIBCDialog.xaml b/ENI-2/ENI2/ENI2/EditControls/EditIBCDialog.xaml
index fef41da6..bf91efb3 100644
--- a/ENI-2/ENI2/ENI2/EditControls/EditIBCDialog.xaml
+++ b/ENI-2/ENI2/ENI2/EditControls/EditIBCDialog.xaml
@@ -45,15 +45,15 @@
-
-
+
+
-
+
diff --git a/ENI-2/ENI2/ENI2/EditControls/EditIBCDialog.xaml.cs b/ENI-2/ENI2/ENI2/EditControls/EditIBCDialog.xaml.cs
index a02aaa57..7c865996 100644
--- a/ENI-2/ENI2/ENI2/EditControls/EditIBCDialog.xaml.cs
+++ b/ENI-2/ENI2/ENI2/EditControls/EditIBCDialog.xaml.cs
@@ -34,11 +34,14 @@ namespace ENI2.EditControls
this.checkBoxSpecRef15_19.IsChecked = this.IBC.SpecRef15_19;
- this.comboBoxFlashpointInformation.ItemsSource = GlobalStructures.flashpointInformations;
+ this.comboBoxFlashpointInformation.ItemsSource = IBCPosition.flashpointInformations;
+ this.comboBoxFlashpointInformation.KeyUp += ComboBox_KeyUp;
this.comboBoxFlashpointInformation.SelectedIndex = this.IBC.FlashpointInformation ?? -1;
- this.comboBoxPollutionCategory.ItemsSource = GlobalStructures.pollutionCategories;
+ this.comboBoxPollutionCategory.ItemsSource = IBCPosition.pollutionCategories;
+ this.comboBoxPollutionCategory.KeyUp += ComboBox_KeyUp;
this.comboBoxPollutionCategory.SelectedIndex = this.IBC.PollutionCategory ?? -1;
- this.comboBoxRisks.ItemsSource = GlobalStructures.hazards;
+ this.comboBoxRisks.ItemsSource = IBCPosition.hazards;
+ this.comboBoxRisks.KeyUp += ComboBox_KeyUp;
this.comboBoxRisks.SelectedIndex = this.IBC.Hazards ?? -1;
this.doubleUpDownQuantity.Value = this.IBC.Quantity_KGM;
diff --git a/ENI-2/ENI2/ENI2/EditControls/EditIMDGDialog.xaml b/ENI-2/ENI2/ENI2/EditControls/EditIMDGDialog.xaml
index 8a83ff6c..6f135870 100644
--- a/ENI-2/ENI2/ENI2/EditControls/EditIMDGDialog.xaml
+++ b/ENI-2/ENI2/ENI2/EditControls/EditIMDGDialog.xaml
@@ -105,7 +105,7 @@ Copyright (c) 2017 schick Informatik
-
+
@@ -116,7 +116,7 @@ Copyright (c) 2017 schick Informatik
-
+
diff --git a/ENI-2/ENI2/ENI2/EditControls/EditIMDGDialog.xaml.cs b/ENI-2/ENI2/ENI2/EditControls/EditIMDGDialog.xaml.cs
index 1380130d..241e6751 100644
--- a/ENI-2/ENI2/ENI2/EditControls/EditIMDGDialog.xaml.cs
+++ b/ENI-2/ENI2/ENI2/EditControls/EditIMDGDialog.xaml.cs
@@ -33,8 +33,7 @@ namespace ENI2.EditControls
this.textBoxContainerPositionTier.Text = this.IMDG.Tier;
this.textBoxFlashpoint.Text = this.IMDG.Flashpoint_CEL;
this.textBoxIdentifier.Text = this.IMDG.Identifier;
- this.textBoxIMOClass.Text = this.IMDG.IMOClass;
- this.textBoxPackageType.Text = this.IMDG.PackageType;
+ this.textBoxIMOClass.Text = this.IMDG.IMOClass;
this.textBoxProperShippingName.Text = this.IMDG.ProperShippingName;
this.textBoxRemarks.Text = this.IMDG.Remarks;
this.textBoxStowagePosition.Text = this.IMDG.StowagePosition;
@@ -60,7 +59,11 @@ namespace ENI2.EditControls
this.checkBoxLimitedQuantities.IsChecked = this.IMDG.LimitedQuantities;
this.checkBoxMarinePollutant.IsChecked = this.IMDG.MarinePollutant;
+ this.comboBoxPackageType.ItemsSource = HAZ.PackageTypes;
+ this.comboBoxPackageType.KeyUp += ComboBox_KeyUp;
+ this.comboBoxPackageType.SelectedValue = this.IMDG.PackageType;
this.comboBoxPackingGroup.ItemsSource = GlobalStructures.packingGroups;
+ this.comboBoxPackingGroup.KeyUp += ComboBox_KeyUp;
this.comboBoxPackingGroup.SelectedIndex = (int) (this.IMDG.PackingGroup ?? -1);
this.locodeControlPortOfDischarge.LocodeValue = this.IMDG.PortOfDischarge;
@@ -81,7 +84,7 @@ namespace ENI2.EditControls
this.IMDG.Flashpoint_CEL = this.textBoxFlashpoint.Text.Trim();
this.IMDG.Identifier = this.textBoxIdentifier.Text.Trim();
this.IMDG.IMOClass = this.textBoxIMOClass.Text.Trim();
- this.IMDG.PackageType = this.textBoxPackageType.Text.Trim();
+ this.IMDG.PackageType = this.comboBoxPackageType.SelectedValue as string;
this.IMDG.ProperShippingName = this.textBoxProperShippingName.Text.Trim();
this.IMDG.Remarks = this.textBoxRemarks.Text.Trim();
this.IMDG.StowagePosition = this.textBoxStowagePosition.Text.Trim();
diff --git a/ENI-2/ENI2/ENI2/EditControls/EditMarpolDialog.xaml b/ENI-2/ENI2/ENI2/EditControls/EditMarpolDialog.xaml
index 601a40bb..030f41d0 100644
--- a/ENI-2/ENI2/ENI2/EditControls/EditMarpolDialog.xaml
+++ b/ENI-2/ENI2/ENI2/EditControls/EditMarpolDialog.xaml
@@ -39,7 +39,7 @@
-
+
diff --git a/ENI-2/ENI2/ENI2/EditControls/EditMarpolDialog.xaml.cs b/ENI-2/ENI2/ENI2/EditControls/EditMarpolDialog.xaml.cs
index c24d32cc..d5977cac 100644
--- a/ENI-2/ENI2/ENI2/EditControls/EditMarpolDialog.xaml.cs
+++ b/ENI-2/ENI2/ENI2/EditControls/EditMarpolDialog.xaml.cs
@@ -32,7 +32,8 @@ namespace ENI2.EditControls
this.textBoxRemarks.Text = this.MARPOL.Remarks;
this.textBoxStowagePosition.Text = this.MARPOL.StowagePosition;
- this.comboBoxFlashpointInformation.ItemsSource = GlobalStructures.flashpointInformations;
+ this.comboBoxFlashpointInformation.ItemsSource = IBCPosition.flashpointInformations;
+ this.comboBoxFlashpointInformation.KeyUp += ComboBox_KeyUp;
this.comboBoxFlashpointInformation.SelectedIndex = (this.MARPOL.FlashpointInformation == null) ? -1 : ((int)this.MARPOL.FlashpointInformation);
this.doubleUpDownQuantity.Value = this.MARPOL.Quantity_KGM;
this.locodeControlPortOfDischarge.LocodeValue = this.MARPOL.PortOfDischarge;
diff --git a/ENI-2/ENI2/ENI2/EditControls/EditPortOfCallLast30DaysDialog.xaml.cs b/ENI-2/ENI2/ENI2/EditControls/EditPortOfCallLast30DaysDialog.xaml.cs
index 616bff64..44711c99 100644
--- a/ENI-2/ENI2/ENI2/EditControls/EditPortOfCallLast30DaysDialog.xaml.cs
+++ b/ENI-2/ENI2/ENI2/EditControls/EditPortOfCallLast30DaysDialog.xaml.cs
@@ -19,6 +19,13 @@ namespace ENI2.EditControls
InitializeComponent();
Loaded += EditPortOfCallLast30DaysDialog_Loaded;
AddClicked += () => { this.locodeControlPortName.Focus(); };
+ this.checkBoxCrewMembersJoined.Checked += CheckBoxCrewMembersJoined_Checked;
+ this.checkBoxCrewMembersJoined.Unchecked += CheckBoxCrewMembersJoined_Checked;
+ }
+
+ private void CheckBoxCrewMembersJoined_Checked(object sender, RoutedEventArgs e)
+ {
+ this.textBoxCrewMemberNames.IsEnabled = this.checkBoxCrewMembersJoined.IsChecked ?? false;
}
public PortOfCallLast30Days PocLast30Days { get; set; }
@@ -32,6 +39,7 @@ namespace ENI2.EditControls
this.datePickerATAPortOfCall.SelectedDate = this.PocLast30Days.PortOfCallLast30DaysDateOfDeparture;
this.checkBoxCrewMembersJoined.IsChecked = this.PocLast30Days.PortOfCallLast30DaysCrewMembersJoined;
this.textBoxCrewMemberNames.Text = this.PocLast30Days.CrewMembersJoinedText;
+ this.textBoxCrewMemberNames.IsEnabled = this.PocLast30Days.PortOfCallLast30DaysCrewMembersJoined ?? false;
this.AddVisible = true;
}
diff --git a/ENI-2/ENI2/ENI2/EditControls/EditTOWDialog.xaml b/ENI-2/ENI2/ENI2/EditControls/EditTOWDialog.xaml
index 8c966df0..7673109a 100644
--- a/ENI-2/ENI2/ENI2/EditControls/EditTOWDialog.xaml
+++ b/ENI-2/ENI2/ENI2/EditControls/EditTOWDialog.xaml
@@ -47,12 +47,12 @@
-
-
+
+
-
-
+
+
diff --git a/ENI-2/ENI2/ENI2/LocalizedLookup.cs b/ENI-2/ENI2/ENI2/LocalizedLookup.cs
index b6343c46..d4094861 100644
--- a/ENI-2/ENI2/ENI2/LocalizedLookup.cs
+++ b/ENI-2/ENI2/ENI2/LocalizedLookup.cs
@@ -97,6 +97,24 @@ namespace ENI2
return result;
}
+ public static Dictionary getPackageTypes()
+ {
+ Dictionary result = new Dictionary();
+ string query = string.Format("SELECT Code, Text FROM PackageTypes ORDER BY Code");
+ SQLiteCommand cmd = new SQLiteCommand(query, _con);
+ IDataReader reader = cmd.ExecuteReader();
+ while (reader.Read())
+ {
+ string code = null;
+ string name = null;
+ if (!reader.IsDBNull(0)) code = reader.GetString(0);
+ if (!reader.IsDBNull(1)) name = reader.GetString(1);
+ if ((code != null) && (name != null))
+ result[code] = string.Format("{0} {1}", code, name);
+ }
+ reader.Close();
+ return result;
+ }
public static Dictionary getTransportModes()
{
diff --git a/ENI-2/ENI2/ENI2/Util/GlobalStructures.cs b/ENI-2/ENI2/ENI2/Util/GlobalStructures.cs
index 4fcb3db6..4b20533d 100644
--- a/ENI-2/ENI2/ENI2/Util/GlobalStructures.cs
+++ b/ENI-2/ENI2/ENI2/Util/GlobalStructures.cs
@@ -75,28 +75,7 @@ namespace ENI2.Util
"II",
"III"
};
-
- public static string[] pollutionCategories =
- {
- "X",
- "Y",
- "Z",
- "OS"
- };
-
- public static string[] hazards =
- {
- "P",
- "S",
- "S/P"
- };
-
- public static string[] flashpointInformations =
- {
- "Not flammable",
- "Above 60°",
- "Less than 60°"
- };
+
public static List EdiCodes
{
diff --git a/ENI-2/ENI2/ENI2/Util/InverseBooleanConverter.cs b/ENI-2/ENI2/ENI2/Util/InverseBooleanConverter.cs
new file mode 100644
index 00000000..ab9b9382
--- /dev/null
+++ b/ENI-2/ENI2/ENI2/Util/InverseBooleanConverter.cs
@@ -0,0 +1,52 @@
+// Copyright (c) 2017 schick Informatik
+// Description: Bool'sche Werte für Bindings invertieren
+//
+
+using System;
+using System.Windows.Data;
+using System.Windows.Markup;
+
+namespace ENI2.Util
+{
+
+ [ValueConversion(typeof(bool?), typeof(bool?))]
+ public class InverseBooleanConverter : MarkupExtension, IValueConverter
+ {
+
+ private static InverseBooleanConverter _converter = null;
+ public override object ProvideValue(IServiceProvider serviceProvider)
+ {
+ if (_converter == null)
+ {
+ _converter = new InverseBooleanConverter();
+ }
+ return _converter;
+ }
+
+ #region IValueConverter Members
+
+ public object Convert(object value, Type targetType, object parameter,
+ System.Globalization.CultureInfo culture)
+ {
+ if (targetType != typeof(bool?))
+ throw new InvalidOperationException("The target must be a boolean");
+
+ if (!((bool?)value).HasValue) return null;
+
+ return !(bool?)value;
+ }
+
+ public object ConvertBack(object value, Type targetType, object parameter,
+ System.Globalization.CultureInfo culture)
+ {
+ if (targetType != typeof(bool?))
+ throw new InvalidOperationException("The target must be a boolean");
+
+ if (!((bool?)value).HasValue) return null;
+
+ return !(bool?)value;
+ }
+
+ #endregion
+ }
+}
diff --git a/Stundensheet.xlsx b/Stundensheet.xlsx
index 34441a54..7f59d0c4 100644
Binary files a/Stundensheet.xlsx and b/Stundensheet.xlsx differ
diff --git a/nsw/Source/bsmd.database/HAZ.cs b/nsw/Source/bsmd.database/HAZ.cs
index f8960ed3..49aefc15 100644
--- a/nsw/Source/bsmd.database/HAZ.cs
+++ b/nsw/Source/bsmd.database/HAZ.cs
@@ -97,6 +97,11 @@ namespace bsmd.database
}
}
+ ///
+ /// Hilfsstruktur für Packagetype Darstellung (IMDG) im ENI-2
+ ///
+ public static Dictionary PackageTypes { get; set; }
+
#endregion
#region DatabaseEntity implementation
diff --git a/nsw/Source/bsmd.database/IBCPosition.cs b/nsw/Source/bsmd.database/IBCPosition.cs
index 8a5febef..d04ae444 100644
--- a/nsw/Source/bsmd.database/IBCPosition.cs
+++ b/nsw/Source/bsmd.database/IBCPosition.cs
@@ -17,11 +17,42 @@ namespace bsmd.database
{
public class IBCPosition : DatabaseEntity, ISublistElement
{
+
+ #region Construction
+
public IBCPosition()
{
this.tablename = "[dbo].[IBCPosition]";
}
+ #endregion
+
+ #region static lookup values
+
+ public static string[] pollutionCategories =
+ {
+ "X",
+ "Y",
+ "Z",
+ "OS"
+ };
+
+ public static string[] hazards =
+ {
+ "P",
+ "S",
+ "S/P"
+ };
+
+ public static string[] flashpointInformations =
+ {
+ "Not flammable",
+ "Above 60°",
+ "Less than 60°"
+ };
+
+ #endregion
+
#region Properties
public HAZ HAZ { get; set; }
@@ -29,15 +60,49 @@ namespace bsmd.database
[Validation(ValidationCode.NOT_NULL)]
[MaxLength(255)]
public string ProductName { get; set; }
+
+
[ShowReport]
[Validation(ValidationCode.NOT_NULL)]
public byte? PollutionCategory { get; set; }
+
+ public string PollutionCategoryDisplay
+ {
+ get
+ {
+ if (this.PollutionCategory.HasValue && (this.PollutionCategory.Value >= 0) && (this.PollutionCategory.Value < pollutionCategories.Length))
+ return pollutionCategories[this.PollutionCategory.Value];
+ return "";
+ }
+ }
+
[ShowReport]
public byte? Hazards { get; set; }
+
+ public string HazardsDisplay
+ {
+ get
+ {
+ if (this.Hazards.HasValue && (this.Hazards.Value >= 0) && (this.Hazards.Value < hazards.Length))
+ return hazards[this.Hazards.Value];
+ return "";
+ }
+ }
+
[ShowReport]
[Validation(ValidationCode.NOT_NULL)]
public byte? FlashpointInformation { get; set; }
+ public string FlashpointInformationDisplay
+ {
+ get
+ {
+ if (this.FlashpointInformation.HasValue && (this.FlashpointInformation.Value >= 0) && (this.FlashpointInformation.Value < flashpointInformations.Length))
+ return flashpointInformations[this.FlashpointInformation.Value];
+ return "";
+ }
+ }
+
[ShowReport]
[MaxLength(11)]
public string Flashpoint_CEL { get; set; }
diff --git a/nsw/Source/bsmd.database/MARPOL_Annex_I_Position.cs b/nsw/Source/bsmd.database/MARPOL_Annex_I_Position.cs
index d9281cfc..80b43296 100644
--- a/nsw/Source/bsmd.database/MARPOL_Annex_I_Position.cs
+++ b/nsw/Source/bsmd.database/MARPOL_Annex_I_Position.cs
@@ -35,6 +35,16 @@ namespace bsmd.database
[Validation(ValidationCode.NOT_NULL)]
public byte? FlashpointInformation { get; set; }
+ public string FlashpointInformationDisplay
+ {
+ get
+ {
+ if (this.FlashpointInformation.HasValue && (this.FlashpointInformation.Value >= 0) && (this.FlashpointInformation.Value < IBCPosition.flashpointInformations.Length))
+ return IBCPosition.flashpointInformations[this.FlashpointInformation.Value];
+ return "";
+ }
+ }
+
[ShowReport]
[MaxLength(10)]
public string Flashpoint_CEL { get; set; }
diff --git a/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs b/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs
index 49a5bc15..ed492798 100644
--- a/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs
+++ b/nsw/Source/bsmd.database/Properties/AssemblyProductInfo.cs
@@ -2,6 +2,6 @@
[assembly: AssemblyCompany("Informatikbüro Daniel Schick")]
[assembly: AssemblyProduct("BSMD NSW interface")]
-[assembly: AssemblyInformationalVersion("3.6.8")]
+[assembly: AssemblyInformationalVersion("3.6.9")]
[assembly: AssemblyCopyright("Copyright © 2014-2017 Informatikbüro Daniel Schick. All rights reserved.")]
[assembly: AssemblyTrademark("")]
\ No newline at end of file
diff --git a/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs b/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs
index 41122445..bd94f032 100644
--- a/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs
+++ b/nsw/Source/bsmd.database/Properties/AssemblyProjectInfo.cs
@@ -1,4 +1,4 @@
using System.Reflection;
-[assembly: AssemblyVersion("3.6.8.*")]
+[assembly: AssemblyVersion("3.6.9.*")]
diff --git a/nsw/Source/misc/db.sqlite b/nsw/Source/misc/db.sqlite
index ebf2a3d5..c8ea0dbe 100644
Binary files a/nsw/Source/misc/db.sqlite and b/nsw/Source/misc/db.sqlite differ