diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-08 12:03:06 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-11-08 12:03:06 +0200 |
| commit | 5da415d6935bd6faa8c49db66f11015a8050bf4d (patch) | |
| tree | d2b124a77b4e46f8c7ea92fa2e15151fe4d0d6e5 /Software/Visual_Studio/PPC/Tango.PPC.UI | |
| parent | 65115888c2d2fd03522dd4b5243a6657e15a62f0 (diff) | |
| download | Tango-5da415d6935bd6faa8c49db66f11015a8050bf4d.tar.gz Tango-5da415d6935bd6faa8c49db66f11015a8050bf4d.zip | |
Moved android project and new project.
Visual Studio Timeout Task!
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs | 7 | ||||
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj | 4 |
2 files changed, 8 insertions, 3 deletions
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 /// <returns></returns> 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 @@ <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>..\..\Build\PPC\Debug\</OutputPath> - <DefineConstants>TRACE;DEBUG</DefineConstants> + <DefineConstants>TRACE;DEBUG;STUBPRINT</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> @@ -432,7 +432,7 @@ copy /Y "$(SolutionDir)Referenced Assemblies\vcruntime140d.dll" "$(TargetDir)"</ </PropertyGroup> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file |
