From 2ead0210a36cff327f59b363bfbb41734a4fbd0a Mon Sep 17 00:00:00 2001 From: Roy Date: Thu, 27 Jul 2023 18:00:36 +0300 Subject: Fixed machine operator order of events vs handler raise for job resume. --- Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Software/Visual_Studio/Tango.Integration/Operation') 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); } }); }); -- cgit v1.3.1