From cd5a926df30ea7e7a4f4f4a55d71b43ec7aee3e1 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Sun, 22 Sep 2019 18:23:40 +0300 Subject: Implemented auto process selection on color space volume. Implemented number of units on Device. Fixed issue with color conversion process index. Increased max volume to 200 on PPC. Implemented Thread cloning on MS! --- .../PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (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 f9615199a..41a231932 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs @@ -52,15 +52,7 @@ namespace Tango.PPC.UI.Printing #if STUBPRINT handler = await _machineProvider.MachineOperator.PrintStub(job); #else - - if (job.ColorSpace.Code != ColorSpaces.Volume.ToInt32()) - { - handler = await _machineProvider.MachineOperator.Print(job); - } - else - { - handler = await _machineProvider.MachineOperator.Print(job, job.Rml.GetActiveProcessGroup().ProcessParametersTables.FirstOrDefault()); - } + handler = await _machineProvider.MachineOperator.Print(job); #endif handler.Completed += async (x, e) => @@ -152,7 +144,7 @@ namespace Tango.PPC.UI.Printing public async Task PrintSample(Job job, ObservablesContext context) { ThrowIfJobInvalid(job); - + LogManager.Log("Cloning job..."); Job sampleDyeJob = job.Clone(); sampleDyeJob.Guid = job.Guid; -- cgit v1.3.1