aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2021-03-08 17:20:14 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2021-03-08 17:20:14 +0200
commit78d94aad2ebd288de080c45e34fc3714b3d77556 (patch)
tree425698e6824d1c697c73e1ea934dda47673f5124 /Software/Visual_Studio/Tango.Integration
parent6bf859daa6e468d0414e2dceb781ba408f7012de (diff)
downloadTango-78d94aad2ebd288de080c45e34fc3714b3d77556.tar.gz
Tango-78d94aad2ebd288de080c45e34fc3714b3d77556.zip
Fixed issue with job ticket upload strategy on job outline.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs3
1 files changed, 1 insertions, 2 deletions
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}...");