EFEMFrontView.xaml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <UserControl x:Class="VirgoUI.Client.Models.Controls.EFEMFrontView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:VirgoUI.Client.Models.Controls"
  7. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  8. xmlns:cal="http://www.caliburn.org"
  9. xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation">
  10. <Grid x:Name="EFEM" HorizontalAlignment="Center" VerticalAlignment="Center">
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="Auto"/>
  13. <RowDefinition Height="Auto"/>
  14. </Grid.RowDefinitions>
  15. <TextBlock Text="Robot Side View" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" VerticalAlignment="Center" HorizontalAlignment="Center">
  16. <TextBlock.Style>
  17. <Style>
  18. <Style.Triggers>
  19. <DataTrigger Binding="{Binding ShowTitle,RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" Value="False">
  20. <Setter Property="TextBlock.Visibility" Value="Collapsed" />
  21. </DataTrigger>
  22. </Style.Triggers>
  23. </Style>
  24. </TextBlock.Style>
  25. </TextBlock>
  26. <Border Grid.Row="1" BorderThickness="1" BorderBrush="{DynamicResource FOUP_OuterBD}" Background="{DynamicResource FOUP_OuterBG}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150" Margin="0,5">
  27. <Grid>
  28. <Rectangle Fill="{DynamicResource FOUP_InnerBG}" Margin="5"/>
  29. <Rectangle Fill="{DynamicResource FOUP_InnerGrow}" Margin="8">
  30. <Rectangle.Effect>
  31. <BlurEffect Radius="15"/>
  32. </Rectangle.Effect>
  33. </Rectangle>
  34. <Grid Margin="0,10" Height="Auto">
  35. <StackPanel>
  36. <Grid Height="30" Visibility="{Binding DataContext.UpperArmVisibility, RelativeSource={RelativeSource AncestorType=UserControl}}">
  37. <Grid.ColumnDefinitions>
  38. <ColumnDefinition Width="42"/>
  39. <ColumnDefinition />
  40. </Grid.ColumnDefinitions>
  41. <TextBlock Text="Upper" FontFamily="Arial" FontSize="12"
  42. Foreground="{DynamicResource FG_Black}"
  43. HorizontalAlignment="Right" VerticalAlignment="Center"/>
  44. <StackPanel Grid.Column="1" VerticalAlignment="Center" Margin="0,0,5,0">
  45. <ctrl:Slot ViewType="Front" x:Name="EFEMUpper"
  46. DataContext="{Binding UnitData.WaferManager.Wafers[1]}"
  47. WaferStatus="{Binding WaferStatus}"
  48. SlotID="{Binding SlotID}"
  49. ModuleID="{Binding ModuleID}"
  50. SourceName="{Binding SourceName}"
  51. HorizontalAlignment="Center" VerticalAlignment="Top">
  52. </ctrl:Slot>
  53. <Rectangle Width="30" Height="3" Fill="{DynamicResource FOUP_PathBG}" Margin="0,2,0,0">
  54. <Rectangle.Effect>
  55. <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>
  56. </Rectangle.Effect>
  57. </Rectangle>
  58. </StackPanel>
  59. </Grid>
  60. <Grid Height="30" Visibility="{Binding Datacontext.LowerArmVisibility, RelativeSource={RelativeSource AncestorType=UserControl}}">
  61. <Grid.ColumnDefinitions>
  62. <ColumnDefinition Width="42"/>
  63. <ColumnDefinition />
  64. </Grid.ColumnDefinitions>
  65. <TextBlock Text="Lower" FontFamily="Arial" FontSize="12"
  66. Foreground="{DynamicResource FG_Black}"
  67. HorizontalAlignment="Right" VerticalAlignment="Center"/>
  68. <StackPanel Grid.Column="1" VerticalAlignment="Center" Margin="0,0,5,0">
  69. <ctrl:Slot ViewType="Front" x:Name="EFEMLower"
  70. DataContext="{Binding UnitData.WaferManager.Wafers[0]}"
  71. WaferStatus="{Binding WaferStatus}"
  72. SlotID="{Binding SlotID}"
  73. ModuleID="{Binding ModuleID}"
  74. SourceName="{Binding SourceName}"
  75. HorizontalAlignment="Center" VerticalAlignment="Top">
  76. </ctrl:Slot>
  77. <Rectangle Width="30" Height="3" Fill="{DynamicResource FOUP_PathBG}" Margin="0,2,0,0">
  78. <Rectangle.Effect>
  79. <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>
  80. </Rectangle.Effect>
  81. </Rectangle>
  82. </StackPanel>
  83. </Grid>
  84. </StackPanel>
  85. </Grid>
  86. </Grid>
  87. </Border>
  88. </Grid>
  89. </UserControl>