EFEMFrontView.xaml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <UserControl x:Class="Venus_Themes.UserControls.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="Venus_Themes.UserControls"
  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" x:Name="robotFrontView">
  10. <Grid x:Name="EFEM" HorizontalAlignment="Center" VerticalAlignment="Center">
  11. <Grid.RowDefinitions>
  12. <RowDefinition Height="Auto"/>
  13. <RowDefinition />
  14. </Grid.RowDefinitions>
  15. <TextBlock Text="{Binding ElementName=robotFrontView,Path=Title}" 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="170" Margin="0,5" CornerRadius="4">
  27. <Grid Height="82">
  28. <Rectangle Fill="{DynamicResource FOUP_InnerBG}" Margin="5" RadiusX="2" RadiusY="2"/>
  29. <Rectangle Fill="{DynamicResource FOUP_OuterBG}" Margin="5,38,5,66" RadiusX="0" RadiusY="1"/>
  30. <Rectangle Fill="{DynamicResource FOUP_InnerGrow}" Margin="8,8,8,76" RadiusX="2" RadiusY="2">
  31. <Rectangle.Effect>
  32. <BlurEffect Radius="15"/>
  33. </Rectangle.Effect>
  34. </Rectangle>
  35. <Rectangle Fill="{DynamicResource FOUP_InnerGrow}" Margin="8,46,8,8" RadiusX="2" RadiusY="2">
  36. <Rectangle.Effect>
  37. <BlurEffect Radius="15"/>
  38. </Rectangle.Effect>
  39. </Rectangle>
  40. <Grid Margin="0,10">
  41. <Grid.RowDefinitions>
  42. <RowDefinition Height="30"/>
  43. <RowDefinition Height="30"/>
  44. </Grid.RowDefinitions>
  45. <Grid.ColumnDefinitions>
  46. <ColumnDefinition Width="42"/>
  47. <ColumnDefinition />
  48. </Grid.ColumnDefinitions>
  49. <TextBlock Text="Upper" FontFamily="Arial" FontSize="12" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,7,0,10"/>
  50. <StackPanel Grid.Column="1" VerticalAlignment="Center" Margin="0,0,5,0">
  51. <ctrl:Slot ViewType="Front" Cursor="Hand" x:Name="EFEMUpper" DataContext="{ Binding ElementName=robotFrontView,Path=UnitData.WaferManager.Wafers[1]}" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" HorizontalAlignment="Center" VerticalAlignment="Top" SlotMouseButtonDown="Slot_SlotMouseButtonDown">
  52. </ctrl:Slot>
  53. <Rectangle Width="30" Height="3" Fill="{DynamicResource FOUP_PathBG}" Margin="0,2,0,0" RadiusX="0.5" RadiusY="0.5">
  54. <Rectangle.Effect>
  55. <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>
  56. </Rectangle.Effect>
  57. </Rectangle>
  58. </StackPanel>
  59. <TextBlock Grid.Row="1" Text="Lower" FontFamily="Arial" FontSize="12" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,10,0,7"/>
  60. <StackPanel Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Margin="0,0,5,0">
  61. <ctrl:Slot ViewType="Front" Cursor="Hand" x:Name="EFEMLower" DataContext="{Binding UnitData.WaferManager.Wafers[0],RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" HorizontalAlignment="Center" VerticalAlignment="Top" SlotMouseButtonDown="Slot_SlotMouseButtonDown">
  62. </ctrl:Slot>
  63. <Rectangle Width="30" Height="3" Fill="{DynamicResource FOUP_PathBG}" Margin="0,2,0,0" RadiusX="0.5" RadiusY="0.5">
  64. <Rectangle.Effect>
  65. <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>
  66. </Rectangle.Effect>
  67. </Rectangle>
  68. </StackPanel>
  69. </Grid>
  70. </Grid>
  71. </Border>
  72. </Grid>
  73. </UserControl>