aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-01-01 16:29:48 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-01-01 16:29:48 +0200
commit9a3114908dd0a4f61fc959ef0f352b2b6255a652 (patch)
tree8688a50177a7847f89b4b72a1fa6bb6f2908e531 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
parentd5dc3baea50270169c09a6e8318398c0f2189d56 (diff)
downloadTango-9a3114908dd0a4f61fc959ef0f352b2b6255a652.tar.gz
Tango-9a3114908dd0a4f61fc959ef0f352b2b6255a652.zip
Added environments for machine studio.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
index 9a109679b..8d37a2b8d 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/MainWindowVM.cs
@@ -20,6 +20,7 @@ using Tango.MachineStudio.Common.Update;
using Tango.Settings;
using Tango.SharedUI;
using Tango.Transport.Web;
+using Tango.Web;
namespace Tango.MachineStudio.Publisher
{
@@ -69,6 +70,18 @@ namespace Tango.MachineStudio.Publisher
set { _isStable = value; RaisePropertyChangedAuto(); }
}
+ private DeploymentSlot _deploymentSlot;
+ public DeploymentSlot DeploymentSlot
+ {
+ get { return _deploymentSlot; }
+ set
+ {
+ _deploymentSlot = value; RaisePropertyChangedAuto();
+
+ SettingsManager.Default.GetOrCreate<MachineStudioSettings>().DeploymentSlot = _deploymentSlot;
+ UpdateVersions();
+ }
+ }
private String _currentVersion;