From d63cb8034d9c2bc12626685b74b1f371838e8352 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Fri, 9 Dec 2022 17:57:04 +0100 Subject: [PATCH] =?UTF-8?q?Lookup=20f=C3=BCr=20NST2007=20Codes=20in=20LADG?= =?UTF-8?q?=20Detaildialog=20eingebaut.=20Die=20dazu=20notwendigen=20Daten?= =?UTF-8?q?=20liegen=20in=20der=20SQLite=20Datenbank.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ENI2/DetailRootControl.xaml.cs | 14 + ENI2/ENI2.csproj | 6 +- ENI2/EditControls/EditLADGDialog.xaml | 18 +- ENI2/EditControls/EditLADGDialog.xaml.cs | 53 +- ENI2/LocalizedLookup.cs | 39 +- ENI2/MainWindow.xaml.cs | 4 +- ENI2/Properties/Resources.Designer.cs | 9 + ENI2/Properties/Resources.resx | 3 + misc/LADG_NST2007.csv | 3011 ++++++++++++++++++++++ misc/db.sqlite | Bin 14135296 -> 14135296 bytes 10 files changed, 3132 insertions(+), 25 deletions(-) create mode 100644 misc/LADG_NST2007.csv diff --git a/ENI2/DetailRootControl.xaml.cs b/ENI2/DetailRootControl.xaml.cs index ecb7c037..0655f344 100644 --- a/ENI2/DetailRootControl.xaml.cs +++ b/ENI2/DetailRootControl.xaml.cs @@ -106,6 +106,20 @@ namespace ENI2 } } + public bool HasCriticalInfoMissing(out string messageText) + { + messageText = ""; + // Hier haben wir Logik für Spezialfälle, z.B. dass für BRE und BRV bestimmte Meldeklassen gesendet werden *müssen* + + if(this.Core.PoC.Equals("DEBRV") || this.Core.PoC.Equals("DEBRE")) + { + + + } + + return false; + } + #endregion #region Construction diff --git a/ENI2/ENI2.csproj b/ENI2/ENI2.csproj index d04528a1..8c8df448 100644 --- a/ENI2/ENI2.csproj +++ b/ENI2/ENI2.csproj @@ -36,8 +36,8 @@ 5.4.0.0 true publish.html - 3 - 7.6.0.%2a + 1 + 7.7.0.%2a false true true @@ -84,7 +84,7 @@ - F2C2D0164244EC89955EF50201EE24C2A300FF0B + 62DE8527C377957850DB503DA52FF66F664BD459 true diff --git a/ENI2/EditControls/EditLADGDialog.xaml b/ENI2/EditControls/EditLADGDialog.xaml index d07ce171..13f89835 100644 --- a/ENI2/EditControls/EditLADGDialog.xaml +++ b/ENI2/EditControls/EditLADGDialog.xaml @@ -35,6 +35,8 @@ Copyright (c) 2017 schick Informatik