diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-22 11:28:50 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-22 11:28:50 +0200 |
| commit | b06466e5b4fd861207452fa4cebb2ee68195a8e6 (patch) | |
| tree | 754c87679293ee362db1c717b61c38b2a8592b7c /Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Program.cs | |
| parent | 21654e86a9909a0961711d4d1901766760f7bb99 (diff) | |
| download | Tango-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.cs | 6 |
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) |
