OverView.xaml 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. <UserControl x:Class="Virgo_DUI.Client.Models.Operate.OverView"
  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:i="http://schemas.microsoft.com/expression/2010/interactivity"
  7. xmlns:cal="http://www.caliburn.org"
  8. xmlns:ctrl="http://OpenSEMI.Ctrlib.com/presentation"
  9. xmlns:local="clr-namespace:Virgo_DUI.Client.Models.Controls"
  10. xmlns:parts="clr-namespace:Virgo_DUI.Controls.Parts"
  11. xmlns:wa="clr-namespace:Virgo_DUI.Client.Models.Operate"
  12. xmlns:parts1="clr-namespace:Virgo_DUI.Client.Controls.Parts"
  13. xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
  14. xmlns:waferAssociation="clr-namespace:Virgo_DUI.Client.Models.Operate.WaferAssociation"
  15. xmlns:converters="clr-namespace:Aitex.Core.UI.Converters;assembly=MECF.Framework.UI.Core"
  16. mc:Ignorable="d"
  17. d:DesignHeight="620" d:DesignWidth="1600">
  18. <UserControl.Resources>
  19. <converters:enum2BoolConverter x:Key="enum2BoolConverter"/>
  20. <Style TargetType="{x:Type Button}" x:Key="BtnControl" BasedOn="{StaticResource ResourceKey={x:Type Button}}">
  21. <Setter Property="Button.IsEnabled" Value="False" />
  22. <Style.Triggers>
  23. <DataTrigger Binding="{Binding ButtonControl}" Value="False">
  24. <Setter Property="Button.IsEnabled" Value="True"/>
  25. </DataTrigger>
  26. </Style.Triggers>
  27. </Style>
  28. <Style TargetType="{x:Type Button}" x:Key="BtnControl2" BasedOn="{StaticResource ResourceKey={x:Type Button}}">
  29. <Setter Property="Button.IsEnabled" Value="False" />
  30. <Style.Triggers>
  31. <MultiDataTrigger>
  32. <MultiDataTrigger.Conditions>
  33. <Condition Binding="{Binding Permission}" Value="1"></Condition>
  34. <Condition Binding="{Binding enable}" Value="True"></Condition>
  35. <Condition Binding="{Binding CurrentPM.Online}" Value="0"></Condition>
  36. </MultiDataTrigger.Conditions>
  37. <Setter Property="Button.IsEnabled" Value="True"/>
  38. </MultiDataTrigger>
  39. </Style.Triggers>
  40. </Style>
  41. </UserControl.Resources>
  42. <ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" Margin="0">
  43. <Grid>
  44. <Grid.ColumnDefinitions>
  45. <ColumnDefinition Width="*"/>
  46. <ColumnDefinition Width="Auto" MinWidth="310"/>
  47. <ColumnDefinition Width="Auto"/>
  48. </Grid.ColumnDefinitions>
  49. <Grid Grid.Column="0">
  50. <Canvas VerticalAlignment="Top" HorizontalAlignment="Center" Width="1050" Height="620" Margin="0,0">
  51. <parts1:EquipmentTopView x:Name="mf" Canvas.Left="192" Canvas.Top="-8"/>
  52. <parts1:SingleArmRobot Canvas.Left="505" Canvas.Top="302" RobotMoveInfo="{Binding EfemRobotMoveInfo}"/>
  53. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="271" Canvas.Top="357" WaferData="{Binding Aligner1Wafer}"/>
  54. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="271" Canvas.Top="246" WaferData="{Binding Aligner2Wafer}"/>
  55. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="390" Canvas.Top="84" WaferData="{Binding PMAWafer}"/>
  56. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="578" Canvas.Top="84" WaferData="{Binding PMBWafer}"/>
  57. <Grid x:Name="PMA_Info" Canvas.Top="3" Canvas.Left="31">
  58. <Grid.ColumnDefinitions>
  59. <ColumnDefinition Width="100"/>
  60. <ColumnDefinition Width="170"/>
  61. </Grid.ColumnDefinitions>
  62. <Grid.RowDefinitions>
  63. <RowDefinition Height="Auto"/>
  64. <RowDefinition Height="24"/>
  65. <RowDefinition Height="24"/>
  66. <RowDefinition Height="24"/>
  67. <RowDefinition Height="24"/>
  68. <RowDefinition Height="24"/>
  69. <RowDefinition Height="24"/>
  70. <RowDefinition Height="24"/>
  71. </Grid.RowDefinitions>
  72. <TextBlock Grid.ColumnSpan="2" Text="腔体A" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  73. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  74. <TextBlock Text="状态" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  75. </Border>
  76. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  77. <TextBlock Text="{Binding PMAServiceStatus}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  78. </Border>
  79. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  80. <TextBlock Text="工艺名称" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  81. </Border>
  82. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  83. <TextBlock Text="{Binding PMARecipeName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  84. </Border>
  85. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1">
  86. <TextBlock Text="工艺步数" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  87. </Border>
  88. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  89. <TextBlock Text="{Binding PMAStepNo}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  90. </Border>
  91. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1">
  92. <TextBlock Text="工艺步名" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  93. </Border>
  94. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="1" Padding="5,1">
  95. <TextBlock Text="{Binding PMAStepName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  96. </Border>
  97. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1">
  98. <TextBlock Text="运行时间" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  99. </Border>
  100. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" Padding="5,1">
  101. <TextBlock Text="{Binding PMARemainTime}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  102. </Border>
  103. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1">
  104. <TextBlock Text="压力 (mTorr)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  105. </Border>
  106. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" Padding="5,1">
  107. <TextBlock Text="{Binding PMAChamberPressure, StringFormat={}{0:F0}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  108. </Border>
  109. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" Padding="5,1">
  110. <TextBlock Text="温度 (℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  111. </Border>
  112. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" Padding="5,1">
  113. <TextBlock Text="{Binding PMATemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  114. </Border>
  115. </Grid>
  116. <Grid x:Name="PMB_Info" Canvas.Top="3" Canvas.Left="726">
  117. <Grid.ColumnDefinitions>
  118. <ColumnDefinition Width="100"/>
  119. <ColumnDefinition Width="170"/>
  120. </Grid.ColumnDefinitions>
  121. <Grid.RowDefinitions>
  122. <RowDefinition Height="Auto"/>
  123. <RowDefinition Height="24"/>
  124. <RowDefinition Height="24"/>
  125. <RowDefinition Height="24"/>
  126. <RowDefinition Height="24"/>
  127. <RowDefinition Height="24"/>
  128. <RowDefinition Height="24"/>
  129. <RowDefinition Height="24"/>
  130. </Grid.RowDefinitions>
  131. <TextBlock Grid.ColumnSpan="2" Text="腔体B" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  132. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  133. <TextBlock Text="状态" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  134. </Border>
  135. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  136. <TextBlock Text="{Binding PMBServiceStatus}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  137. </Border>
  138. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  139. <TextBlock Text="工艺名称" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  140. </Border>
  141. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  142. <TextBlock Text="{Binding PMBRecipeName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  143. </Border>
  144. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1">
  145. <TextBlock Text="工艺步数" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  146. </Border>
  147. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  148. <TextBlock Text="{Binding PMBStepNo}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  149. </Border>
  150. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1">
  151. <TextBlock Text="工艺步名" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  152. </Border>
  153. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="1" Padding="5,1">
  154. <TextBlock Text="{Binding PMBStepName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  155. </Border>
  156. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1">
  157. <TextBlock Text="运行时间" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  158. </Border>
  159. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" Padding="5,1">
  160. <TextBlock Text="{Binding PMBRemainTime}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  161. </Border>
  162. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1">
  163. <TextBlock Text="压力 (mTorr)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  164. </Border>
  165. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" Padding="5,1">
  166. <TextBlock Text="{Binding PMBChamberPressure, StringFormat={}{0:F0}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  167. </Border>
  168. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" Padding="5,1">
  169. <TextBlock Text="温度 (℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  170. </Border>
  171. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" Padding="5,1">
  172. <TextBlock Text="{Binding PMBTemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  173. </Border>
  174. </Grid>
  175. <StackPanel Canvas.Left="267" Canvas.Top="500">
  176. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  177. <TextBlock Text="EFEM 前门" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="黑体" VerticalAlignment="Center"/>
  178. </Border>
  179. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  180. <!--<deviceControl:AITSensor Margin="5,0" IsInterlockMode="True" DeviceData="{Binding CassetteDoorStatus}"/>-->
  181. <deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding CassetteDoorStatus,Converter={StaticResource enum2BoolConverter}}"/>
  182. </Border>
  183. </StackPanel>
  184. <StackPanel Canvas.Left="257" Canvas.Top="548" >
  185. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  186. <TextBlock Text="LP1 晶圆尺寸" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  187. </Border>
  188. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  189. <TextBlock Text="{Binding WaferSizeLP1}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  190. </Border>
  191. </StackPanel>
  192. <StackPanel Canvas.Left="683" Canvas.Top="548" >
  193. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  194. <TextBlock Text="LP2 晶圆尺寸" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  195. </Border>
  196. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  197. <TextBlock Text="{Binding WaferSizeLP2}" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  198. </Border>
  199. </StackPanel>
  200. <TextBlock Text="LP1" Canvas.Left="433" Canvas.Top="600"></TextBlock>
  201. <TextBlock Text="LP2" Canvas.Left="587" Canvas.Top="600"></TextBlock>
  202. <TextBlock Text="Aligner 1" Canvas.Left="285" Canvas.Top="430"></TextBlock>
  203. <TextBlock Text="Aligner 2" Canvas.Left="285" Canvas.Top="323"></TextBlock>
  204. <TextBlock Text="PMB" Canvas.Left="634" Canvas.Top="31"></TextBlock>
  205. <TextBlock Text="PMA" Canvas.Left="378" Canvas.Top="31"></TextBlock>
  206. <TextBlock Text="{Binding WaferSizeAligner1}" Canvas.Left="356" Canvas.Top="384" FontWeight="Bold" FontSize="14" />
  207. <TextBlock Text="{Binding WaferSizeAligner2}" Canvas.Left="356" Canvas.Top="273" FontWeight="Bold" FontSize="14" />
  208. <TextBlock Text="{Binding WaferSizeEfemRobot}" Canvas.Left="577" Canvas.Top="323" FontWeight="Bold" FontSize="14" />
  209. <TextBlock Text="{Binding WaferSizePMA}" Canvas.Left="464" Canvas.Top="97" FontWeight="Bold" FontSize="14" />
  210. <TextBlock Text="{Binding WaferSizePMB}" Canvas.Left="663" Canvas.Top="100" FontWeight="Bold" FontSize="14" />
  211. </Canvas>
  212. </Grid>
  213. <TabControl Grid.Column="1" Margin="0,5">
  214. <TabItem Header="料盒">
  215. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="10,0">
  216. <StackPanel>
  217. <local:FOUPFrontView UnitData="{Binding FOUPA}" VerticalAlignment="Top"></local:FOUPFrontView>
  218. <Button Content="扫片" Width="75" Height="25" IsEnabled="{Binding EnableMapLP1}">
  219. <i:Interaction.Triggers>
  220. <i:EventTrigger EventName="Click">
  221. <cal:ActionMessage MethodName="MapLP">
  222. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  223. </cal:ActionMessage>
  224. </i:EventTrigger>
  225. </i:Interaction.Triggers>
  226. </Button>
  227. </StackPanel>
  228. <StackPanel Margin="10,0,0,0">
  229. <local:FOUPFrontView UnitData="{Binding FOUPB}" VerticalAlignment="Top"></local:FOUPFrontView>
  230. <Button Content="扫片" Width="75" Height="25" IsEnabled="{Binding EnableMapLP2}">
  231. <i:Interaction.Triggers>
  232. <i:EventTrigger EventName="Click">
  233. <cal:ActionMessage MethodName="MapLP">
  234. <cal:Parameter Value="{Binding FOUPB.ModuleID}"></cal:Parameter>
  235. </cal:ActionMessage>
  236. </i:EventTrigger>
  237. </i:Interaction.Triggers>
  238. </Button>
  239. </StackPanel>
  240. </StackPanel>
  241. </TabItem>
  242. <TabItem Header="{Binding LP1WaferAssociation.ModuleData.ModuleID}">
  243. <waferAssociation:WaferAssociationUnit WAInfo="{Binding LP1WaferAssociation}" IsEnabled="{Binding EnableJobLP1}"></waferAssociation:WaferAssociationUnit>
  244. </TabItem>
  245. <TabItem Header="{Binding LP2WaferAssociation.ModuleData.ModuleID}">
  246. <waferAssociation:WaferAssociationUnit WAInfo="{Binding LP2WaferAssociation}" IsEnabled="{Binding EnableJobLP2}"></waferAssociation:WaferAssociationUnit>
  247. </TabItem>
  248. </TabControl>
  249. <Grid Grid.Column="2" Width="200" Background="White" Margin="10,-1,0,-1">
  250. <Grid.RowDefinitions>
  251. <RowDefinition Height="30"/>
  252. <RowDefinition Height="Auto"/>
  253. <RowDefinition Height="30"/>
  254. <RowDefinition Height="Auto" />
  255. <RowDefinition Height="30"/>
  256. <RowDefinition />
  257. </Grid.RowDefinitions>
  258. <Border Grid.Row="0" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  259. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  260. <Path Data="M0,0 L5,0 5,5 z" Fill="Black" HorizontalAlignment="Left" Grid.Row="1" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Width="5" Height="5">
  261. <Path.RenderTransform>
  262. <TransformGroup>
  263. <ScaleTransform/>
  264. <SkewTransform/>
  265. <RotateTransform Angle="45"/>
  266. <TranslateTransform/>
  267. </TransformGroup>
  268. </Path.RenderTransform>
  269. </Path>
  270. <TextBlock Margin="5,0,0,0" Text="Wafer Status" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  271. </StackPanel>
  272. </Border>
  273. <Border Grid.Row="1" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  274. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  275. <Grid Width="180" Height="20" HorizontalAlignment="Left">
  276. <Grid.ColumnDefinitions>
  277. <ColumnDefinition Width="40"/>
  278. <ColumnDefinition />
  279. </Grid.ColumnDefinitions>
  280. <Rectangle Fill="Gold" Stroke="Black" StrokeThickness="1"/>
  281. <TextBlock Text="Idle / No Process Job" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  282. </Grid>
  283. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  284. <Grid.ColumnDefinitions>
  285. <ColumnDefinition Width="40"/>
  286. <ColumnDefinition />
  287. </Grid.ColumnDefinitions>
  288. <Rectangle Fill="Blue" Stroke="Black" StrokeThickness="1"/>
  289. <TextBlock Text="Idle / Has Process Job" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  290. </Grid>
  291. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  292. <Grid.ColumnDefinitions>
  293. <ColumnDefinition Width="40"/>
  294. <ColumnDefinition />
  295. </Grid.ColumnDefinitions>
  296. <Rectangle Fill="Cyan" Stroke="Black" StrokeThickness="1"/>
  297. <TextBlock Text="In Process" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  298. </Grid>
  299. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  300. <Grid.ColumnDefinitions>
  301. <ColumnDefinition Width="40"/>
  302. <ColumnDefinition />
  303. </Grid.ColumnDefinitions>
  304. <Rectangle Fill="LimeGreen" Stroke="Black" StrokeThickness="1"/>
  305. <TextBlock Text="Process Complete" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  306. </Grid>
  307. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  308. <Grid.ColumnDefinitions>
  309. <ColumnDefinition Width="40"/>
  310. <ColumnDefinition />
  311. </Grid.ColumnDefinitions>
  312. <Rectangle Fill="Red" Stroke="Black" StrokeThickness="1"/>
  313. <TextBlock Text="Error" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  314. </Grid>
  315. </StackPanel>
  316. </Border>
  317. <Border Grid.Row="2" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  318. </Border>
  319. <Border Grid.Row="3" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  320. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,8">
  321. <Grid>
  322. <Grid.ColumnDefinitions>
  323. <ColumnDefinition Width="0"/>
  324. <ColumnDefinition />
  325. </Grid.ColumnDefinitions>
  326. <deviceControl:AITSensor Margin="-30,0,5,0" GreenColor="True" LightOnValue="{Binding IsRtInitialized}"></deviceControl:AITSensor>
  327. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="初始化" Width="120" Height="25">
  328. <i:Interaction.Triggers>
  329. <i:EventTrigger EventName="Click">
  330. <cal:ActionMessage MethodName="HomeAll">
  331. </cal:ActionMessage>
  332. </i:EventTrigger>
  333. </i:Interaction.Triggers>
  334. </Button>
  335. </Grid>
  336. <Grid Margin="0,8,0,0">
  337. <Grid.ColumnDefinitions>
  338. <ColumnDefinition Width="0"/>
  339. <ColumnDefinition />
  340. </Grid.ColumnDefinitions>
  341. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="终止" Width="120" Height="25">
  342. <i:Interaction.Triggers>
  343. <i:EventTrigger EventName="Click">
  344. <cal:ActionMessage MethodName="Abort">
  345. </cal:ActionMessage>
  346. </i:EventTrigger>
  347. </i:Interaction.Triggers>
  348. </Button>
  349. </Grid>
  350. <Grid Margin="0,8,0,0">
  351. <Grid.ColumnDefinitions>
  352. <ColumnDefinition Width="0"/>
  353. <ColumnDefinition />
  354. </Grid.ColumnDefinitions>
  355. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="晶圆返回" Width="120" Height="25">
  356. <i:Interaction.Triggers>
  357. <i:EventTrigger EventName="Click">
  358. <cal:ActionMessage MethodName="ReturnAllWafer">
  359. </cal:ActionMessage>
  360. </i:EventTrigger>
  361. </i:Interaction.Triggers>
  362. </Button>
  363. </Grid>
  364. </StackPanel>
  365. </Border>
  366. <Border Grid.Row="4" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  367. </Border>
  368. <Border Grid.Row="5" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  369. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  370. <Button Style="{StaticResource BtnControl}" IsEnabled="{Binding EnableAuto}" Margin ="5" Content="自动" Width="80" Height="25">
  371. <i:Interaction.Triggers>
  372. <i:EventTrigger EventName="Click">
  373. <cal:ActionMessage MethodName="Auto">
  374. </cal:ActionMessage>
  375. </i:EventTrigger>
  376. </i:Interaction.Triggers>
  377. </Button>
  378. <Button Style="{StaticResource BtnControl}" IsEnabled="{Binding EnableManual}" Margin ="5" Content="手动" Width="80" Height="25">
  379. <i:Interaction.Triggers>
  380. <i:EventTrigger EventName="Click">
  381. <cal:ActionMessage MethodName="Manual">
  382. </cal:ActionMessage>
  383. </i:EventTrigger>
  384. </i:Interaction.Triggers>
  385. </Button>
  386. <Grid x:Name="Cycle_Info" Visibility="{Binding IsCycleInfoVisibility}" Margin="0,30,0,0">
  387. <Grid.ColumnDefinitions>
  388. <ColumnDefinition Width="90"/>
  389. <ColumnDefinition Width="70"/>
  390. </Grid.ColumnDefinitions>
  391. <Grid.RowDefinitions>
  392. <RowDefinition Height="25"/>
  393. <RowDefinition Height="24"/>
  394. <RowDefinition Height="24"/>
  395. </Grid.RowDefinitions>
  396. <TextBlock Grid.ColumnSpan="2" Text="Cycle 信息" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  397. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  398. <TextBlock Text="跑片数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  399. </Border>
  400. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  401. <TextBlock Text="{Binding CycledWafer}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  402. </Border>
  403. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  404. <TextBlock Text="Cycle数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  405. </Border>
  406. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  407. <TextBlock Text="{Binding CycleCountDisplay}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  408. </Border>
  409. </Grid>
  410. </StackPanel>
  411. </Border>
  412. </Grid>
  413. </Grid>
  414. </ScrollViewer>
  415. </UserControl>