From 47d6d4d073d29860ba3f17434ab7f707615db0b8 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Fri, 2 Aug 2024 15:45:44 +0200 Subject: [PATCH] Changed a dialog when closing a core without having SERV sent for DEHAM --- ENI2/DetailRootControl.xaml.cs | 2 +- ENI2/ENI2.csproj | 4 ++-- ENI2/Properties/Resources.Designer.cs | 2 +- ENI2/Properties/Resources.resx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ENI2/DetailRootControl.xaml.cs b/ENI2/DetailRootControl.xaml.cs index 254286a3..d50b7551 100644 --- a/ENI2/DetailRootControl.xaml.cs +++ b/ENI2/DetailRootControl.xaml.cs @@ -131,7 +131,7 @@ namespace ENI2 case "DEHAM": foreach (Message aMessage in _messages) { - if ((aMessage.MessageNotificationClass == Message.NotificationClass.SERV) && (aMessage.Elements.Count == 0)) { messageText = "SERV"; return true; } + if ((aMessage.MessageNotificationClass == Message.NotificationClass.SERV) && (aMessage.InternalStatus != Message.BSMDStatus.CONFIRMED)) { messageText = "SERV"; return true; } } break; default: diff --git a/ENI2/ENI2.csproj b/ENI2/ENI2.csproj index 86a4ffd7..bebd4c7c 100644 --- a/ENI2/ENI2.csproj +++ b/ENI2/ENI2.csproj @@ -36,8 +36,8 @@ 5.4.0.0 true publish.html - 2 - 7.2.3.2 + 3 + 7.2.3.3 false true true diff --git a/ENI2/Properties/Resources.Designer.cs b/ENI2/Properties/Resources.Designer.cs index cc0ad076..a3598a87 100644 --- a/ENI2/Properties/Resources.Designer.cs +++ b/ENI2/Properties/Resources.Designer.cs @@ -4683,7 +4683,7 @@ namespace ENI2.Properties { } /// - /// Looks up a localized string similar to No {0} info given for DEHAM. Close anyway?. + /// Looks up a localized string similar to {0} has not been sent for DEHAM. Close anyway?. /// public static string textSpecialCaseDEHAM { get { diff --git a/ENI2/Properties/Resources.resx b/ENI2/Properties/Resources.resx index b87fec42..934c48c6 100644 --- a/ENI2/Properties/Resources.resx +++ b/ENI2/Properties/Resources.resx @@ -1901,6 +1901,6 @@ Copy to PASD - No {0} info given for DEHAM. Close anyway? + {0} has not been sent for DEHAM. Close anyway? \ No newline at end of file