RobotFrontView.xaml 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <UserControl x:Class="PunkHPX8_Themes.UserControls.RobotFrontView"
  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:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
  8. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  9. xmlns:cal="http://www.caliburn.org" x:Name="self"
  10. mc:Ignorable="d"
  11. >
  12. <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
  13. <Grid.RowDefinitions>
  14. <RowDefinition Height="Auto"/>
  15. <RowDefinition Height="Auto"/>
  16. </Grid.RowDefinitions>
  17. <Canvas x:Name="canvas" PreviewDrop="Canvas_Drop" AllowDrop="True" Background="Transparent" Grid.RowSpan="2"/>
  18. <Rectangle Width="30" Height="3" Fill="{DynamicResource FOUP_PathBG}" Margin="81,26,39,8" RadiusX="0.5" RadiusY="0.5" Panel.ZIndex="2">
  19. <Rectangle.Effect>
  20. <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>
  21. </Rectangle.Effect>
  22. </Rectangle>
  23. <Border Grid.Row="0" BorderThickness="1" BorderBrush="{DynamicResource FOUP_OuterBD}" Background="{DynamicResource FOUP_OuterBG}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150" CornerRadius="4" Height="35">
  24. <Grid Height="33">
  25. <Rectangle Fill="{DynamicResource FOUP_InnerBG}" Margin="3,3,3,3" RadiusX="2" RadiusY="2"/>
  26. <Grid Margin="0,5">
  27. <Grid.RowDefinitions>
  28. <RowDefinition Height="30"/>
  29. </Grid.RowDefinitions>
  30. <Grid.ColumnDefinitions>
  31. <ColumnDefinition Width="47"/>
  32. <ColumnDefinition />
  33. </Grid.ColumnDefinitions>
  34. <TextBlock Text="Upper" FontFamily="Arial" FontSize="12" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,0,0"/>
  35. <StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="0,5,5,0">
  36. <ctrl:Slot ViewType="Front" AllowDrop="True" Cursor="Hand" DataContext="{Binding UnitData.WaferManager.Wafers[0], ElementName=self}" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" SlotMouseButtonDown="Slot_SlotMouseButtonDown" WaferTransferStarted="Slot_WaferTransferStarted"/>
  37. </StackPanel>
  38. </Grid>
  39. </Grid>
  40. </Border>
  41. <Rectangle Height="15" Fill="{DynamicResource FOUP_InnerBG}" Margin="4,30,4,30" Panel.ZIndex="2" Grid.RowSpan="2"/>
  42. <Rectangle Width="30" Height="3" Fill="{DynamicResource FOUP_PathBG}" Margin="81,26,39,8" RadiusX="0.5" RadiusY="0.5" Panel.ZIndex="2" Grid.Row="1">
  43. <Rectangle.Effect>
  44. <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>
  45. </Rectangle.Effect>
  46. </Rectangle>
  47. <Border Grid.Row="1" BorderThickness="1" BorderBrush="{DynamicResource FOUP_OuterBD}" Background="{DynamicResource FOUP_OuterBG}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150" CornerRadius="4" Height="35">
  48. <Grid Height="33">
  49. <Rectangle Fill="{DynamicResource FOUP_InnerBG}" Margin="3,3,3,3" RadiusX="2" RadiusY="2"/>
  50. <Grid Margin="0,5">
  51. <Grid.RowDefinitions>
  52. <RowDefinition Height="30"/>
  53. </Grid.RowDefinitions>
  54. <Grid.ColumnDefinitions>
  55. <ColumnDefinition Width="47"/>
  56. <ColumnDefinition />
  57. </Grid.ColumnDefinitions>
  58. <TextBlock Text="Down" FontFamily="Arial" FontSize="12" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,0,0"/>
  59. <StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="0,5,5,0">
  60. <ctrl:Slot ViewType="Front" AllowDrop="True" Cursor="Hand" DataContext="{Binding UnitData.WaferManager.Wafers[1], ElementName=self}" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" SlotMouseButtonDown="Slot_SlotMouseButtonDown" WaferTransferStarted="Slot_WaferTransferStarted"/>
  61. </StackPanel>
  62. </Grid>
  63. </Grid>
  64. </Border>
  65. </Grid>
  66. </UserControl>