aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Operation
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2023-07-27 18:00:36 +0300
committerRoy <Roy.mail.net@gmail.com>2023-07-27 18:00:36 +0300
commit2ead0210a36cff327f59b363bfbb41734a4fbd0a (patch)
treee691bf3191f6806b72045e0c6dc14d3d6e9d0196 /Software/Visual_Studio/Tango.Integration/Operation
parentd9d009df1da8630ec6726ed506865ca9818d1eff (diff)
downloadTango-2ead0210a36cff327f59b363bfbb41734a4fbd0a.tar.gz
Tango-2ead0210a36cff327f59b363bfbb41734a4fbd0a.zip
Fixed machine operator order of events vs handler raise for job resume.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operation')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
index 20c56bb41..d159b20bc 100644
--- a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
+++ b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs
@@ -3331,8 +3331,8 @@ namespace Tango.Integration.Operation
finalException = new ContinuousResponseAbortedException($"Job aborted by the embedded device ({continuousException.Container.ErrorMessage}).");
}
- OnPrintingFailed(handler, jobForJobRun, finalException);
handler.RaiseFailed(finalException);
+ OnPrintingFailed(handler, jobForJobRun, finalException);
}
}
}, () =>
@@ -3345,8 +3345,8 @@ namespace Tango.Integration.Operation
UpdateStatus(MachineStatuses.ReadyToDye);
SaveLastJobLiquidQuantities(clonedJob, originalJob.Machine.Configuration, processParameters, handler);
- OnPrintingCompleted(handler, jobForJobRun);
handler.RaiseCompleted();
+ OnPrintingCompleted(handler, jobForJobRun);
}
});
});