diff --git a/ENI2/DetailRootControl.xaml.cs b/ENI2/DetailRootControl.xaml.cs index c73543d5..adc79dc8 100644 --- a/ENI2/DetailRootControl.xaml.cs +++ b/ENI2/DetailRootControl.xaml.cs @@ -716,7 +716,7 @@ namespace ENI2 // XXX : TODO wegmachen wenn CREWD/PASD kommt if ((aMessage.MessageNotificationClass == Message.NotificationClass.PASD) || (aMessage.MessageNotificationClass == Message.NotificationClass.CREWD)) - continue; + continue; if (!aMessage.EvaluateForValidation(this.Core.IsTransit)) continue; @@ -892,6 +892,18 @@ namespace ENI2 #endregion + #region 4.1.23 no CREW effects warning for DE + { + MessageViolation mv = crewaMessage.ViolationList.Find((x) => x.PropertyName.Equals("Effects") && (x.ViolationCode == (int)ValidationCode.TRUNCATE)); + if ((mv != null) && !Core.IsDK) + crewaMessage.ViolationList.Remove(mv); + + MessageViolation mvd = crewdMessage.ViolationList.Find((x) => x.PropertyName.Equals("Effects") && (x.ViolationCode == (int)ValidationCode.TRUNCATE)); + if ((mvd != null) && !Core.IsDK) + crewdMessage.ViolationList.Remove(mvd); + } + #endregion + #region WAS_RCPT double numbers Dictionary identDict = new Dictionary();