ChamberDE.xaml 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. <UserControl x:Class="Venus_Themes.UserControls.ChamberDE"
  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:Venus_Themes.UserControls"
  7. mc:Ignorable="d"
  8. d:DesignHeight="30" d:DesignWidth="320" x:Name="chamber">
  9. <UserControl.Resources>
  10. <Storyboard x:Key="SlitValve_Open">
  11. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" >
  12. <EasingDoubleKeyFrame KeyTime="0" Value="75"/>
  13. <EasingDoubleKeyFrame KeyTime="0:0:1" Value="42"/>
  14. </DoubleAnimationUsingKeyFrames>
  15. </Storyboard>
  16. <Storyboard x:Key="SlitValve_Close">
  17. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" >
  18. <EasingDoubleKeyFrame KeyTime="0" Value="42"/>
  19. <EasingDoubleKeyFrame KeyTime="0:0:1" Value="75"/>
  20. </DoubleAnimationUsingKeyFrames>
  21. </Storyboard>
  22. <Storyboard x:Key="LinerValve_Open">
  23. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" >
  24. <EasingDoubleKeyFrame KeyTime="0" Value="75"/>
  25. <EasingDoubleKeyFrame KeyTime="0:0:1" Value="8"/>
  26. </DoubleAnimationUsingKeyFrames>
  27. </Storyboard>
  28. <Storyboard x:Key="LinerValve_Close">
  29. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" >
  30. <EasingDoubleKeyFrame KeyTime="0" Value="8"/>
  31. <EasingDoubleKeyFrame KeyTime="0:0:1" Value="75"/>
  32. </DoubleAnimationUsingKeyFrames>
  33. </Storyboard>
  34. <Style TargetType="{x:Type Rectangle}" x:Key="SlitValve_Animation2">
  35. <Style.Triggers>
  36. <DataTrigger Binding="{Binding ElementName=chamber,Path=IsOpenSlitDoor}" Value="true">
  37. <DataTrigger.EnterActions>
  38. <BeginStoryboard Storyboard="{StaticResource LinerValve_Open}"/>
  39. </DataTrigger.EnterActions>
  40. <DataTrigger.ExitActions>
  41. <BeginStoryboard Storyboard="{StaticResource LinerValve_Close}"/>
  42. </DataTrigger.ExitActions>
  43. </DataTrigger>
  44. <DataTrigger Binding="{Binding ElementName=chamber,Path=IsOpenLinerDoor}" Value="true" >
  45. <DataTrigger.EnterActions>
  46. <BeginStoryboard Storyboard="{StaticResource SlitValve_Open}"/>
  47. </DataTrigger.EnterActions>
  48. <DataTrigger.ExitActions>
  49. <BeginStoryboard Storyboard="{StaticResource SlitValve_Close}"/>
  50. </DataTrigger.ExitActions>
  51. </DataTrigger>
  52. </Style.Triggers>
  53. </Style>
  54. <Style TargetType="{x:Type Rectangle}" x:Key="SlitValve_Animation" >
  55. <Style.Triggers>
  56. <DataTrigger Binding="{Binding ElementName=chamber,Path=IsOpenSlitDoor}" Value="true">
  57. <DataTrigger.EnterActions>
  58. <BeginStoryboard Storyboard="{StaticResource SlitValve_Open}"/>
  59. </DataTrigger.EnterActions>
  60. <DataTrigger.ExitActions>
  61. <BeginStoryboard Storyboard="{StaticResource SlitValve_Close}"/>
  62. </DataTrigger.ExitActions>
  63. </DataTrigger>
  64. </Style.Triggers>
  65. </Style>
  66. <LinearGradientBrush StartPoint="0,0.501" EndPoint="1,0.501" x:Key="rfcolor">
  67. <LinearGradientBrush.GradientStops>
  68. <GradientStop Color="#FFFFDD76" Offset="0" />
  69. <GradientStop Color="sc#1, 0.8019137, 0.520800948, 0.106530145" Offset="0.25" />
  70. <GradientStop Color="#FFCC9932" Offset="1" />
  71. </LinearGradientBrush.GradientStops>
  72. </LinearGradientBrush>
  73. </UserControl.Resources>
  74. <Canvas >
  75. <Grid Width="240" Height="190" Canvas.Top="80">
  76. <Grid.ColumnDefinitions>
  77. <ColumnDefinition Width="21*"/>
  78. <ColumnDefinition Width="2*"/>
  79. <ColumnDefinition Width="217*"/>
  80. </Grid.ColumnDefinitions>
  81. <Grid.RowDefinitions>
  82. <RowDefinition Height="160"/>
  83. <RowDefinition />
  84. </Grid.RowDefinitions>
  85. <Path Data="M0.5,0.5 L33.5,0.5 33.5,17.5 206.5,17.5 206.5,0.5 239.5,0.5 239.5,149.5 0.5,149.5 z" Stroke="#FF747474" Margin="0,10,8,8" Stretch="Fill" Grid.ColumnSpan="3">
  86. <Path.Fill>
  87. <LinearGradientBrush EndPoint="1,1" StartPoint="0,0">
  88. <GradientStop Color="#FF8F8F8F" Offset="0"/>
  89. <GradientStop Color="#FF9B9B9B" Offset="1"/>
  90. <GradientStop Color="#FEF1ECEC" Offset="0.15"/>
  91. <GradientStop Color="#FEC0C0C0" Offset="0.38"/>
  92. <GradientStop Color="#FEB4B4B4" Offset="0.5"/>
  93. <GradientStop Color="#FEE5E5E5" Offset="0.7"/>
  94. <GradientStop Color="#FFBABABA" Offset="0.85"/>
  95. <GradientStop Color="#FFE5E5E5" Offset="0.9"/>
  96. </LinearGradientBrush>
  97. </Path.Fill>
  98. </Path>
  99. <Rectangle Stroke="#FF747474" Margin="8,18,8,18" Grid.ColumnSpan="3">
  100. <Rectangle.Fill>
  101. <LinearGradientBrush EndPoint="0.243,1" StartPoint="0.757,0">
  102. <GradientStop Color="#FFE0DEDE" Offset="0"/>
  103. <GradientStop Color="#FFE2E2E2" Offset="1"/>
  104. <GradientStop Color="#FEFFFFFF" Offset="0.55"/>
  105. <GradientStop Color="#FFEFEFEF" Offset="0.75"/>
  106. </LinearGradientBrush>
  107. </Rectangle.Fill>
  108. </Rectangle>
  109. <Rectangle x:Name="BG_Status" Margin="9,19,9,19" Visibility="{Binding BiasRfPowerOnChamberVisibility}" Cursor="Hand" Grid.ColumnSpan="3">
  110. <Rectangle.ContextMenu >
  111. <ContextMenu>
  112. <MenuItem Header="Create Wafer" Click="CreateWafer_Click" IsChecked="{Binding IsHasWafer}" IsEnabled="{Binding IsHasWafer,Converter={StaticResource BoolToBool}}"/>
  113. <MenuItem Header="Delete Wafer" Click="DeleteWafer_Click" IsChecked="{Binding IsHasWafer,Converter={StaticResource BoolToBool}}" IsEnabled="{Binding IsHasWafer}"/>
  114. </ContextMenu>
  115. </Rectangle.ContextMenu>
  116. <Rectangle.Style>
  117. <Style>
  118. <Setter Property="Rectangle.Fill" Value="WhiteSmoke"/>
  119. <Style.Triggers>
  120. <DataTrigger Binding="{Binding ElementName=chamber,Path=IsBRFOn}" Value="True">
  121. <Setter Property="Rectangle.Fill" Value="#FFFF9292"/>
  122. </DataTrigger>
  123. </Style.Triggers>
  124. </Style>
  125. </Rectangle.Style>
  126. </Rectangle>
  127. <Rectangle Stroke="#FF747474" Height="11" VerticalAlignment="Bottom" Margin="0,0,12,8" Grid.ColumnSpan="3">
  128. <Rectangle.Fill>
  129. <LinearGradientBrush EndPoint="0.243,1" StartPoint="0.757,0">
  130. <GradientStop Color="#FFE0DEDE" Offset="0"/>
  131. <GradientStop Color="#FFE2E2E2" Offset="1"/>
  132. <GradientStop Color="#FEFFFFFF" Offset="0.55"/>
  133. <GradientStop Color="#FFEFEFEF" Offset="0.75"/>
  134. </LinearGradientBrush>
  135. </Rectangle.Fill>
  136. </Rectangle>
  137. <Grid x:Name="Cover" Width="180" Height="18" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="7,2,0,0" RenderTransformOrigin="1,0.4444" Grid.Column="2">
  138. <Grid.RenderTransform>
  139. <TransformGroup>
  140. <ScaleTransform/>
  141. <SkewTransform/>
  142. <RotateTransform/>
  143. <TranslateTransform/>
  144. </TransformGroup>
  145. </Grid.RenderTransform>
  146. <Grid.Resources>
  147. <Storyboard x:Key="CoverOpen">
  148. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  149. <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
  150. <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="20"/>
  151. </DoubleAnimationUsingKeyFrames>
  152. </Storyboard>
  153. <Storyboard x:Key="CoverClose">
  154. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  155. <EasingDoubleKeyFrame KeyTime="0" Value="20"/>
  156. <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="0"/>
  157. </DoubleAnimationUsingKeyFrames>
  158. </Storyboard>
  159. </Grid.Resources>
  160. <Grid.Style>
  161. <Style>
  162. <Style.Triggers>
  163. <DataTrigger Binding="{Binding ElementName=chamber,Path=IsLidOpen}" Value="true">
  164. <DataTrigger.EnterActions>
  165. <BeginStoryboard Storyboard="{StaticResource CoverOpen}"/>
  166. </DataTrigger.EnterActions>
  167. <DataTrigger.ExitActions>
  168. <BeginStoryboard Storyboard="{StaticResource CoverClose}"/>
  169. </DataTrigger.ExitActions>
  170. </DataTrigger>
  171. </Style.Triggers>
  172. </Style>
  173. </Grid.Style>
  174. <Rectangle x:Name="BG_Status_Copy15" Cursor="Hand" RenderTransformOrigin="-0.375,0.425" Margin="128,0,48,-2">
  175. <Rectangle.Style>
  176. <Style>
  177. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  178. </Style>
  179. </Rectangle.Style>
  180. </Rectangle>
  181. </Grid>
  182. <Grid Grid.RowSpan="2" Height="167" VerticalAlignment="Bottom" Margin="17,0,40,2" Grid.Column="2">
  183. <Rectangle Height="12" Stroke="Gray" VerticalAlignment="Top" Width="150" Margin="0,98,0,0">
  184. <Rectangle.Fill>
  185. <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  186. <GradientStop Color="#FFABABAB" Offset="0"/>
  187. <GradientStop Color="#FFDADADA" Offset="1"/>
  188. </LinearGradientBrush>
  189. </Rectangle.Fill>
  190. </Rectangle>
  191. <Rectangle Height="12" Margin="0,109,0,0" Stroke="Gray" VerticalAlignment="Top" Width="160">
  192. <Rectangle.Fill>
  193. <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  194. <GradientStop Color="#FFABABAB" Offset="0"/>
  195. <GradientStop Color="#FFDADADA" Offset="1"/>
  196. </LinearGradientBrush>
  197. </Rectangle.Fill>
  198. </Rectangle>
  199. <!--4寸 guide pin-->
  200. <Grid x:Name="Bottom_LiftPin" Height="75" VerticalAlignment="Bottom" Margin="0,0,0,0" >
  201. <Grid.Resources>
  202. <Storyboard x:Key="BottomPinUp">
  203. <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" >
  204. <EasingThicknessKeyFrame KeyTime="0" Value="0,0,0,0"/>
  205. <EasingThicknessKeyFrame KeyTime="0:0:0.5" Value="0,0,0,15"/>
  206. </ThicknessAnimationUsingKeyFrames>
  207. </Storyboard>
  208. <Storyboard x:Key="BottomPinDown">
  209. <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" >
  210. <EasingThicknessKeyFrame KeyTime="0" Value="0,0,0,15"/>
  211. <EasingThicknessKeyFrame KeyTime="0:0:0.5" Value="0,0,0,0"/>
  212. </ThicknessAnimationUsingKeyFrames>
  213. </Storyboard>
  214. </Grid.Resources>
  215. <Grid.Style>
  216. <Style>
  217. <Style.Triggers>
  218. <DataTrigger Binding="{Binding IsLowerPinUp}" Value="true">
  219. <DataTrigger.EnterActions>
  220. <BeginStoryboard Storyboard="{StaticResource BottomPinUp}"/>
  221. </DataTrigger.EnterActions>
  222. <DataTrigger.ExitActions>
  223. <BeginStoryboard Storyboard="{StaticResource BottomPinDown}"/>
  224. </DataTrigger.ExitActions>
  225. </DataTrigger>
  226. </Style.Triggers>
  227. </Style>
  228. </Grid.Style>
  229. <!--<Rectangle HorizontalAlignment="Left" Fill="{DynamicResource Lid_BG1}" Stroke="{DynamicResource Lid_BD}" Width="8" Margin="10,6,0,4"/>-->
  230. <!--<Rectangle HorizontalAlignment="Right" Fill="{DynamicResource Lid_BG1}" Stroke="{DynamicResource Lid_BD}" Width="8" Margin="0,6,10,4"/>-->
  231. <!--<Rectangle Stroke="{DynamicResource Lid_BD}" Fill="{DynamicResource Lid_BG1}" StrokeThickness="1" VerticalAlignment="Bottom" Height="8" Margin="5,0"/>-->
  232. </Grid>
  233. <!--3寸 guide pin-->
  234. <Grid x:Name="Middle_LiftPin" Width="120" Height="63" VerticalAlignment="Bottom" Margin="0,0,0,12" >
  235. <Grid.Resources>
  236. <Storyboard x:Key="MidPinUp">
  237. <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" >
  238. <EasingThicknessKeyFrame KeyTime="0" Value="0,0,0,12"/>
  239. <EasingThicknessKeyFrame KeyTime="0:0:0.5" Value="0,0,0,27"/>
  240. </ThicknessAnimationUsingKeyFrames>
  241. </Storyboard>
  242. <Storyboard x:Key="MidPinDown">
  243. <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" >
  244. <EasingThicknessKeyFrame KeyTime="0" Value="0,0,0,27"/>
  245. <EasingThicknessKeyFrame KeyTime="0:0:0.5" Value="0,0,0,12"/>
  246. </ThicknessAnimationUsingKeyFrames>
  247. </Storyboard>
  248. </Grid.Resources>
  249. <Grid.Style>
  250. <Style>
  251. <Style.Triggers>
  252. <DataTrigger Binding="{Binding IsUpperPinUp}" Value="true">
  253. <DataTrigger.EnterActions>
  254. <BeginStoryboard Storyboard="{StaticResource MidPinUp}"/>
  255. </DataTrigger.EnterActions>
  256. <DataTrigger.ExitActions>
  257. <BeginStoryboard Storyboard="{StaticResource MidPinDown}"/>
  258. </DataTrigger.ExitActions>
  259. </DataTrigger>
  260. </Style.Triggers>
  261. </Style>
  262. </Grid.Style>
  263. <!--<Rectangle HorizontalAlignment="Left" Fill="{DynamicResource Lid_BG2}" Stroke="{DynamicResource Lid_BD}" Width="8" Margin="10,6,0,4"/>
  264. <Rectangle HorizontalAlignment="Right" Fill="{DynamicResource Lid_BG2}" Stroke="{DynamicResource Lid_BD}" Width="8" Margin="0,6,10,4"/>-->
  265. <!--<Rectangle Stroke="{DynamicResource Lid_BD}" Fill="{DynamicResource Lid_BG2}" StrokeThickness="1" VerticalAlignment="Bottom" Height="8" Margin="5,0"/>-->
  266. </Grid>
  267. <!--lift pin-->
  268. <Grid x:Name="Top_LiftPin" Height="51" VerticalAlignment="Bottom" Margin="0,0,0,28" >
  269. <Grid.Resources>
  270. <Storyboard x:Key="TopPinUp">
  271. <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" >
  272. <EasingThicknessKeyFrame KeyTime="0" Value="0,0,0,28"/>
  273. <EasingThicknessKeyFrame KeyTime="0:0:0.5" Value="0,0,0,54"/>
  274. </ThicknessAnimationUsingKeyFrames>
  275. </Storyboard>
  276. <Storyboard x:Key="TopPinDown">
  277. <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" >
  278. <EasingThicknessKeyFrame KeyTime="0" Value="0,0,0,54"/>
  279. <EasingThicknessKeyFrame KeyTime="0:0:0.5" Value="0,0,0,28"/>
  280. </ThicknessAnimationUsingKeyFrames>
  281. </Storyboard>
  282. </Grid.Resources>
  283. <Grid.Style>
  284. <Style>
  285. <Style.Triggers>
  286. <DataTrigger Binding="{Binding ElementName=chamber,Path=IsLiftPinUp}" Value="true">
  287. <DataTrigger.EnterActions>
  288. <BeginStoryboard Storyboard="{StaticResource TopPinUp}"/>
  289. </DataTrigger.EnterActions>
  290. <DataTrigger.ExitActions>
  291. <BeginStoryboard Storyboard="{StaticResource TopPinDown}"/>
  292. </DataTrigger.ExitActions>
  293. </DataTrigger>
  294. </Style.Triggers>
  295. </Style>
  296. </Grid.Style>
  297. <Rectangle HorizontalAlignment="Left" Fill="{DynamicResource Lid_BG3}" Stroke="{DynamicResource Lid_BD}" Width="8" Margin="48,10,0,4"/>
  298. <Rectangle HorizontalAlignment="Right" Fill="{DynamicResource Lid_BG3}" Stroke="{DynamicResource Lid_BD}" Width="8" Margin="0,10,48,4"/>
  299. <Rectangle Stroke="{DynamicResource Lid_BD}" Fill="{DynamicResource Lid_BG3}" StrokeThickness="1" VerticalAlignment="Bottom" Height="8" Margin="5,0" Width="64" />
  300. <Rectangle HorizontalAlignment="Center" Margin="-100,0" Width="{Binding WaferLength}" Height="10" VerticalAlignment="Top"/>
  301. <TextBlock Text="{Binding ElementName=chamber,Path=WaferID}" Margin="0,-20,0,0" TextAlignment="Center"></TextBlock>
  302. <Border BorderThickness="1" BorderBrush="DarkGray" CornerRadius="4" VerticalAlignment="Top" Height="10" Margin="0,0,0,0" Width="140" Visibility="{Binding ElementName=chamber,Path=IsHasWafer,Converter={StaticResource bool2VisibilityConverter}}">
  303. <Border.Background>
  304. <RadialGradientBrush >
  305. <GradientStop Color="AliceBlue" Offset="0" />
  306. <!--<GradientStop Color="Silver" Offset="0.5" />-->
  307. <GradientStop Color="LightGreen" Offset="1" />
  308. </RadialGradientBrush>
  309. </Border.Background>
  310. </Border>
  311. </Grid>
  312. <!--<Canvas Visibility="{Binding ElementName=chamber,Path=IsHasHeater,Converter={StaticResource bool2VisibilityConverter}}" Margin="29.5,100,0,0">
  313. <Rectangle HorizontalAlignment="Left" Fill="{DynamicResource Lid_BG3}" Stroke="Black" Width="100" Height="10"/>
  314. <Rectangle HorizontalAlignment="Left" Fill="{DynamicResource Lid_BG3}" Stroke="Black" Width="100" Height="10" Canvas.Top="10"/>
  315. <Rectangle HorizontalAlignment="Left" Fill="{DynamicResource Lid_BG3}" Stroke="Black" Width="30" Height="30" Canvas.Top="20" Canvas.Left="36"/>
  316. </Canvas>-->
  317. <!--左边slit door-->
  318. <Grid x:Name="Slit_valve" Margin="-41,-9,191,26.5" >
  319. <Grid.RowDefinitions>
  320. <RowDefinition Height="37*"/>
  321. <RowDefinition Height="37*"/>
  322. </Grid.RowDefinitions>
  323. <!--<Grid.ContextMenu>
  324. <ContextMenu>
  325. <MenuItem Header="Open Door" Click="OpenDoor_Click" IsChecked="{Binding IsSlitDoorClosed, Converter={StaticResource BoolToBool}}" IsEnabled="{Binding IsSlitDoorClosed}"/>
  326. <MenuItem Header="Close Door" Click="CloseDoor_Click" IsChecked="{Binding IsSlitDoorClosed}" IsEnabled="{Binding IsSlitDoorClosed,Converter={StaticResource BoolToBool}}"/>
  327. </ContextMenu>
  328. </Grid.ContextMenu>-->
  329. <Rectangle x:Name="SlitValve_Top" Style="{StaticResource SlitValve_Animation}" Fill="{StaticResource doorColor}" VerticalAlignment="Top" Height="78" Margin="1,3,1,0" Grid.RowSpan="2" />
  330. <Rectangle x:Name="SlitValve_Bottom" Style="{StaticResource SlitValve_Animation}" Width="8" Fill="{StaticResource doorColor}" VerticalAlignment="Center" Height="78" Margin="1,0,1,0" Grid.Row="1" />
  331. </Grid>
  332. <Grid x:Name="liner_valve" Margin="-8,-8,10,26" >
  333. <Grid.RowDefinitions>
  334. <RowDefinition Height="36*"/>
  335. <RowDefinition Height="75*"/>
  336. </Grid.RowDefinitions>
  337. <Grid.ContextMenu>
  338. <ContextMenu>
  339. <MenuItem Header="Open Liner Door" Click="OpenDoor_Click" IsChecked="{Binding IsLinerDoorClosed, Converter={StaticResource BoolToBool}}" IsEnabled="{Binding IsLinerDoorClosed}"/>
  340. <MenuItem Header="Close Liner Door" Click="CloseDoor_Click" IsChecked="{Binding IsLinerDoorClosed}" IsEnabled="{Binding IsLinerDoorClosed,Converter={StaticResource BoolToBool}}"/>
  341. </ContextMenu>
  342. </Grid.ContextMenu>
  343. <Rectangle x:Name="linerValve_Top" Style="{StaticResource SlitValve_Animation2}" Fill="{StaticResource doorColor}" VerticalAlignment="Top" Height="36" Margin="-15,6,169,0" Grid.RowSpan="2" />
  344. <Rectangle x:Name="linerValve_Bottom" Style="{StaticResource SlitValve_Animation2}" Fill="{StaticResource doorColor}" VerticalAlignment="Top" Panel.ZIndex="3" Height="44" Margin="-16,34,168,0" Grid.RowSpan="2" />
  345. </Grid>
  346. <!--slit door右边-->
  347. <Grid Margin="190,-10,-40,29" Cursor="Hand">
  348. <Rectangle Fill="{StaticResource doorColor}" Width="8" VerticalAlignment="Top" Height="68" Margin="1,7,1,0" />
  349. </Grid>
  350. </Grid>
  351. <Rectangle Fill="{StaticResource doorColor}" Width="8" VerticalAlignment="Bottom" Height="74" Margin="280,0,-71,1" Grid.Column="2" />
  352. <Rectangle x:Name="BG_Status_Copy4" Cursor="Hand" Margin="66,0,147,140" Grid.Column="2">
  353. <Rectangle.Style>
  354. <Style>
  355. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  356. </Style>
  357. </Rectangle.Style>
  358. </Rectangle>
  359. <Path Data="M0,0 L 100,0 100,100 90,100 90,10 0,10z" Stroke="Black" Stretch="Fill" Fill="black" Margin="4,86,194,35" RenderTransformOrigin="0.5,0.5" Grid.Column="2">
  360. <Path.RenderTransform>
  361. <TransformGroup>
  362. <ScaleTransform ScaleX="-1" ScaleY="-1"/>
  363. <SkewTransform/>
  364. <RotateTransform/>
  365. <TranslateTransform/>
  366. </TransformGroup>
  367. </Path.RenderTransform>
  368. </Path>
  369. </Grid>
  370. <Rectangle Fill="{StaticResource doorColor}" Width="8" VerticalAlignment="Top" Height="74" RenderTransformOrigin="0.5,0.5" Canvas.Left="264" Canvas.Top="132" HorizontalAlignment="Center" >
  371. <Rectangle.RenderTransform>
  372. <TransformGroup>
  373. <ScaleTransform/>
  374. <SkewTransform/>
  375. <RotateTransform Angle="89.935"/>
  376. <TranslateTransform/>
  377. </TransformGroup>
  378. </Rectangle.RenderTransform>
  379. </Rectangle>
  380. <Rectangle x:Name="BG_Status_Copy" Visibility="{Binding BiasRfPowerOnChamberVisibility}" Cursor="Hand" Height="59" Canvas.Left="228" Canvas.Top="173" Width="75" HorizontalAlignment="Center" VerticalAlignment="Center">
  381. <Rectangle.ContextMenu >
  382. <ContextMenu>
  383. <MenuItem Header="Create Wafer" Click="CreateWafer_Click" IsChecked="{Binding IsHasWafer}" IsEnabled="{Binding IsHasWafer, Converter={StaticResource BoolToBool}}"/>
  384. <MenuItem Header="Delete Wafer" Click="DeleteWafer_Click" IsChecked="{Binding IsHasWafer, Converter={StaticResource BoolToBool}}" IsEnabled="{Binding IsHasWafer}"/>
  385. </ContextMenu>
  386. </Rectangle.ContextMenu>
  387. <Rectangle.Style>
  388. <Style>
  389. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  390. <Style.Triggers>
  391. <DataTrigger Binding="{Binding IsBRFOn, ElementName=chamber}" Value="True">
  392. <Setter Property="Shape.Fill" Value="#FFFF9292"/>
  393. </DataTrigger>
  394. </Style.Triggers>
  395. </Style>
  396. </Rectangle.Style>
  397. </Rectangle>
  398. <Rectangle x:Name="SlitValve_Top_Copy" Fill="DimGray" Width="44" Height="239" HorizontalAlignment="Center" Canvas.Left="97.5" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5" Canvas.Top="-43" >
  399. <Rectangle.RenderTransform>
  400. <TransformGroup>
  401. <ScaleTransform/>
  402. <SkewTransform/>
  403. <RotateTransform Angle="89.857"/>
  404. <TranslateTransform/>
  405. </TransformGroup>
  406. </Rectangle.RenderTransform>
  407. </Rectangle>
  408. <Path Data="M0,0 L 50,100 100,0z" Stroke="#FF747474" Stretch="Fill" Height="22" Canvas.Top="62.125" Width="16" Canvas.Left="100.448" HorizontalAlignment="Center" VerticalAlignment="Top" Fill="WhiteSmoke"/>
  409. <Path Data="M0,0 L 100,0 100,100 90,100 90,10 0,10z" Stroke="Black" Stretch="Fill" Height="36" Canvas.Top="114" Width="31" HorizontalAlignment="Left" VerticalAlignment="Center" Fill="black"/>
  410. <Path Data="M0,0 L 80,0 80,10 10,10 10,210 -30,210 -30,200 0,200" Stroke="Black" Fill="black" Canvas.Left="199.75" Canvas.Top="118.375" Height="100" Stretch="Fill" Width="39" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  411. <Rectangle x:Name="BG_Status_Copy1" Visibility="{Binding BiasRfPowerOnChamberVisibility}" Cursor="Hand" Height="14" Canvas.Left="202" Canvas.Top="54" Width="6" HorizontalAlignment="Center" VerticalAlignment="Top" RenderTransformOrigin="0.583,0.361">
  412. <Rectangle.ContextMenu >
  413. <ContextMenu>
  414. <MenuItem Header="Create Wafer" Click="CreateWafer_Click" IsChecked="{Binding IsHasWafer}" IsEnabled="{Binding IsHasWafer, Converter={StaticResource BoolToBool}}"/>
  415. <MenuItem Header="Delete Wafer" Click="DeleteWafer_Click" IsChecked="{Binding IsHasWafer, Converter={StaticResource BoolToBool}}" IsEnabled="{Binding IsHasWafer}"/>
  416. </ContextMenu>
  417. </Rectangle.ContextMenu>
  418. <Rectangle.Style>
  419. <Style>
  420. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  421. <Style.Triggers>
  422. <DataTrigger Binding="{Binding IsBRFOn, ElementName=chamber}" Value="True">
  423. <Setter Property="Shape.Fill" Value="#FFFF9292"/>
  424. </DataTrigger>
  425. </Style.Triggers>
  426. </Style>
  427. </Rectangle.Style>
  428. </Rectangle>
  429. <Rectangle x:Name="BG_Status_Copy2" Visibility="{Binding BiasRfPowerOnChamberVisibility}" Cursor="Hand" Height="100" Canvas.Left="155" Canvas.Top="16" Width="6" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5">
  430. <Rectangle.RenderTransform>
  431. <TransformGroup>
  432. <ScaleTransform/>
  433. <SkewTransform/>
  434. <RotateTransform Angle="89.868"/>
  435. <TranslateTransform/>
  436. </TransformGroup>
  437. </Rectangle.RenderTransform>
  438. <Rectangle.ContextMenu >
  439. <ContextMenu>
  440. <MenuItem Header="Create Wafer" Click="CreateWafer_Click" IsChecked="{Binding IsHasWafer}" IsEnabled="{Binding IsHasWafer, Converter={StaticResource BoolToBool}}"/>
  441. <MenuItem Header="Delete Wafer" Click="DeleteWafer_Click" IsChecked="{Binding IsHasWafer, Converter={StaticResource BoolToBool}}" IsEnabled="{Binding IsHasWafer}"/>
  442. </ContextMenu>
  443. </Rectangle.ContextMenu>
  444. <Rectangle.Style>
  445. <Style>
  446. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  447. <Style.Triggers>
  448. <DataTrigger Binding="{Binding IsBRFOn, ElementName=chamber}" Value="True">
  449. <Setter Property="Shape.Fill" Value="#FFFF9292"/>
  450. </DataTrigger>
  451. </Style.Triggers>
  452. </Style>
  453. </Rectangle.Style>
  454. </Rectangle>
  455. <Rectangle x:Name="BG_Status_Copy14" Visibility="{Binding BiasRfPowerOnChamberVisibility}" Cursor="Hand" Height="53" Canvas.Left="10" Canvas.Top="46" Width="21" HorizontalAlignment="Center" VerticalAlignment="Center">
  456. <Rectangle.Style>
  457. <Style>
  458. <Setter Property="Shape.Fill" Value="#D2B48C "/>
  459. <Style.Triggers>
  460. <DataTrigger Binding="{Binding IsBRFOn, ElementName=chamber}" Value="True">
  461. <Setter Property="Shape.Fill" Value="#FFFF9292"/>
  462. </DataTrigger>
  463. </Style.Triggers>
  464. </Style>
  465. </Rectangle.Style>
  466. </Rectangle>
  467. <Rectangle x:Name="SlitValve_Bottom_Copy" Fill="{StaticResource doorColor}" Width="10" Height="70" Canvas.Left="30" Canvas.Top="202" VerticalAlignment="Center" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Center" >
  468. <Rectangle.RenderTransform>
  469. <TransformGroup>
  470. <ScaleTransform/>
  471. <SkewTransform/>
  472. <RotateTransform Angle="90"/>
  473. <TranslateTransform/>
  474. </TransformGroup>
  475. </Rectangle.RenderTransform>
  476. </Rectangle>
  477. <Rectangle x:Name="SlitValve_Bottom_Copy2" Fill="{StaticResource doorColor}" Width="8" HorizontalAlignment="Center" Height="69" Canvas.Left="62" Canvas.Top="231" VerticalAlignment="Top" />
  478. <Rectangle x:Name="SlitValve_Bottom_Copy3" Fill="{StaticResource doorColor}" Width="8" Height="104" Canvas.Left="118" Canvas.Top="244" RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" VerticalAlignment="Center" >
  479. <Rectangle.RenderTransform>
  480. <TransformGroup>
  481. <ScaleTransform/>
  482. <SkewTransform/>
  483. <RotateTransform Angle="90"/>
  484. <TranslateTransform/>
  485. </TransformGroup>
  486. </Rectangle.RenderTransform>
  487. </Rectangle>
  488. <Rectangle x:Name="SlitValve_Bottom_Copy11" Fill="{StaticResource doorColor}" Width="8" HorizontalAlignment="Center" Height="69" Canvas.Left="171" Canvas.Top="231" VerticalAlignment="Top" />
  489. <Rectangle x:Name="SlitValve_Bottom_Copy80" Fill="{StaticResource doorColor}" Width="8" Height="124" Canvas.Left="303" Canvas.Top="231" HorizontalAlignment="Left" VerticalAlignment="Center" >
  490. <Rectangle.RenderTransform>
  491. <TransformGroup>
  492. <ScaleTransform/>
  493. <SkewTransform/>
  494. <RotateTransform Angle="89.935"/>
  495. <TranslateTransform/>
  496. </TransformGroup>
  497. </Rectangle.RenderTransform>
  498. </Rectangle>
  499. <Rectangle x:Name="BG_Status_Copy17" Cursor="Hand" Height="16" Canvas.Left="166" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Center" VerticalAlignment="Top">
  500. <Rectangle.Style>
  501. <Style>
  502. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  503. </Style>
  504. </Rectangle.Style>
  505. </Rectangle>
  506. <Rectangle x:Name="BG_Status_Copy16" Cursor="Hand" Height="16" Canvas.Left="157" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  507. <Rectangle.Style>
  508. <Style>
  509. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  510. </Style>
  511. </Rectangle.Style>
  512. </Rectangle>
  513. <Rectangle x:Name="BG_Status_Copy13" Cursor="Hand" Height="16" Canvas.Left="148" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  514. <Rectangle.Style>
  515. <Style>
  516. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  517. </Style>
  518. </Rectangle.Style>
  519. </Rectangle>
  520. <Rectangle x:Name="BG_Status_Copy12" Cursor="Hand" Height="16" Canvas.Left="139" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  521. <Rectangle.Style>
  522. <Style>
  523. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  524. </Style>
  525. </Rectangle.Style>
  526. </Rectangle>
  527. <Rectangle x:Name="BG_Status_Copy11" Cursor="Hand" Height="16" Canvas.Left="130" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  528. <Rectangle.Style>
  529. <Style>
  530. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  531. </Style>
  532. </Rectangle.Style>
  533. </Rectangle>
  534. <Rectangle x:Name="BG_Status_Copy10" Cursor="Hand" Height="16" Canvas.Left="121" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  535. <Rectangle.Style>
  536. <Style>
  537. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  538. </Style>
  539. </Rectangle.Style>
  540. </Rectangle>
  541. <Rectangle x:Name="BG_Status_Copy9" Cursor="Hand" Height="16" Canvas.Left="112" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  542. <Rectangle.Style>
  543. <Style>
  544. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  545. </Style>
  546. </Rectangle.Style>
  547. </Rectangle>
  548. <Rectangle x:Name="BG_Status_Copy8" Cursor="Hand" Height="16" Canvas.Left="101" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  549. <Rectangle.Style>
  550. <Style>
  551. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  552. </Style>
  553. </Rectangle.Style>
  554. </Rectangle>
  555. <Rectangle x:Name="BG_Status_Copy7" Cursor="Hand" Height="16" Canvas.Left="92" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  556. <Rectangle.Style>
  557. <Style>
  558. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  559. </Style>
  560. </Rectangle.Style>
  561. </Rectangle>
  562. <Rectangle x:Name="BG_Status_Copy3" Cursor="Hand" Height="16" Canvas.Left="83" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  563. <Rectangle.Style>
  564. <Style>
  565. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  566. </Style>
  567. </Rectangle.Style>
  568. </Rectangle>
  569. <Rectangle x:Name="BG_Status_Copy5" Cursor="Hand" Height="16" Canvas.Left="74" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  570. <Rectangle.Style>
  571. <Style>
  572. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  573. </Style>
  574. </Rectangle.Style>
  575. </Rectangle>
  576. <Rectangle x:Name="BG_Status_Copy6" Cursor="Hand" Height="16" Canvas.Left="65" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  577. <Rectangle.Style>
  578. <Style>
  579. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  580. </Style>
  581. </Rectangle.Style>
  582. </Rectangle>
  583. <Rectangle x:Name="BG_Status_Copy18" Cursor="Hand" Height="16" Canvas.Left="56" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  584. <Rectangle.Style>
  585. <Style>
  586. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  587. </Style>
  588. </Rectangle.Style>
  589. </Rectangle>
  590. <Rectangle x:Name="BG_Status_Copy19" Cursor="Hand" Height="16" Canvas.Left="47" Canvas.Top="83" Width="4" RenderTransformOrigin="-0.375,0.425" HorizontalAlignment="Left" VerticalAlignment="Center">
  591. <Rectangle.Style>
  592. <Style>
  593. <Setter Property="Shape.Fill" Value="WhiteSmoke"/>
  594. </Style>
  595. </Rectangle.Style>
  596. </Rectangle>
  597. </Canvas>
  598. </UserControl>