no CREW effects warning for DE arrivals

This commit is contained in:
Daniel Schick 2023-01-04 11:39:56 +01:00
parent bfb5fd2f60
commit 09faf3ad81

View File

@ -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<string, string> identDict = new Dictionary<string, string>();