CellChamber.xaml 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <UserControl x:Class="PunkHPX8_Themes.UserControls.CellChamber"
  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:PunkHPX8_Themes.UserControls"
  7. xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters"
  8. xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
  9. xmlns:customControls="clr-namespace:PunkHPX8_Themes.CustomControls"
  10. mc:Ignorable="d"
  11. d:DesignHeight="800" d:DesignWidth="1100" Name="efem">
  12. <UserControl.Resources>
  13. <converters:BoolToVisibility2 x:Key="BoolToVisibility2"/>
  14. <Style x:Key="LP1Style">
  15. <Style.Triggers>
  16. <DataTrigger Binding="{Binding ElementName=efem,Path=LP1Loaded}" Value="True">
  17. <DataTrigger.EnterActions>
  18. <BeginStoryboard>
  19. <Storyboard>
  20. <DoubleAnimation Storyboard.TargetProperty="RenderTransform.Children[0].X" To="30" Duration="0:0:1"/>
  21. </Storyboard>
  22. </BeginStoryboard>
  23. </DataTrigger.EnterActions>
  24. <DataTrigger.ExitActions>
  25. <BeginStoryboard>
  26. <Storyboard>
  27. <DoubleAnimation Storyboard.TargetProperty="RenderTransform.Children[0].X" To="0" Duration="0:0:1"/>
  28. </Storyboard>
  29. </BeginStoryboard>
  30. </DataTrigger.ExitActions>
  31. </DataTrigger>
  32. </Style.Triggers>
  33. </Style>
  34. <Style x:Key="LP2Style">
  35. <Style.Triggers>
  36. <DataTrigger Binding="{Binding ElementName=efem,Path=LP2Loaded}" Value="True">
  37. <DataTrigger.EnterActions>
  38. <BeginStoryboard>
  39. <Storyboard>
  40. <DoubleAnimation Storyboard.TargetProperty="RenderTransform.Children[0].X" To="30" Duration="0:0:1"/>
  41. </Storyboard>
  42. </BeginStoryboard>
  43. </DataTrigger.EnterActions>
  44. <DataTrigger.ExitActions>
  45. <BeginStoryboard>
  46. <Storyboard>
  47. <DoubleAnimation Storyboard.TargetProperty="RenderTransform.Children[0].X" To="0" Duration="0:0:1"/>
  48. </Storyboard>
  49. </BeginStoryboard>
  50. </DataTrigger.ExitActions>
  51. </DataTrigger>
  52. </Style.Triggers>
  53. </Style>
  54. <Style x:Key="LP3Style">
  55. <Style.Triggers>
  56. <DataTrigger Binding="{Binding ElementName=efem,Path=LP3Loaded}" Value="True">
  57. <DataTrigger.EnterActions>
  58. <BeginStoryboard>
  59. <Storyboard>
  60. <DoubleAnimation Storyboard.TargetProperty="RenderTransform.Children[0].X" To="30" Duration="0:0:1"/>
  61. </Storyboard>
  62. </BeginStoryboard>
  63. </DataTrigger.EnterActions>
  64. <DataTrigger.ExitActions>
  65. <BeginStoryboard>
  66. <Storyboard>
  67. <DoubleAnimation Storyboard.TargetProperty="RenderTransform.Children[0].X" To="0" Duration="0:0:1"/>
  68. </Storyboard>
  69. </BeginStoryboard>
  70. </DataTrigger.ExitActions>
  71. </DataTrigger>
  72. </Style.Triggers>
  73. </Style>
  74. </UserControl.Resources>
  75. <Viewbox>
  76. <Canvas Width="2000" Height="1200" >
  77. <Polygon Points="300,950 300,250 1750,250 1750,950 300,950" Stroke="Gray" StrokeThickness="20" >
  78. <Polygon.Fill>
  79. <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
  80. <GradientStop Color="Silver" Offset="0.0" />
  81. <GradientStop Color="White" Offset="0.5" />
  82. <GradientStop Color="Silver" Offset="1" />
  83. </LinearGradientBrush>
  84. </Polygon.Fill>
  85. </Polygon>
  86. <Polygon Points="700,900 700,800 1500,800 1500,900 700,900" Stroke="Gray" StrokeThickness="2" >
  87. <Polygon.Fill>
  88. <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
  89. <GradientStop Color="Silver" Offset="0.0" />
  90. <GradientStop Color="White" Offset="0.5" />
  91. <GradientStop Color="Silver" Offset="1" />
  92. </LinearGradientBrush>
  93. </Polygon.Fill>
  94. </Polygon>
  95. <Polygon Points="900,945 900,900 950,900 950,945 900,945" Fill="DarkGray" StrokeThickness="2" >
  96. </Polygon>
  97. <Polygon Points="1300,945 1300,900 1350,900 1350,945 1300,945" Fill="DarkGray" StrokeThickness="2" >
  98. </Polygon>
  99. <Canvas Width="500" Height="500" Canvas.Left="670" Canvas.Top="560">
  100. <customControls:PunkRobotControl OriginT="T_Origin" Canvas.Left="-30" Canvas.Top="-180" Width="540" Height="810"
  101. RobotTAction="{Binding ElementName=efem,Path=RobotATAction}"
  102. RobotXAction="{Binding ElementName=efem,Path=RobotAXAction}"
  103. RobotFAction="{Binding ElementName=efem,Path=RobotBFAction}"
  104. RobotWafer="{Binding ElementName=efem,Path=RobotAWaferInfo}"
  105. Robot2Wafer="{Binding ElementName=efem,Path=RobotBWaferInfo}"/>
  106. </Canvas>
  107. <Image Width="240" Canvas.Left="50" Canvas.Top="343" Source="pack://application:,,,/PunkHPX8_Themes;component/Resources/LoadPort.png" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" VerticalAlignment="Center">
  108. <Image.RenderTransform>
  109. <TransformGroup>
  110. <ScaleTransform/>
  111. <SkewTransform/>
  112. <RotateTransform Angle="90"/>
  113. <TranslateTransform/>
  114. </TransformGroup>
  115. </Image.RenderTransform>
  116. </Image>
  117. <Image Width="240" Canvas.Left="50" Canvas.Top="646" Source="pack://application:,,,/PunkHPX8_Themes;component/Resources/LoadPort.png" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" VerticalAlignment="Center">
  118. <Image.RenderTransform>
  119. <TransformGroup>
  120. <ScaleTransform/>
  121. <SkewTransform/>
  122. <RotateTransform Angle="90"/>
  123. <TranslateTransform/>
  124. </TransformGroup>
  125. </Image.RenderTransform>
  126. </Image>
  127. <local:Foup Width="180" Height="320" Canvas.Left="265" Canvas.Top="372" Visibility="{Binding ElementName=efem,Path=LP1Presented,Converter={StaticResource BoolToVisibility2}}" Style="{StaticResource LP1Style}" RotateTransformValue="90" HorizontalAlignment="Center" VerticalAlignment="Top">
  128. <local:Foup.RenderTransform>
  129. <TransformGroup>
  130. <TranslateTransform/>
  131. </TransformGroup>
  132. </local:Foup.RenderTransform>
  133. </local:Foup>
  134. <local:Foup Width="180" Height="320" IsEnabled="False" Canvas.Left="265" Canvas.Top="678" Visibility="{Binding ElementName=efem,Path=LP2Presented,Converter={StaticResource BoolToVisibility2}}" Style="{StaticResource LP2Style}" RotateTransformValue="90">
  135. <local:Foup.RenderTransform>
  136. <TransformGroup>
  137. <TranslateTransform/>
  138. </TransformGroup>
  139. </local:Foup.RenderTransform>
  140. </local:Foup>
  141. <local:DualChamber Canvas.Left="1280" Canvas.Top="996" Width="400" RotateTransformValue="0" RobotWafer1="{Binding ElementName=efem,Path=PlatingCell3Wafer}" RobotWafer2="{Binding ElementName=efem,Path=PlatingCell4Wafer}" HorizontalAlignment="Center" VerticalAlignment="Top"></local:DualChamber>
  142. <local:DualChamber Canvas.Left="1280" Canvas.Top="-45" Width="400" RotateTransformValue="180" RobotWafer1="{Binding ElementName=efem,Path=PlatingCell2Wafer}" RobotWafer2="{Binding ElementName=efem,Path=PlatingCell1Wafer}" HorizontalAlignment="Center" VerticalAlignment="Top"></local:DualChamber>
  143. <local:DualChamber Canvas.Left="1712" Canvas.Top="445" Width="400" RotateTransformValue="270" RobotWafer1="{Binding ElementName=efem,Path=VPW2Wafer}" RobotWafer2="{Binding ElementName=efem,Path=VPW1Wafer}" HorizontalAlignment="Left" VerticalAlignment="Center"></local:DualChamber>
  144. <local:DummyCassette Canvas.Left="380" Canvas.Top="965" RotateTransformValue="0" Width="225" Height="225" HorizontalAlignment="Left" VerticalAlignment="Top"/>
  145. <local:SRD Canvas.Top="13" Width="225" Height="225" HorizontalAlignment="Center" VerticalAlignment="Top" Canvas.Left="450"/>
  146. </Canvas>
  147. </Viewbox>
  148. </UserControl>