Bumped version and changed sendall button preselection behavior
This commit is contained in:
parent
eae9b42266
commit
1d44b156f4
@ -843,14 +843,14 @@ namespace ENI2.DetailViewControls
|
||||
{
|
||||
addToSend = true;
|
||||
|
||||
if ((message.ErrorCount ?? 0) > 0) continue; // skip selection if there are any errors left
|
||||
// if ((message.ErrorCount ?? 0) > 0) continue; // skip selection if there are any errors left
|
||||
|
||||
switch(message.MessageNotificationClass)
|
||||
{
|
||||
case NotificationClass.HAZA:
|
||||
addToSend = XtraSendLogic.ShouldSendMessage(message) && ((message.ViolationCount ?? 0) == 0); break;
|
||||
addToSend = XtraSendLogic.ShouldSendMessage(message); break;
|
||||
case NotificationClass.HAZD:
|
||||
addToSend = XtraSendLogic.ShouldSendMessage(message) && ((message.ViolationCount ?? 0) == 0); break;
|
||||
addToSend = XtraSendLogic.ShouldSendMessage(message); break;
|
||||
case NotificationClass.BPOL:
|
||||
if (message.Elements.Count > 0)
|
||||
{
|
||||
@ -858,26 +858,16 @@ namespace ENI2.DetailViewControls
|
||||
{
|
||||
if (bpol.PortOfItineraries.Count == 0) addToSend = false;
|
||||
}
|
||||
if((message.ViolationCount ?? 0) > 0) addToSend = false;
|
||||
}
|
||||
break;
|
||||
case NotificationClass.WAS:
|
||||
// if ((message.PositionViolationCount ?? 0) > 0) addToSend = false;
|
||||
break; // WAS will be selected even if there are (any) violations left
|
||||
case NotificationClass.WAS_RCPT:
|
||||
addToSend = false;
|
||||
break;
|
||||
case NotificationClass.NOA_NOD:
|
||||
if ((message.PositionViolationCount ?? 0) > 0) addToSend = false;
|
||||
break;
|
||||
case NotificationClass.INFO:
|
||||
if (Core.PoC == "DEHAM") addToSend = false;
|
||||
else addToSend = !((message.ViolationCount ?? 0) > 0);
|
||||
break;
|
||||
default:
|
||||
if((message.ViolationCount ?? 0) > 0) addToSend = false;
|
||||
if(Message.IsListClass(message.MessageNotificationClass) && (message.Elements.Count == 0)) addToSend = false;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@ -36,8 +36,8 @@
|
||||
<MinimumRequiredVersion>5.4.0.0</MinimumRequiredVersion>
|
||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||
<WebPage>publish.html</WebPage>
|
||||
<ApplicationRevision>1</ApplicationRevision>
|
||||
<ApplicationVersion>7.2.12.1</ApplicationVersion>
|
||||
<ApplicationRevision>2</ApplicationRevision>
|
||||
<ApplicationVersion>7.2.12.2</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user