diff --git a/ENI2/DetailRootControl.xaml.cs b/ENI2/DetailRootControl.xaml.cs index a96c79ef..941892ec 100644 --- a/ENI2/DetailRootControl.xaml.cs +++ b/ENI2/DetailRootControl.xaml.cs @@ -361,11 +361,11 @@ namespace ENI2 if (oldMessage.MessageNotificationClass == Message.NotificationClass.ATD) continue; if (oldMessage.MessageNotificationClass == Message.NotificationClass.NOA_NOD) continue; - bool isAndienKlasse = ((oldMessage.MessageNotificationClass == Message.NotificationClass.AGNT) || + bool isAndienKlasse = (oldMessage.MessageNotificationClass == Message.NotificationClass.AGNT) || (oldMessage.MessageNotificationClass == Message.NotificationClass.STAT) || (oldMessage.MessageNotificationClass == Message.NotificationClass.INFO) || (oldMessage.MessageNotificationClass == Message.NotificationClass.HAZA) || - (oldMessage.MessageNotificationClass == Message.NotificationClass.HAZD)); + (oldMessage.MessageNotificationClass == Message.NotificationClass.HAZD); if (!cdd.CopyAll && !isAndienKlasse) continue; @@ -679,7 +679,7 @@ namespace ENI2 me.MessageGroupName = messageGroup; foreach (MessageViolation mv in violations) mv.MessageGroupName = messageGroup; - } + } vErrors.AddRange(errors); vViolations.AddRange(violations); @@ -1046,7 +1046,7 @@ namespace ENI2 this._errorListDialog.Closed += (o, e) => this._errorListDialog = null; this._errorListDialog.Loaded += (o, e) => this._errorListDialog.RefreshVisible = true; this._errorListDialog.ErrorSelected += _errorListDialog_ErrorSelected; - this._errorListDialog.RefreshClicked += _errorListDialog_RefreshClicked; + this._errorListDialog.RefreshClicked += _errorListDialog_RefreshClicked; this._errorListDialog.Show(); } this._errorListDialog.Errors = vErrors; @@ -1060,7 +1060,7 @@ namespace ENI2 this._violationListDialog.Closed += (o, e) => this._violationListDialog = null; this._violationListDialog.Loaded += (o, e) => this._violationListDialog.RefreshVisible = true; this._violationListDialog.ViolationSelected += _errorListDialog_ErrorSelected; - this._violationListDialog.RefreshClicked += _errorListDialog_RefreshClicked; + this._violationListDialog.RefreshClicked += _errorListDialog_RefreshClicked; this._violationListDialog.Show(); } _violationListDialog.Violations = vViolations; @@ -1157,7 +1157,7 @@ namespace ENI2 return Properties.Resources.textDepartureNotification; case Message.NotificationClass.MDH: return Properties.Resources.textMDH; - case Message.NotificationClass.NOA_NOD: + case Message.NotificationClass.NOA_NOD: case Message.NotificationClass.AGNT: return Properties.Resources.textPortCall; case Message.NotificationClass.NAME: @@ -1175,6 +1175,7 @@ namespace ENI2 case Message.NotificationClass.TOWD: return Properties.Resources.textTowage; case Message.NotificationClass.WAS: + case Message.NotificationClass.WAS_RCPT: return Properties.Resources.textWaste; } return null; diff --git a/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml b/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml index ed52f1ed..92f3fa89 100644 --- a/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml +++ b/ENI2/DetailViewControls/BorderPoliceDetailControl.xaml @@ -60,9 +60,9 @@