From 78d94aad2ebd288de080c45e34fc3714b3d77556 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Mon, 8 Mar 2021 17:20:14 +0200 Subject: Fixed issue with job ticket upload strategy on job outline. --- Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Software/Visual_Studio/Tango.Integration') diff --git a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs index b88094f80..740fcb3c0 100644 --- a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs +++ b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs @@ -2640,6 +2640,7 @@ namespace Tango.Integration.Operation ticket.EnableLubrication = job.EnableLubrication; ticket.Length = job.Length; ticket.WindingMethod = (JobWindingMethod)job.WindingMethod.Code; + ticket.UploadStrategy = JobUploadStrategy; if (JobUnitsMethod == JobUnitsMethods.Device) { @@ -2796,7 +2797,6 @@ namespace Tango.Integration.Operation //Log Job Outline (Only first and last brush stops if gradient). var ticketToLog = ticket.Clone(); - ticketToLog.UploadStrategy = JobUploadStrategy; ticketToLog.Segments.Clear(); foreach (var seg in ticket.Segments) @@ -2851,7 +2851,6 @@ namespace Tango.Integration.Operation } request.JobTicket = ticket.Clone(); - request.JobTicket.UploadStrategy = JobUploadStrategy; LogManager.Log($"Job upload method is set to {JobUploadStrategy}..."); -- cgit v1.3.1