From d596f1f7fb40fc23698d77a64b0251a3172873fe Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Wed, 19 Jul 2023 09:52:23 +0200 Subject: [PATCH] PortArea Helper erster Versuch Ein Bereich in INFO mit Hilfsdaten zur Auswahl der passenden PortArea --- ENI2/Controls/ServerStatusControl.xaml.cs | 6 +-- .../PortNotificationDetailControl.xaml | 13 ++++++ .../PortNotificationDetailControl.xaml.cs | 41 +++++++++++++++++- ENI2/Excel/ExcelUtil.cs | 6 +++ ENI2/LocalizedLookup.cs | 39 +++++++++++++++++ bsmd.database/INFO.cs | 30 +++++++++++++ misc/db.sqlite | Bin 14426112 -> 14426112 bytes 7 files changed, 130 insertions(+), 5 deletions(-) diff --git a/ENI2/Controls/ServerStatusControl.xaml.cs b/ENI2/Controls/ServerStatusControl.xaml.cs index 94a92bca..816dc43b 100644 --- a/ENI2/Controls/ServerStatusControl.xaml.cs +++ b/ENI2/Controls/ServerStatusControl.xaml.cs @@ -96,14 +96,14 @@ namespace ENI2.Controls tmpList.Sort(); - //System.Windows.Application.Current.Dispatcher.Invoke(delegate { + System.Windows.Application.Current.Dispatcher.Invoke(delegate { foreach (StatusEntry se in tmpList) entries.Add(se); - //}); + }); }; bgWorker.RunWorkerCompleted += (o, e) => - { + { // Enumeration parsen und text ausgeben ServiceControllerStatus excel = (ServiceControllerStatus)serverStatus.Excel; diff --git a/ENI2/DetailViewControls/PortNotificationDetailControl.xaml b/ENI2/DetailViewControls/PortNotificationDetailControl.xaml index f0fbd580..634feb3f 100644 --- a/ENI2/DetailViewControls/PortNotificationDetailControl.xaml +++ b/ENI2/DetailViewControls/PortNotificationDetailControl.xaml @@ -60,6 +60,7 @@