From 5da415d6935bd6faa8c49db66f11015a8050bf4d Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 8 Nov 2018 12:03:06 +0200 Subject: Moved android project and new project. Visual Studio Timeout Task! --- .../PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs | 7 ++++++- Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI') 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 1c7d39e73..1a509f78b 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs @@ -44,7 +44,12 @@ namespace Tango.PPC.UI.Printing /// public JobHandler Print(Job job, ObservablesContext context) { - var handler = _machineProvider.MachineOperator.Print(job); + +#if STUBPRINT + var handler = _machineProvider.MachineOperator.PrintStub(job); +#else + var handler = _machineProvider.MachineOperator.Print(job); +#endif handler.Completed += async (x, e) => { diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj b/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj index f0adee724..e29ee0e02 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj @@ -37,7 +37,7 @@ full false ..\..\Build\PPC\Debug\ - TRACE;DEBUG + TRACE;DEBUG;STUBPRINT prompt 4 @@ -432,7 +432,7 @@ copy /Y "$(SolutionDir)Referenced Assemblies\vcruntime140d.dll" "$(TargetDir)" - + \ No newline at end of file -- cgit v1.3.1