diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-01 14:30:20 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-01 14:30:20 +0200 |
| commit | b50b7ddb4c231810d17e0141bb77437718b10110 (patch) | |
| tree | c16de7bd470703301740ccd2b0f39bed4304a6c1 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs | |
| parent | 3415150ae12893d4f08d1afde512624755996095 (diff) | |
| download | Tango-b50b7ddb4c231810d17e0141bb77437718b10110.tar.gz Tango-b50b7ddb4c231810d17e0141bb77437718b10110.zip | |
Some more work on environments...
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs index cbaeb9d2e..90fe33958 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs @@ -7,6 +7,7 @@ using System.Threading.Tasks; using System.Windows; using Tango.Logging; using Tango.Settings; +using Tango.Web; namespace Tango.MachineStudio.Common { @@ -98,7 +99,7 @@ namespace Tango.MachineStudio.Common /// <summary> /// Gets or sets the deployment slot. /// </summary> - public DeploymentSlots DeploymentSlot { get; set; } + public DeploymentSlot DeploymentSlot { get; set; } /// <summary> /// Gets the machine service address. @@ -106,7 +107,7 @@ namespace Tango.MachineStudio.Common /// <returns></returns> public String GetMachineServiceAddress() { - return DeploymentSlot.ToDescription(); + return DeploymentSlot.ToAddress(); } /// <summary> @@ -119,7 +120,7 @@ namespace Tango.MachineStudio.Common DefaultIssueReportTags = new List<string>(); StudioModulesBounds = new List<StudioModuleBounds>(); Environment = WorkingEnvironment.Remote; - DeploymentSlot = DeploymentSlots.Development; + DeploymentSlot = DeploymentSlot.DEV; } } } |
