aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Azure/Tango.AzureUtils.UI
diff options
context:
space:
mode:
authorRoy <Roy.mail.net@gmail.com>2023-09-04 03:40:31 +0300
committerRoy <Roy.mail.net@gmail.com>2023-09-04 03:40:31 +0300
commit26d233c28e78b20fc9b19fbb51bc2585e7cab5d1 (patch)
treee32c8fb87b16b6fb3663a83dc907e520b4988f81 /Software/Visual_Studio/Azure/Tango.AzureUtils.UI
parent190df294c6f8e4f93e106ede25b39d22221d12d5 (diff)
downloadTango-26d233c28e78b20fc9b19fbb51bc2585e7cab5d1.tar.gz
Tango-26d233c28e78b20fc9b19fbb51bc2585e7cab5d1.zip
Eureka Version Tag
Diffstat (limited to 'Software/Visual_Studio/Azure/Tango.AzureUtils.UI')
-rw-r--r--Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs11
-rw-r--r--Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Views/EnvironmentUpgradeView.xaml8
2 files changed, 16 insertions, 3 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 22396cefe..9dcfebad9 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
@@ -42,6 +42,15 @@ namespace Tango.AzureUtils.UI.Controls
public static readonly DependencyProperty PPCVersionTagProperty =
DependencyProperty.Register("PPCVersionTag", typeof(String), typeof(WebAppPropertiesControl), new PropertyMetadata(null, (d, e) => (d as WebAppPropertiesControl).UpdateControl()));
+ public String EurekaVersionTag
+ {
+ get { return (String)GetValue(EurekaVersionTagProperty); }
+ set { SetValue(EurekaVersionTagProperty, value); }
+ }
+ public static readonly DependencyProperty EurekaVersionTagProperty =
+ DependencyProperty.Register("EurekaVersionTag", typeof(String), typeof(WebAppPropertiesControl), new PropertyMetadata(null, (d, e) => (d as WebAppPropertiesControl).UpdateControl()));
+
+
public MachineServiceSettings Settings
{
get { return (MachineServiceSettings)GetValue(SettingsProperty); }
@@ -152,7 +161,7 @@ namespace Tango.AzureUtils.UI.Controls
var azure = await AzureUtilsAuthenticationFactory.AuthenticateOrGetAsync();
var databaseManager = new DatabaseManager(azure);
TangoVersion = await databaseManager.GetLatestPPCVersion(app, PPCVersionTag);
- EurekaVersion = await databaseManager.GetLatestEurekaVersion(app, PPCVersionTag);
+ EurekaVersion = await databaseManager.GetLatestEurekaVersion(app, EurekaVersionTag);
MachineStudioVersion = await databaseManager.GetLatestMachineStudioVersion(app);
FseVersion = await databaseManager.GetLatestFSEVersion(app, FSEBuildVariants.FSE);
TwineRSMVersion = await databaseManager.GetLatestFSEVersion(app, FSEBuildVariants.TwineRSM);
diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Views/EnvironmentUpgradeView.xaml b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Views/EnvironmentUpgradeView.xaml
index fe82fb0b8..546ac31f2 100644
--- a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Views/EnvironmentUpgradeView.xaml
+++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Views/EnvironmentUpgradeView.xaml
@@ -32,7 +32,7 @@
</ComboBox.ItemTemplate>
</ComboBox>
- <localControls:WebAppPropertiesControl VerticalAlignment="Top" Margin="0 20 0 0" PPCVersionTag="{Binding Config.PPCVersionTag}" WebApp="{Binding SelectedSourceApp}" />
+ <localControls:WebAppPropertiesControl VerticalAlignment="Top" Margin="0 20 0 0" PPCVersionTag="{Binding Config.PPCVersionTag}" EurekaVersionTag="{Binding Config.EurekaVersionTag}" WebApp="{Binding SelectedSourceApp}" />
</DockPanel>
</GroupBox>
</Grid>
@@ -59,6 +59,10 @@
<TextBlock FontSize="10">PPC Version Tag</TextBlock>
<TextBox x:Name="txtPPCVersionTag" Text="{Binding Config.PPCVersionTag,Mode=TwoWay,Delay=500,UpdateSourceTrigger=PropertyChanged}"></TextBox>
</StackPanel>
+ <StackPanel Margin="0 10 0 0">
+ <TextBlock FontSize="10">Twine X4 Version Tag</TextBlock>
+ <TextBox x:Name="txtEurekaVersionTag" Text="{Binding Config.EurekaVersionTag,Mode=TwoWay,Delay=500,UpdateSourceTrigger=PropertyChanged}"></TextBox>
+ </StackPanel>
</StackPanel>
</GroupBox>
@@ -82,7 +86,7 @@
</ComboBox.ItemTemplate>
</ComboBox>
- <localControls:WebAppPropertiesControl VerticalAlignment="Top" Margin="0 20 0 0" PPCVersionTag="{Binding Config.PPCVersionTag}" WebApp="{Binding SelectedTargetApp}" />
+ <localControls:WebAppPropertiesControl VerticalAlignment="Top" Margin="0 20 0 0" PPCVersionTag="{Binding Config.PPCVersionTag}" EurekaVersionTag="{Binding Config.EurekaVersionTag}" WebApp="{Binding SelectedTargetApp}" />
</DockPanel>
</GroupBox>
</Grid>