RobotFrontView.xaml 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. <Border Grid.Row="0" BorderThickness="1" BorderBrush="{DynamicResource FOUP_OuterBD}" Background="{DynamicResource FOUP_OuterBG}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150" CornerRadius="4" Height="35">
  19. <Grid Height="33">
  20. <Rectangle Fill="{DynamicResource FOUP_InnerBG}" Margin="3,3,3,3" RadiusX="2" RadiusY="2"/>
  21. <Grid Margin="0,5">
  22. <Grid.RowDefinitions>
  23. <RowDefinition Height="30"/>
  24. </Grid.RowDefinitions>
  25. <Grid.ColumnDefinitions>
  26. <ColumnDefinition Width="47"/>
  27. <ColumnDefinition />
  28. </Grid.ColumnDefinitions>
  29. <TextBlock Text="RobotA" FontFamily="Arial" FontSize="12" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,0,0"/>
  30. <StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="0,5,5,0">
  31. <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"/>
  32. </StackPanel>
  33. </Grid>
  34. </Grid>
  35. </Border>
  36. <Border Grid.Row="1" BorderThickness="1" BorderBrush="{DynamicResource FOUP_OuterBD}" Background="{DynamicResource FOUP_OuterBG}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150" CornerRadius="4" Height="35">
  37. <Grid Height="33">
  38. <Rectangle Fill="{DynamicResource FOUP_InnerBG}" Margin="3,3,3,3" RadiusX="2" RadiusY="2"/>
  39. <Grid Margin="0,5">
  40. <Grid.RowDefinitions>
  41. <RowDefinition Height="30"/>
  42. </Grid.RowDefinitions>
  43. <Grid.ColumnDefinitions>
  44. <ColumnDefinition Width="47"/>
  45. <ColumnDefinition />
  46. </Grid.ColumnDefinitions>
  47. <TextBlock Text="RobotB" FontFamily="Arial" FontSize="12" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,0,0"/>
  48. <StackPanel Grid.Column="1" VerticalAlignment="Top" Margin="0,5,5,0">
  49. <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"/>
  50. </StackPanel>
  51. </Grid>
  52. </Grid>
  53. </Border>
  54. </Grid>
  55. </UserControl>