diff --git a/ENI2/App.config b/ENI2/App.config
index 45b58b7c..9fce7c6f 100644
--- a/ENI2/App.config
+++ b/ENI2/App.config
@@ -29,7 +29,7 @@
http://192.168.2.24/LockingService/LockingService.svc
- Initial Catalog=nsw;Data Source=192.168.2.24\SQLEXPRESS;Uid=dfuser;pwd=dfpasswd;Persist Security Info=False;Connection Reset=false
+ Initial Catalog=nsw;Data Source=192.168.2.24\SQLEXPRESS;Uid=dfuser;pwd=dfpasswd;Persist Security Info=False;Connection Reset=false
@@ -52,21 +52,25 @@
-
-
-
-
-
+
-
+
+
+
+
+
-
+
+
+
+
+
diff --git a/ENI2/CustomCommands.cs b/ENI2/CustomCommands.cs
index c52eac19..41d0bc04 100644
--- a/ENI2/CustomCommands.cs
+++ b/ENI2/CustomCommands.cs
@@ -34,8 +34,7 @@ namespace ENI2
if (parentObject == null) return null;
//check if the parent matches the type we're looking for
- T parent = parentObject as T;
- if (parent != null)
+ if (parentObject is T parent)
return parent;
else
return FindParent(parentObject);
diff --git a/ENI2/DetailViewControls/ArrivalNotificationDetailControl.xaml b/ENI2/DetailViewControls/ArrivalNotificationDetailControl.xaml
index fdb65659..defe9f40 100644
--- a/ENI2/DetailViewControls/ArrivalNotificationDetailControl.xaml
+++ b/ENI2/DetailViewControls/ArrivalNotificationDetailControl.xaml
@@ -75,7 +75,7 @@
-
+
diff --git a/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml.cs b/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml.cs
index 75f43a9e..a65f09af 100644
--- a/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml.cs
+++ b/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml.cs
@@ -1162,7 +1162,7 @@ namespace ENI2.DetailViewControls
if (crew.CrewMemberLastName.Equals("Family Name") || (crew.CrewMemberLastName.Trim().Length == 0)) continue;
if (!reader.IsDBNull(1)) crew.CrewMemberFirstName = reader.GetString(1);
if (!reader.IsDBNull(2)) crew.CrewMemberGender = GlobalStructures.ParseGender(reader.GetString(2));
- if (!reader.IsDBNull(3)) crew.CrewMemberDuty = reader.GetString(3);
+ if (!reader.IsDBNull(3)) crew.CrewMemberDuty = reader.GetString(3).Clean();
if (!reader.IsDBNull(4)) crew.CrewMemberNationality = reader.GetString(4).Substring(0, 2).ToUpper();
if (!reader.IsDBNull(5)) crew.CrewMemberPlaceOfBirth = reader.GetString(5);
if (!reader.IsDBNull(6)) crew.CrewMemberCountryOfBirth = reader.GetString(6).Substring(0, 2).ToUpper();
diff --git a/ENI2/DetailViewControls/DepartureNotificationDetailControl.xaml b/ENI2/DetailViewControls/DepartureNotificationDetailControl.xaml
index aff5d676..c32ba2c9 100644
--- a/ENI2/DetailViewControls/DepartureNotificationDetailControl.xaml
+++ b/ENI2/DetailViewControls/DepartureNotificationDetailControl.xaml
@@ -74,7 +74,7 @@
-
+
diff --git a/ENI2/ENI2.csproj b/ENI2/ENI2.csproj
index 44086faf..417d527a 100644
--- a/ENI2/ENI2.csproj
+++ b/ENI2/ENI2.csproj
@@ -18,7 +18,7 @@
- eni2.publish\
+ ENI2.publish\
true
Web
true
@@ -36,8 +36,8 @@
5.4.0.0
true
publish.html
- 3
- 7.2.5.3
+ 4
+ 7.2.6.4
false
true
true
@@ -85,14 +85,13 @@
- FE53D3ADE2DCE4BD171A899FF41D43E63FEA7639
+ C5FD306818D481FBECE3B2E74D7A912F515191E0
true
-
-
+ ENI2_7_TemporaryKey.pfx
true
@@ -138,29 +137,29 @@
packages\ExcelDataReader.3.7.0\lib\net462\ExcelDataReader.dll
-
- packages\log4net.3.0.1\lib\net462\log4net.dll
+
+ packages\log4net.3.0.4\lib\net462\log4net.dll
-
- packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll
+
+ packages\Microsoft.Bcl.AsyncInterfaces.9.0.2\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll
-
- packages\Microsoft.Extensions.DependencyInjection.8.0.1\lib\net462\Microsoft.Extensions.DependencyInjection.dll
+
+ packages\Microsoft.Extensions.DependencyInjection.9.0.2\lib\net462\Microsoft.Extensions.DependencyInjection.dll
-
- packages\Microsoft.Extensions.DependencyInjection.Abstractions.8.0.2\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll
+
+ packages\Microsoft.Extensions.DependencyInjection.Abstractions.9.0.2\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll
-
- packages\Microsoft.Extensions.Logging.8.0.1\lib\net462\Microsoft.Extensions.Logging.dll
+
+ packages\Microsoft.Extensions.Logging.9.0.2\lib\net462\Microsoft.Extensions.Logging.dll
-
- packages\Microsoft.Extensions.Logging.Abstractions.8.0.2\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll
+
+ packages\Microsoft.Extensions.Logging.Abstractions.9.0.2\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll
-
- packages\Microsoft.Extensions.Options.8.0.2\lib\net462\Microsoft.Extensions.Options.dll
+
+ packages\Microsoft.Extensions.Options.9.0.2\lib\net462\Microsoft.Extensions.Options.dll
-
- packages\Microsoft.Extensions.Primitives.8.0.0\lib\net462\Microsoft.Extensions.Primitives.dll
+
+ packages\Microsoft.Extensions.Primitives.9.0.2\lib\net462\Microsoft.Extensions.Primitives.dll
packages\Microsoft.Office.Interop.Excel.15.0.4795.1001\lib\net20\Microsoft.Office.Interop.Excel.dll
@@ -194,36 +193,36 @@
packages\PDFsharp-MigraDoc-GDI.6.1.1\lib\net472\PdfSharp.WPFonts.dll
-
- packages\PDFsharp-MigraDoc-GDI.6.1.1\lib\net472\System.Buffers.dll
+
+ packages\System.Buffers.4.6.0\lib\net462\System.Buffers.dll
-
- packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.117.0\lib\net46\System.Data.SQLite.dll
+
+ packages\Stub.System.Data.SQLite.Core.NetFramework.1.0.119.0\lib\net46\System.Data.SQLite.dll
-
- packages\System.Diagnostics.DiagnosticSource.8.0.1\lib\net462\System.Diagnostics.DiagnosticSource.dll
+
+ packages\System.Diagnostics.DiagnosticSource.9.0.2\lib\net462\System.Diagnostics.DiagnosticSource.dll
-
- packages\System.Memory.4.5.5\lib\net461\System.Memory.dll
+
+ packages\System.Memory.4.6.0\lib\net462\System.Memory.dll
-
- packages\PDFsharp-MigraDoc-GDI.6.1.1\lib\net472\System.Numerics.Vectors.dll
+
+ packages\System.Numerics.Vectors.4.6.0\lib\net462\System.Numerics.Vectors.dll
-
- packages\PDFsharp-MigraDoc-GDI.6.1.1\lib\net472\System.Runtime.CompilerServices.Unsafe.dll
+
+ packages\System.Runtime.CompilerServices.Unsafe.6.1.0\lib\net462\System.Runtime.CompilerServices.Unsafe.dll
-
- packages\PDFsharp-MigraDoc-GDI.6.1.1\lib\net472\System.Threading.Tasks.Extensions.dll
+
+ packages\System.Threading.Tasks.Extensions.4.6.0\lib\net462\System.Threading.Tasks.Extensions.dll
packages\PDFsharp-MigraDoc-GDI.6.1.1\lib\net472\System.ValueTuple.dll
@@ -242,20 +241,20 @@
-
- packages\Extended.Wpf.Toolkit.4.6.1\lib\net40\Xceed.Wpf.AvalonDock.dll
+
+ packages\Extended.Wpf.Toolkit.4.7.25103.5738\lib\net40\Xceed.Wpf.AvalonDock.dll
-
- packages\Extended.Wpf.Toolkit.4.6.1\lib\net40\Xceed.Wpf.AvalonDock.Themes.Aero.dll
+
+ packages\Extended.Wpf.Toolkit.4.7.25103.5738\lib\net40\Xceed.Wpf.AvalonDock.Themes.Aero.dll
-
- packages\Extended.Wpf.Toolkit.4.6.1\lib\net40\Xceed.Wpf.AvalonDock.Themes.Metro.dll
+
+ packages\Extended.Wpf.Toolkit.4.7.25103.5738\lib\net40\Xceed.Wpf.AvalonDock.Themes.Metro.dll
-
- packages\Extended.Wpf.Toolkit.4.6.1\lib\net40\Xceed.Wpf.AvalonDock.Themes.VS2010.dll
+
+ packages\Extended.Wpf.Toolkit.4.7.25103.5738\lib\net40\Xceed.Wpf.AvalonDock.Themes.VS2010.dll
-
- packages\Extended.Wpf.Toolkit.4.6.1\lib\net40\Xceed.Wpf.Toolkit.dll
+
+ packages\Extended.Wpf.Toolkit.4.7.25103.5738\lib\net40\Xceed.Wpf.Toolkit.dll
@@ -852,6 +851,7 @@
+
Reference.svcmap
@@ -934,6 +934,7 @@
+
Always
@@ -1083,14 +1084,14 @@
$(SignToolPathBase)$(Platform)\
- "$(SignToolPath)signtool.exe" sign /f $(ProjectDir)\ENI2_6_TemporaryKey.pfx /p FgrMFUWsTVGQeb6L6i0e /fd SHA256 $(TargetPath)
+ "$(SignToolPath)signtool.exe" sign /f $(ProjectDir)\ENI2_7_TemporaryKey.pfx /p FgrMFUWsTVGQeb6L6i0e /fd SHA256 $(TargetPath)
-
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
+
+
+
+
+
diff --git a/ENI2/Properties/Settings.Designer.cs b/ENI2/Properties/Settings.Designer.cs
index 1767a0a9..6e0990e9 100644
--- a/ENI2/Properties/Settings.Designer.cs
+++ b/ENI2/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace ENI2.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.12.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -80,16 +80,6 @@ namespace ENI2.Properties {
}
}
- [global::System.Configuration.ApplicationScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("Initial Catalog=nswtest;Data Source=192.168.2.24\\SQLEXPRESS;Uid=dfuser;pwd=dfpass" +
- "wd;Persist Security Info=False;Connection Reset=false")]
- public string ConnectionString {
- get {
- return ((string)(this["ConnectionString"]));
- }
- }
-
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("825")]
@@ -185,5 +175,15 @@ namespace ENI2.Properties {
this["W3Top"] = value;
}
}
+
+ [global::System.Configuration.ApplicationScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("Initial Catalog=nsw;Data Source=192.168.2.24\\SQLEXPRESS;Uid=dfuser;pwd=dfpasswd;P" +
+ "ersist Security Info=False;Connection Reset=false")]
+ public string ConnectionString {
+ get {
+ return ((string)(this["ConnectionString"]));
+ }
+ }
}
}
diff --git a/ENI2/Properties/Settings.settings b/ENI2/Properties/Settings.settings
index b0c246d1..90582769 100644
--- a/ENI2/Properties/Settings.settings
+++ b/ENI2/Properties/Settings.settings
@@ -20,9 +20,6 @@
BSMD ReportGenerator
-
- Initial Catalog=nswtest;Data Source=192.168.2.24\SQLEXPRESS;Uid=dfuser;pwd=dfpasswd;Persist Security Info=False;Connection Reset=false
-
825
@@ -47,5 +44,8 @@
0
+
+ Initial Catalog=nsw;Data Source=192.168.2.24\SQLEXPRESS;Uid=dfuser;pwd=dfpasswd;Persist Security Info=False;Connection Reset=false
+
\ No newline at end of file
diff --git a/ENI2/packages.config b/ENI2/packages.config
index 1efc695f..f217452e 100644
--- a/ENI2/packages.config
+++ b/ENI2/packages.config
@@ -4,24 +4,24 @@ Sample license text.
-->
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ENI2/x64/SQLite.Interop.dll b/ENI2/x64/SQLite.Interop.dll
index 0736a584..884b2d4b 100644
Binary files a/ENI2/x64/SQLite.Interop.dll and b/ENI2/x64/SQLite.Interop.dll differ
diff --git a/ENI2/x86/SQLite.Interop.dll b/ENI2/x86/SQLite.Interop.dll
index d4570e55..98e74c4f 100644
Binary files a/ENI2/x86/SQLite.Interop.dll and b/ENI2/x86/SQLite.Interop.dll differ
diff --git a/SendNSWMessageService/SendNSWMessageService.csproj b/SendNSWMessageService/SendNSWMessageService.csproj
index 7e10e56b..601d610a 100644
--- a/SendNSWMessageService/SendNSWMessageService.csproj
+++ b/SendNSWMessageService/SendNSWMessageService.csproj
@@ -40,8 +40,8 @@
..\bsmdKey.snk
-
- ..\packages\log4net.3.0.1\lib\net462\log4net.dll
+
+ ..\packages\log4net.3.0.4\lib\net462\log4net.dll
diff --git a/SendNSWMessageService/packages.config b/SendNSWMessageService/packages.config
index 6bae6f53..fbd6f896 100644
--- a/SendNSWMessageService/packages.config
+++ b/SendNSWMessageService/packages.config
@@ -1,4 +1,4 @@

