From b50b7ddb4c231810d17e0141bb77437718b10110 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Tue, 1 Jan 2019 14:30:20 +0200 Subject: Some more work on environments... --- .../Tango.MachineStudio.Common/MachineStudioSettings.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/MachineStudioSettings.cs') 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 /// /// Gets or sets the deployment slot. /// - public DeploymentSlots DeploymentSlot { get; set; } + public DeploymentSlot DeploymentSlot { get; set; } /// /// Gets the machine service address. @@ -106,7 +107,7 @@ namespace Tango.MachineStudio.Common /// public String GetMachineServiceAddress() { - return DeploymentSlot.ToDescription(); + return DeploymentSlot.ToAddress(); } /// @@ -119,7 +120,7 @@ namespace Tango.MachineStudio.Common DefaultIssueReportTags = new List(); StudioModulesBounds = new List(); Environment = WorkingEnvironment.Remote; - DeploymentSlot = DeploymentSlots.Development; + DeploymentSlot = DeploymentSlot.DEV; } } } -- cgit v1.3.1