From 03c31936dec512856d573e743de31b9106675c8f Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Mon, 21 Mar 2022 18:23:35 +0100 Subject: [PATCH] =?UTF-8?q?Korrekturen=20f=C3=BCr=207.0.0.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ENI2/DetailRootControl.xaml.cs | 10 +++ .../BorderPoliceDetailControl.xaml | 12 ++- .../BorderPoliceDetailControl.xaml.cs | 34 ++++++++ .../OverViewDetailControl.xaml.cs | 15 +++- .../WasteDetailControl.xaml | 4 +- .../WasteDetailControl.xaml.cs | 85 +++++++++++-------- ENI2/ENI2.csproj | 4 +- ENI2/EditControls/EditWasteDialog.xaml | 9 +- .../SelectImportClassesDialog.xaml.cs | 4 +- ENI2/Properties/Resources.Designer.cs | 18 ++++ ENI2/Properties/Resources.resx | 6 ++ ENI2/Util/UIHelper.cs | 4 +- SendNSWMessageService/NSWSendService.cs | 6 +- bsmd.database/DBManager.cs | 2 +- bsmd.database/RuleEngine.cs | 7 +- bsmd.database/Util.cs | 2 +- bsmd.database/WAS_RCPT.cs | 3 +- bsmd.database/XtraSendLogic.cs | 2 +- bsmd.hisnord/NSWResponse.cs | 13 +++ bsmd.hisnord/Response.cs | 3 + 20 files changed, 182 insertions(+), 61 deletions(-) diff --git a/ENI2/DetailRootControl.xaml.cs b/ENI2/DetailRootControl.xaml.cs index 4e9be988..adee14f9 100644 --- a/ENI2/DetailRootControl.xaml.cs +++ b/ENI2/DetailRootControl.xaml.cs @@ -665,6 +665,11 @@ namespace ENI2 RuleEngine ruleEngine = new RuleEngine(); foreach (Message aMessage in _messages) { + // XXX : TODO wegmachen wenn CREWD/PASD kommt + if ((aMessage.MessageNotificationClass == Message.NotificationClass.PASD) || + (aMessage.MessageNotificationClass == Message.NotificationClass.CREWD)) + continue; + if (!aMessage.EvaluateForValidation(this.Core.IsTransit)) continue; List errors = new List(); @@ -723,6 +728,9 @@ namespace ENI2 // Wir können davon ausgehen, dass bei allen Unterelementen die Flags gleich gesetzt sind. Das wird im Import und BorderPoliceDetailControl sichergestellt. + // XXX : TODO auskommentiert bis CREWD/PASD kommt + /* + if(crewaMessage.Elements.Count > 0) { CREW crewaFirst = crewaMessage.Elements[0] as CREW; @@ -831,6 +839,8 @@ namespace ENI2 } } + */ + #endregion #region WAS_RCPT double numbers diff --git a/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml b/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml index 92f3fa89..653d0816 100644 --- a/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml +++ b/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml @@ -49,7 +49,7 @@ - + @@ -60,11 +60,13 @@