aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Program.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2020-01-22 11:28:50 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2020-01-22 11:28:50 +0200
commitb06466e5b4fd861207452fa4cebb2ee68195a8e6 (patch)
tree754c87679293ee362db1c717b61c38b2a8592b7c /Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Program.cs
parent21654e86a9909a0961711d4d1901766760f7bb99 (diff)
downloadTango-b06466e5b4fd861207452fa4cebb2ee68195a8e6.tar.gz
Tango-b06466e5b4fd861207452fa4cebb2ee68195a8e6.zip
Moved job run liquid quantity integral method to static method.
Added liquid quantity fix to job run fixer.
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Program.cs')
-rw-r--r--Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Program.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Program.cs b/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Program.cs
index 40c784815..7808a6957 100644
--- a/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Program.cs
+++ b/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Program.cs
@@ -9,6 +9,7 @@ using Tango.BL;
using Tango.BL.Builders;
using Tango.BL.Entities;
using Tango.Core;
+using Tango.Integration.Operation;
namespace Tango.JobRunsGenerator
{
@@ -80,6 +81,11 @@ namespace Tango.JobRunsGenerator
run.JobString = job.ToJobFileWhenLoaded().ToString();
}
+ if (run.LiquidQuantityString == null)
+ {
+ run.LiquidQuantities = MachineOperator.CreateJobRunLiquidQuantities(job, machine.Configuration, job.Rml.GetActiveProcessGroup().ProcessParametersTables.First(), run.EndPosition, job.LengthIncludingNumberOfUnits, 20);
+ }
+
saveIndex++;
if (saveIndex > 100)