EquipmentTopView.xaml 5.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <UserControl x:Class="Virgo_DUI.Client.Controls.Parts.EquipmentTopView"
  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:parts="clr-namespace:Virgo_DUI.Controls.Parts"
  7. xmlns:parts1="clr-namespace:Virgo_DUI.Client.Controls.Parts"
  8. mc:Ignorable="d"
  9. d:DesignHeight="636" d:DesignWidth="621">
  10. <UserControl.Resources>
  11. <ResourceDictionary>
  12. <ResourceDictionary.MergedDictionaries>
  13. <ResourceDictionary Source="/Virgo_DUI;component/Themes/Generic.xaml" />
  14. </ResourceDictionary.MergedDictionaries>
  15. </ResourceDictionary>
  16. </UserControl.Resources>
  17. <Canvas>
  18. <Canvas.Resources>
  19. <Storyboard x:Key="ATMDoor_Open">
  20. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" >
  21. <EasingDoubleKeyFrame KeyTime="0" Value="38"/>
  22. <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="5"/>
  23. </DoubleAnimationUsingKeyFrames>
  24. </Storyboard>
  25. <Storyboard x:Key="ATMDoor_Close">
  26. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" >
  27. <EasingDoubleKeyFrame KeyTime="0" Value="5"/>
  28. <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="38"/>
  29. </DoubleAnimationUsingKeyFrames>
  30. </Storyboard>
  31. <Style TargetType="{x:Type Rectangle}" x:Key="SlitValveA_Animation" >
  32. <Style.Triggers>
  33. <DataTrigger Binding="{Binding PMASlitValveIsOpen}" Value="true">
  34. <DataTrigger.EnterActions>
  35. <BeginStoryboard Storyboard="{StaticResource ATMDoor_Open}"/>
  36. </DataTrigger.EnterActions>
  37. <DataTrigger.ExitActions>
  38. <BeginStoryboard Storyboard="{StaticResource ATMDoor_Close}"/>
  39. </DataTrigger.ExitActions>
  40. </DataTrigger>
  41. </Style.Triggers>
  42. </Style>
  43. <Style TargetType="{x:Type Rectangle}" x:Key="SlitValveB_Animation" >
  44. <Style.Triggers>
  45. <DataTrigger Binding="{Binding PMBSlitValveIsOpen}" Value="true">
  46. <DataTrigger.EnterActions>
  47. <BeginStoryboard Storyboard="{StaticResource ATMDoor_Open}"/>
  48. </DataTrigger.EnterActions>
  49. <DataTrigger.ExitActions>
  50. <BeginStoryboard Storyboard="{StaticResource ATMDoor_Close}"/>
  51. </DataTrigger.ExitActions>
  52. </DataTrigger>
  53. </Style.Triggers>
  54. </Style>
  55. </Canvas.Resources>
  56. <Image Source="/Virgo_DUI;component/Controls/Assets/Images/overview.png" Width="621" Height="636"/>
  57. <Image Source="/Virgo_DUI;component/Controls/Assets/Images/chamber.png" Width="94" Height="94" Canvas.Left="66" Canvas.Top="240"/>
  58. <Image Source="/Virgo_DUI;component/Controls/Assets/Images/chamber.png" Width="94" Height="94" Canvas.Left="66" Canvas.Top="350"/>
  59. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="80" Canvas.Top="255" WaferData="{Binding Aligner2Wafer}" />
  60. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="80" Canvas.Top="365" WaferData="{Binding Aligner1Wafer}" />
  61. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="199" Canvas.Top="93" WaferData="{Binding PMAWafer}" />
  62. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="386" Canvas.Top="93" WaferData="{Binding PMBWafer}" />
  63. <Grid x:Name="Slit_valve" Width="8" Height="76" Canvas.Left="258" Canvas.Top="163" RenderTransformOrigin="0.5,0.5" >
  64. <Grid.RenderTransform>
  65. <TransformGroup>
  66. <ScaleTransform/>
  67. <SkewTransform/>
  68. <RotateTransform Angle="69.349"/>
  69. <TranslateTransform/>
  70. </TransformGroup>
  71. </Grid.RenderTransform>
  72. <Rectangle x:Name="SlitValve_Top" Style="{StaticResource SlitValveA_Animation}" Fill="DimGray" Width="8" VerticalAlignment="Top" Height="38" />
  73. <Rectangle x:Name="SlitValve_Bottom" Style="{StaticResource SlitValveA_Animation}" Fill="DimGray" Width="8" VerticalAlignment="Bottom" Height="38" />
  74. </Grid>
  75. <Grid x:Name="Slit_valve1" Width="8" Height="76" Canvas.Left="385" Canvas.Top="161" RenderTransformOrigin="0.5,0.5" >
  76. <Grid.RenderTransform>
  77. <TransformGroup>
  78. <ScaleTransform/>
  79. <SkewTransform/>
  80. <RotateTransform Angle="110.838"/>
  81. <TranslateTransform/>
  82. </TransformGroup>
  83. </Grid.RenderTransform>
  84. <Rectangle x:Name="SlitValve_Top1" Style="{StaticResource SlitValveB_Animation}" Fill="DimGray" Width="8" VerticalAlignment="Top" Height="38" />
  85. <Rectangle x:Name="SlitValve_Bottom1" Style="{StaticResource SlitValveB_Animation}" Fill="DimGray" Width="8" VerticalAlignment="Bottom" Height="38" />
  86. </Grid>
  87. <parts1:Foup Visibility="{Binding Foup1Present, Converter={StaticResource BoolVisibilityConverter}}" Width="70" Height="70" Canvas.Left="219" Canvas.Top="507"/>
  88. <parts1:Foup Visibility="{Binding Foup2Present, Converter={StaticResource BoolVisibilityConverter}}" Width="70" Height="70" Canvas.Left="366" Canvas.Top="507"/>
  89. </Canvas>
  90. </UserControl>