From 7867b3ac045364fc2aa11a860871bee2bfeb072d Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Sun, 15 Aug 2021 10:27:35 +0300 Subject: Multiple Jobs on one spool. --- .../PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs') diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs index ed1a0253d..9f31305f7 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs @@ -61,6 +61,14 @@ namespace Tango.PPC.UI.Printing #else try { + if (!_machineProvider.MachineOperator.IsSpoolReplaced) + { + if (!(await _notificationProvider.ShowDialog(new SpoolReplaceViewVM())).DialogResult) + { + throw new OperationCanceledException(); + } + } + _notificationProvider.SetGlobalBusyMessage("Processing job..."); //Apply additional job configuration... -- cgit v1.3.1