ChamberDE.xaml 35 KB

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