Compare commits

..

No commits in common. "f58e9e707958081ea8255d9b3f33d043f5c490cb" and "c1e450c18b56a98fcff042b8df5eb5038f20be92" have entirely different histories.

4 changed files with 6 additions and 12 deletions

View File

@ -871,7 +871,7 @@ namespace ENI2.DetailViewControls
break;
case NotificationClass.INFO:
if (Core.PoC == "DEHAM") addToSend = false;
else addToSend = !((message.ViolationCount ?? 0) > 0);
else addToSend = ((message.ViolationCount ?? 0) > 0);
break;
default:
if((message.ViolationCount ?? 0) > 0) addToSend = false;

View File

@ -36,8 +36,8 @@
<MinimumRequiredVersion>5.4.0.0</MinimumRequiredVersion>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>publish.html</WebPage>
<ApplicationRevision>1</ApplicationRevision>
<ApplicationVersion>7.2.11.1</ApplicationVersion>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>7.2.11.0</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted>

View File

@ -216,8 +216,9 @@ namespace bsmd.database
errors.Add(RuleEngine.CreateError(ValidationCode.IMPLAUSIBLE, "PortArea", this.PortArea, "INFO", "", this.Tablename));
}
else
{
errors.Add(RuleEngine.CreateError(ValidationCode.PORTAREA, "PortArea", this.PortArea ?? "", "INFO", "", this.Tablename));
{
if(this.MessageCore.PoC != "DEHAM")
errors.Add(RuleEngine.CreateError(ValidationCode.PORTAREA, "PortArea", this.PortArea ?? "", "INFO", "", this.Tablename));
}
if(DeplacementSummerDraught_TNE.HasValue)

View File

@ -146,13 +146,6 @@ namespace bsmd.database
};
this.WasteReceived.Add(foundWasteReceived);
}
else
{
if (!foundWasteReceived.AmountWasteReceived_MTQ.HasValue)
{
foundWasteReceived.AmountWasteReceived_MTQ = 0;
}
}
if (foundWasteReceived.WasteDescription.IsNullOrEmpty())
{