aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-01-09 16:41:18 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-01-09 16:41:18 +0200
commita15947f35cc602d26cf3f51a5c76b6ada939ea12 (patch)
tree0dbd6c979324bb0714f5dd16df05f9290dac867d /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common
parentaeebb8d47e1d78b50d9ae5afd9df6eaf9765ed87 (diff)
downloadTango-a15947f35cc602d26cf3f51a5c76b6ada939ea12.tar.gz
Tango-a15947f35cc602d26cf3f51a5c76b6ada939ea12.zip
Implemented job upload using JobDescriptionFile.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs
index 90fe33958..461a36b46 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs
@@ -6,6 +6,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Tango.Logging;
+using Tango.PMR.Printing;
using Tango.Settings;
using Tango.Web;
@@ -102,6 +103,11 @@ namespace Tango.MachineStudio.Common
public DeploymentSlot DeploymentSlot { get; set; }
/// <summary>
+ /// Gets or sets the job upload strategy.
+ /// </summary>
+ public JobUploadStrategy JobUploadStrategy { get; set; }
+
+ /// <summary>
/// Gets the machine service address.
/// </summary>
/// <returns></returns>
@@ -121,6 +127,7 @@ namespace Tango.MachineStudio.Common
StudioModulesBounds = new List<StudioModuleBounds>();
Environment = WorkingEnvironment.Remote;
DeploymentSlot = DeploymentSlot.DEV;
+ JobUploadStrategy = JobUploadStrategy.Default;
}
}
}