aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL/Entities
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-10-22 17:34:14 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-10-22 17:34:50 +0300
commit7f2ff77f2fe695c13e9c36a9706ed6e63d0ece24 (patch)
treec9d7a2082ae98f6bf42bf20fdbaaed3883d052a7 /Software/Visual_Studio/Tango.BL/Entities
parent4cebc14d3183ee4dc4ade0f85d9bf72cec44533c (diff)
downloadTango-7f2ff77f2fe695c13e9c36a9706ed6e63d0ece24.tar.gz
Tango-7f2ff77f2fe695c13e9c36a9706ed6e63d0ece24.zip
Added Number of spools to PMR.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/Job.cs2
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);