aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-07-28 15:50:27 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-07-28 15:50:27 +0300
commit0281068b4adb3f94af50f2c758d3e0fa0fe5f191 (patch)
tree63d1dcc9ce546722beb7689739a94194556013ba /Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs
parent7c7aba43ab895d02e0209861550fed3bc12f3904 (diff)
downloadTango-0281068b4adb3f94af50f2c758d3e0fa0fe5f191.tar.gz
Tango-0281068b4adb3f94af50f2c758d3e0fa0fe5f191.zip
Added machine service version display to AzureUtils.
Diffstat (limited to 'Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs')
-rw-r--r--Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs
index 8888dfc02..129550d14 100644
--- a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs
+++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs
@@ -14,6 +14,7 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Tango.AzureUtils.Database;
+using Tango.AzureUtils.FTP;
using Tango.BL.Entities;
namespace Tango.AzureUtils.UI.Controls
@@ -63,6 +64,16 @@ namespace Tango.AzureUtils.UI.Controls
public static readonly DependencyProperty MachineStudioVersionProperty =
DependencyProperty.Register("MachineStudioVersion", typeof(MachineStudioVersion), typeof(WebAppPropertiesControl), new PropertyMetadata(null));
+ public String MachineServiceVersion
+ {
+ get { return (String)GetValue(MachineServiceVersionProperty); }
+ set { SetValue(MachineServiceVersionProperty, value); }
+ }
+ public static readonly DependencyProperty MachineServiceVersionProperty =
+ DependencyProperty.Register("MachineServiceVersion", typeof(String), typeof(WebAppPropertiesControl), new PropertyMetadata(null));
+
+
+
public bool IsBusy
{
get { return (bool)GetValue(IsBusyProperty); }
@@ -97,6 +108,9 @@ namespace Tango.AzureUtils.UI.Controls
TangoVersion = await databaseManager.GetLatestPPCVersion(app);
MachineStudioVersion = await databaseManager.GetLatestMachineStudioVersion(app);
FseVersion = await databaseManager.GetLatestFSEVersion(app);
+
+ FtpManager ftpManager = new FtpManager(azure);
+ MachineServiceVersion = await ftpManager.GetMachineServiceVersion(app);
}
catch { }
finally