From bfb5fd2f607440d5c1bb271d90b15ac5369b9acc Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Mon, 26 Dec 2022 10:20:38 +0100 Subject: [PATCH] Testversion dbh / Maersk Versand 7.8.0.0 --- ENI2/ENI2.csproj | 4 ++-- ENI2/EditControls/VisitIdDialog.xaml.cs | 2 +- bsmd.dakosy/sftp.cs | 14 ++++---------- bsmd.dbh/RequestUtil.cs | 1 + 4 files changed, 8 insertions(+), 13 deletions(-) diff --git a/ENI2/ENI2.csproj b/ENI2/ENI2.csproj index 3f343e50..2ea8e48f 100644 --- a/ENI2/ENI2.csproj +++ b/ENI2/ENI2.csproj @@ -36,8 +36,8 @@ 5.4.0.0 true publish.html - 6 - 7.7.0.%2a + 1 + 7.8.0.%2a false true true diff --git a/ENI2/EditControls/VisitIdDialog.xaml.cs b/ENI2/EditControls/VisitIdDialog.xaml.cs index d15edf20..218928f7 100644 --- a/ENI2/EditControls/VisitIdDialog.xaml.cs +++ b/ENI2/EditControls/VisitIdDialog.xaml.cs @@ -31,7 +31,7 @@ namespace ENI2.EditControls { new KeyValuePair( Message.NSWProvider.DUDR, "HIS-Nord" ), new KeyValuePair( Message.NSWProvider.DBH, "DBH" ), - new KeyValuePair(Message.NSWProvider.DBH_MAERSK, "DBH / Naersk") + new KeyValuePair(Message.NSWProvider.DBH_MAERSK, "DBH / Maersk") }; this.comboBoxInitialHIS.ItemsSource = comboDataSource; diff --git a/bsmd.dakosy/sftp.cs b/bsmd.dakosy/sftp.cs index 700fdb37..0bd08c32 100644 --- a/bsmd.dakosy/sftp.cs +++ b/bsmd.dakosy/sftp.cs @@ -7,14 +7,8 @@ // // Copyright (c) 2015 Informatikbüro Daniel Schick. All rights reserved. -using System; -using System.Diagnostics; -using System.IO; -using System.Xml; -using System.Xml.XPath; -using System.Collections.Generic; - using log4net; +using System.Diagnostics; namespace bsmd.dakosy { @@ -59,7 +53,7 @@ namespace bsmd.dakosy // Collect all output string output = winscp.StandardOutput.ReadToEnd(); - _log.Info(output); + _log.Debug(output); output = winscp.StandardError.ReadToEnd(); _log.Warn(output); @@ -132,7 +126,7 @@ namespace bsmd.dakosy // Collect all output string output = winscp.StandardOutput.ReadToEnd(); - _log.Info(output); + _log.Debug(output); output = winscp.StandardError.ReadToEnd(); _log.Warn(output); @@ -171,7 +165,7 @@ namespace bsmd.dakosy // Collect all output string output = winscp.StandardOutput.ReadToEnd(); - _log.Info(output); + _log.Debug(output); output = winscp.StandardError.ReadToEnd(); _log.Warn(output); diff --git a/bsmd.dbh/RequestUtil.cs b/bsmd.dbh/RequestUtil.cs index 01511c75..9ab4bf39 100644 --- a/bsmd.dbh/RequestUtil.cs +++ b/bsmd.dbh/RequestUtil.cs @@ -37,6 +37,7 @@ namespace bsmd.dbh root.Sender = Properties.Settings.Default.Sender; } root.SenderReference = message.Id.Value.ToString("N"); + _log.InfoFormat("DBH: setting sender to {0}", root.Sender); bsmd.database.ReportingParty reportingParty = DBManager.Instance.GetReportingPartyDict()[core.DefaultReportingPartyId.Value]; Request.ReportingParty rp = new Request.ReportingParty();