-
+
\ No newline at end of file
diff --git a/bsmd.LockingService/bsmd.LockingService.csproj b/bsmd.LockingService/bsmd.LockingService.csproj
index a1b9cc55..18d2d500 100644
--- a/bsmd.LockingService/bsmd.LockingService.csproj
+++ b/bsmd.LockingService/bsmd.LockingService.csproj
@@ -46,8 +46,8 @@
4
-
- ..\ENI2\packages\log4net.3.0.1\lib\net462\log4net.dll
+
+ ..\ENI2\packages\log4net.3.0.4\lib\net462\log4net.dll
diff --git a/bsmd.LockingService/bsmd.LockingService.csproj.user b/bsmd.LockingService/bsmd.LockingService.csproj.user
index 3517ad61..6c90db82 100644
--- a/bsmd.LockingService/bsmd.LockingService.csproj.user
+++ b/bsmd.LockingService/bsmd.LockingService.csproj.user
@@ -1,4 +1,4 @@
-
+
true
diff --git a/bsmd.LockingService/packages.config b/bsmd.LockingService/packages.config
index 6bae6f53..fbd6f896 100644
--- a/bsmd.LockingService/packages.config
+++ b/bsmd.LockingService/packages.config
@@ -1,4 +1,4 @@

-
+
\ No newline at end of file
diff --git a/bsmd.dakosy/bsmd.dakosy.csproj b/bsmd.dakosy/bsmd.dakosy.csproj
index 54ab41d4..29eaa4ac 100644
--- a/bsmd.dakosy/bsmd.dakosy.csproj
+++ b/bsmd.dakosy/bsmd.dakosy.csproj
@@ -40,8 +40,8 @@
..\bsmdKey.snk
-
- ..\packages\log4net.3.0.1\lib\net462\log4net.dll
+
+ ..\packages\log4net.3.0.4\lib\net462\log4net.dll
@@ -52,8 +52,8 @@
-
- ..\packages\WinSCP.6.3.5\lib\net40\WinSCPnet.dll
+
+ ..\packages\WinSCP.6.3.7\lib\net40\WinSCPnet.dll
@@ -93,12 +93,12 @@
-
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
+