LoadLockFrontView.xaml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <UserControl x:Class="VirgoUI.Client.Models.Controls.LoadLockFrontView"
  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:VirgoUI.Client.Models.Controls"
  7. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  8. xmlns:cal="http://www.caliburn.org"
  9. xmlns:controls="http://OpenSEMI.Ctrlib.com/presentation"
  10. xmlns:converter="clr-namespace:VirgoUI.Client.Models.Converter"
  11. xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
  12. mc:Ignorable="d" >
  13. <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
  14. <Grid.RowDefinitions>
  15. <RowDefinition Height="Auto"/>
  16. <RowDefinition />
  17. </Grid.RowDefinitions>
  18. <TextBlock FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" VerticalAlignment="Center" HorizontalAlignment="Center">
  19. <Run Text="{Binding UnitData.ModuleID, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}"/>
  20. <Run Text=" Front View"/>
  21. </TextBlock>
  22. <Border Grid.Row="1" BorderThickness="1" BorderBrush="{DynamicResource FOUP_OuterBD}" Background="{DynamicResource FOUP_OuterBG}" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150" Margin="0,5">
  23. <Grid>
  24. <Rectangle Fill="{DynamicResource FOUP_InnerBG}" Margin="5,5,15,5"/>
  25. <Rectangle Fill="{DynamicResource FOUP_InnerGrow}" Margin="8,8,18,8">
  26. <Rectangle.Effect>
  27. <BlurEffect Radius="15"/>
  28. </Rectangle.Effect>
  29. </Rectangle>
  30. <Grid Margin="5,10,0,10">
  31. <Grid.RowDefinitions>
  32. <RowDefinition Height="20"/>
  33. <RowDefinition/>
  34. </Grid.RowDefinitions>
  35. <Grid>
  36. <Grid.ColumnDefinitions>
  37. <ColumnDefinition />
  38. <ColumnDefinition Width="15"/>
  39. </Grid.ColumnDefinitions>
  40. <TextBlock TextWrapping="Wrap" Text="" HorizontalAlignment="Center" VerticalAlignment="Center" FontFamily="Arial" FontSize="12" TextAlignment="Center" />
  41. </Grid>
  42. <StackPanel Grid.Row="1">
  43. <Grid Height="20">
  44. <Grid.ColumnDefinitions>
  45. <ColumnDefinition/>
  46. <ColumnDefinition Width="15"/>
  47. </Grid.ColumnDefinitions>
  48. <Rectangle Height="4" Width="30" HorizontalAlignment="Left" Fill="{DynamicResource FOUP_PathBG}" VerticalAlignment="Bottom" >
  49. <Rectangle.Effect>
  50. <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>
  51. </Rectangle.Effect>
  52. </Rectangle>
  53. <Rectangle Height="4" Width="30" HorizontalAlignment="Right" Fill="{DynamicResource FOUP_PathBG}" VerticalAlignment="Bottom" >
  54. <Rectangle.Effect>
  55. <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>
  56. </Rectangle.Effect>
  57. </Rectangle>
  58. <ctrl:Slot ViewType="Front" x:Name="LL2" DataContext="{Binding UnitData.WaferManager.Wafers[1], RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,4,0,0">
  59. <i:Interaction.Triggers>
  60. <i:EventTrigger EventName="SlotMouseButtonDown">
  61. <cal:ActionMessage MethodName="OnMouseUp">
  62. <cal:Parameter Value="$source" />
  63. <cal:Parameter Value="$eventargs" />
  64. </cal:ActionMessage>
  65. </i:EventTrigger>
  66. <i:EventTrigger EventName="WaferTransferStarted">
  67. <cal:ActionMessage MethodName="OnWaferTransfer">
  68. <cal:Parameter Value="$eventargs" />
  69. </cal:ActionMessage>
  70. </i:EventTrigger>
  71. </i:Interaction.Triggers>
  72. </ctrl:Slot>
  73. <TextBlock x:Name="LL_Text1" HorizontalAlignment="Center" Grid.Column="1" TextWrapping="Wrap" Text="2" Background="#FF646464" Foreground="White" VerticalAlignment="Bottom" FontFamily="Arial" FontSize="10" Width="13" TextAlignment="Center">
  74. </TextBlock>
  75. </Grid>
  76. <Grid Height="20">
  77. <Grid.ColumnDefinitions>
  78. <ColumnDefinition/>
  79. <ColumnDefinition Width="15"/>
  80. </Grid.ColumnDefinitions>
  81. <Rectangle Height="4" Width="30" HorizontalAlignment="Left" Fill="{DynamicResource FOUP_PathBG}" VerticalAlignment="Bottom" >
  82. <Rectangle.Effect>
  83. <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>
  84. </Rectangle.Effect>
  85. </Rectangle>
  86. <Rectangle Height="4" Width="30" HorizontalAlignment="Right" Fill="{DynamicResource FOUP_PathBG}" VerticalAlignment="Bottom" >
  87. <Rectangle.Effect>
  88. <DropShadowEffect Direction="270" BlurRadius="0" ShadowDepth="1"/>
  89. </Rectangle.Effect>
  90. </Rectangle>
  91. <ctrl:Slot ViewType="Front" x:Name="LL1" DataContext="{Binding UnitData.WaferManager.Wafers[0], RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}}}" WaferStatus="{Binding WaferStatus}" SlotID="{Binding SlotID}" ModuleID="{Binding ModuleID}" SourceName="{Binding SourceName}" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,4,0,0">
  92. <i:Interaction.Triggers>
  93. <i:EventTrigger EventName="SlotMouseButtonDown">
  94. <cal:ActionMessage MethodName="OnMouseUp">
  95. <cal:Parameter Value="$source" />
  96. <cal:Parameter Value="$eventargs" />
  97. </cal:ActionMessage>
  98. </i:EventTrigger>
  99. <i:EventTrigger EventName="WaferTransferStarted">
  100. <cal:ActionMessage MethodName="OnWaferTransfer">
  101. <cal:Parameter Value="$eventargs" />
  102. </cal:ActionMessage>
  103. </i:EventTrigger>
  104. </i:Interaction.Triggers>
  105. </ctrl:Slot>
  106. <TextBlock x:Name="LL_Text2" HorizontalAlignment="Center" Grid.Column="1" TextWrapping="Wrap" Text="1" Background="#FF646464" Foreground="White" VerticalAlignment="Bottom" FontFamily="Arial" FontSize="10" Width="13" TextAlignment="Center">
  107. </TextBlock>
  108. </Grid>
  109. </StackPanel>
  110. </Grid>
  111. </Grid>
  112. </Border>
  113. </Grid>
  114. </UserControl>