aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/EmergencyView.xaml
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-10-23 21:18:50 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-10-23 21:19:18 +0300
commitb428d54cba43ad40cf422ef6e69ccb85d8f4a146 (patch)
tree1f58eb8341ef4c18367428fd0b3bf6cfa03a109e /Software/Visual_Studio/PPC/Tango.PPC.UI/Views/EmergencyView.xaml
parent9e5e3823681c24db9db82fc0ece8a90ecb917cf3 (diff)
downloadTango-b428d54cba43ad40cf422ef6e69ccb85d8f4a146.tar.gz
Tango-b428d54cba43ad40cf422ef6e69ccb85d8f4a146.zip
PPC. New images - backup_restore, machine-image and machine for X4.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/Views/EmergencyView.xaml')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/Views/EmergencyView.xaml13
1 files changed, 12 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/EmergencyView.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/EmergencyView.xaml
index f2b018bfa..e4f55915c 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/EmergencyView.xaml
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/EmergencyView.xaml
@@ -20,7 +20,18 @@
<TextBlock Margin="0 8 0 0" FontSize="{StaticResource TangoTitleFontSize}">2. Release the emergency button.</TextBlock>
<TextBlock Margin="0 8 0 0" FontSize="{StaticResource TangoTitleFontSize}">3. Press the power button to power up the system.</TextBlock>
- <Image Source="../Images/machine-image.png" Width="500" HorizontalAlignment="Left" Margin="0 150 0 0" />
+ <Image Width="500" HorizontalAlignment="Left" Margin="0 150 0 0" >
+ <Image.Style>
+ <Style TargetType="{x:Type Image}">
+ <Setter Property="Source" Value="../Images/machine-image.png"/>
+ <Style.Triggers>
+ <DataTrigger Binding="{Binding BuildProvider.IsEureka}" Value="true">
+ <Setter Property="Source" Value="../Images/machine-image-X4.png"/>
+ </DataTrigger>
+ </Style.Triggers>
+ </Style>
+ </Image.Style>
+ </Image>
</StackPanel>
</DockPanel>
</Grid>