aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2019-11-13 11:59:51 +0200
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2019-11-13 11:59:51 +0200
commitb294fd44000766de11ce6c0e2d82d2fae81c82b9 (patch)
treea49292df75c5ab265ff3f7f3254e9504db1f9420 /Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
parent81ad4efdc9ec8593a75bf68fb3b39b97aa35aaa6 (diff)
downloadTango-b294fd44000766de11ce6c0e2d82d2fae81c82b9.tar.gz
Tango-b294fd44000766de11ce6c0e2d82d2fae81c82b9.zip
Restored job liquid quantity validation to start of procedure.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs17
1 files changed, 0 insertions, 17 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
index b98cde7dd..58aa1e841 100644
--- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobProgressViewVM.cs
@@ -144,27 +144,10 @@ namespace Tango.PPC.Jobs.ViewModels
e.JobHandler.StatusChanged += JobHandler_StatusChanged;
e.JobHandler.SpoolChangeRequired += JobHandler_SpoolChangeRequired;
e.JobHandler.Stopped += JobHandler_Stopped;
- e.JobHandler.Failed += JobHandler_Failed;
_stop_job_btn.Push();
}
- private void JobHandler_Failed(object sender, Exception ex)
- {
- if (ex is InsufficientLiquidQuantityException)
- {
- InvokeUI(async () =>
- {
- await NotificationProvider.ShowDialog(new InsufficientLiquidQuantityViewVM(ex as InsufficientLiquidQuantityException));
-
- if (IsVisible)
- {
- await NavigationManager.NavigateBack();
- }
- });
- }
- }
-
/// <summary>
/// Handles the SpoolChangeRequired event of the JobHandler.
/// </summary>