BoatWaferNoActionView.xaml 6.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <UserControl x:Class="FurnaceUI.Views.Operations.BoatWaferNoActionView"
  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:global="clr-namespace:FurnaceUI"
  7. xmlns:local="clr-namespace:FurnaceUI.Views.Operations"
  8. xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
  9. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  10. xmlns:cal="http://www.caliburn.org"
  11. mc:Ignorable="d"
  12. Height="640" Width="995">
  13. <Canvas>
  14. <ListBox ItemsSource="{Binding ListBoatWafers}" Canvas.Left="3">
  15. <ListBox.ItemsPanel>
  16. <ItemsPanelTemplate>
  17. <StackPanel Orientation="Horizontal"></StackPanel>
  18. </ItemsPanelTemplate>
  19. </ListBox.ItemsPanel>
  20. <ListBox.ItemTemplate>
  21. <DataTemplate>
  22. <ListBox ItemsSource="{Binding}">
  23. <ListBox.ItemTemplate>
  24. <DataTemplate>
  25. <StackPanel Orientation="Horizontal">
  26. <TextBlock Text="{Binding Slot}" TextAlignment="Center" VerticalAlignment="Center" MinWidth="25"></TextBlock>
  27. <Button VerticalAlignment="Center" Width="115" Height="25">
  28. <Button.Content>
  29. <TextBlock Margin="-10,0,0,0" Text="{Binding Description}" VerticalAlignment="Center" FontSize="13" />
  30. </Button.Content>
  31. </Button>
  32. </StackPanel>
  33. </DataTemplate>
  34. </ListBox.ItemTemplate>
  35. </ListBox>
  36. </DataTemplate>
  37. </ListBox.ItemTemplate>
  38. </ListBox>
  39. <Grid Canvas.Left="852" Canvas.Top="503" Width="130" Height="72">
  40. <Grid.RowDefinitions>
  41. <RowDefinition Height="*"/>
  42. <RowDefinition Height="*"/>
  43. <RowDefinition Height="*"/>
  44. </Grid.RowDefinitions>
  45. <Grid.ColumnDefinitions>
  46. <ColumnDefinition Width="*"/>
  47. <ColumnDefinition Width="*"/>
  48. <ColumnDefinition Width="*"/>
  49. <ColumnDefinition Width="*"/>
  50. </Grid.ColumnDefinitions>
  51. <Border Grid.Row="0" Grid.Column="0" Background="#ff68d2c0" BorderBrush="#FF728585" BorderThickness="1">
  52. <TextBlock Text="P" FontSize="13" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  53. </Border>
  54. <Border Grid.Row="0" Grid.Column="1" BorderBrush="#FF728585" BorderThickness="1">
  55. <TextBlock Text="{Binding WaferNumberP}" FontSize="13" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  56. </Border>
  57. <Border Grid.Row="0" Grid.Column="2" Background="#ff68d2c0" BorderBrush="#FF728585" BorderThickness="1">
  58. <TextBlock Text="SD" FontSize="13" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  59. </Border>
  60. <Border Grid.Row="0" Grid.Column="3" BorderBrush="#FF728585" BorderThickness="1">
  61. <TextBlock Text="{Binding WaferNumberSD}" FontSize="13" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  62. </Border>
  63. <Border Grid.Row="1" Grid.Column="0" Background="#ff68d2c0" BorderBrush="#FF728585" BorderThickness="1">
  64. <TextBlock Text="M" FontSize="13" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  65. </Border>
  66. <Border Grid.Row="1" Grid.Column="1" BorderBrush="#FF728585" BorderThickness="1">
  67. <TextBlock Text="{Binding WaferNumberM}" FontSize="13" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  68. </Border>
  69. <Border Grid.Row="1" Grid.Column="2" Background="#ff68d2c0" BorderBrush="#FF728585" BorderThickness="1">
  70. <TextBlock Text="ED" FontSize="13" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  71. </Border>
  72. <Border Grid.Row="1" Grid.Column="3" BorderBrush="#FF728585" BorderThickness="1">
  73. <TextBlock Text="{Binding WaferNumberED}" FontSize="13" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  74. </Border>
  75. <Border Grid.Row="2" Grid.Column="0" Background="#ff68d2c0" BorderBrush="#FF728585" BorderThickness="1">
  76. <TextBlock Text="T" FontSize="13" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  77. </Border>
  78. <Border Grid.Row="2" Grid.Column="1" BorderBrush="#FF728585" BorderThickness="1">
  79. <TextBlock Text="{Binding WaferNumberT}" FontSize="13" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  80. </Border>
  81. <Border Grid.Row="2" Grid.Column="2" Background="#ff68d2c0" BorderBrush="#FF728585" BorderThickness="1">
  82. <TextBlock Text="XD" FontSize="13" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  83. </Border>
  84. <Border Grid.Row="2" Grid.Column="3" BorderBrush="#FF728585" BorderThickness="1">
  85. <TextBlock Text="{Binding WaferNumberXD}" FontSize="13" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  86. </Border>
  87. </Grid>
  88. <Button Content="Close" Canvas.Left="855" Canvas.Top="578" Width="129" Height="45" Style="{StaticResource CommandButton}">
  89. <i:Interaction.Triggers>
  90. <i:EventTrigger EventName="Click">
  91. <cal:ActionMessage MethodName="BoatWaferNoActionClose">
  92. </cal:ActionMessage>
  93. </i:EventTrigger>
  94. </i:Interaction.Triggers>
  95. </Button>
  96. </Canvas>
  97. </UserControl>