diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-10-22 17:34:14 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-10-22 17:34:50 +0300 |
| commit | 7f2ff77f2fe695c13e9c36a9706ed6e63d0ece24 (patch) | |
| tree | c9d7a2082ae98f6bf42bf20fdbaaed3883d052a7 /Software/Visual_Studio/Tango.BL | |
| parent | 4cebc14d3183ee4dc4ade0f85d9bf72cec44533c (diff) | |
| download | Tango-7f2ff77f2fe695c13e9c36a9706ed6e63d0ece24.tar.gz Tango-7f2ff77f2fe695c13e9c36a9706ed6e63d0ece24.zip | |
Added Number of spools to PMR.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL')
| -rw-r--r-- | Software/Visual_Studio/Tango.BL/Entities/Job.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/Job.cs b/Software/Visual_Studio/Tango.BL/Entities/Job.cs index 328d74f0c..3139a5a5b 100644 --- a/Software/Visual_Studio/Tango.BL/Entities/Job.cs +++ b/Software/Visual_Studio/Tango.BL/Entities/Job.cs @@ -937,6 +937,7 @@ namespace Tango.BL.Entities jobFile.Type = job.Type; jobFile.WindingMethodGuid = job.WindingMethodGuid; jobFile.ColorCatalogGuid = job.ColorCatalogGuid.ToStringOrEmpty(); + jobFile.NumberOfSpools = job.NumberOfSpools; jobFile.Version = job.Version; foreach (var segm in job.OrderedSegmentsWithGroups) @@ -1055,6 +1056,7 @@ namespace Tango.BL.Entities job.LengthPercentageFactor = jobFile.LengthPercentageFactor; job.Name = jobFile.Name.ToNullIfEmpty(); job.NumberOfUnits = jobFile.NumberOfUnits; + job.NumberOfSpools = jobFile.NumberOfSpools; job.Version = jobFile.Version; var job_rml = db.Rmls.SingleOrDefault(x => x.Guid == jobFile.RmlGuid); |
