OverView.xaml 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  1. <UserControl x:Class="VirgoUI.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:VirgoUI.Client.Models.Controls"
  10. xmlns:parts="clr-namespace:VirgoUI.Controls.Parts"
  11. xmlns:wa="clr-namespace:VirgoUI.Client.Models.Operate"
  12. xmlns:parts1="clr-namespace:VirgoUI.Client.Controls.Parts"
  13. xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
  14. xmlns:waferAssociation="clr-namespace:VirgoUI.Client.Models.Operate.WaferAssociation"
  15. xmlns:converters="clr-namespace:Aitex.Core.UI.Converters;assembly=MECF.Framework.UI.Core"
  16. mc:Ignorable="d" IsEnabled="{Binding PageEnabled}"
  17. d:DesignHeight="700" d:DesignWidth="1600">
  18. <UserControl.Resources>
  19. <converters:enum2BoolConverter x:Key="enum2BoolConverter"/>
  20. <converters:bool2VisibilityConverter x:Key="bool2VisibilityConvert"/>
  21. <Style TargetType="{x:Type Button}" x:Key="BtnControl" BasedOn="{StaticResource ResourceKey={x:Type Button}}">
  22. <Setter Property="Button.IsEnabled" Value="False" />
  23. <Style.Triggers>
  24. <DataTrigger Binding="{Binding ButtonControl}" Value="False">
  25. <Setter Property="Button.IsEnabled" Value="True"/>
  26. </DataTrigger>
  27. </Style.Triggers>
  28. </Style>
  29. <Style TargetType="{x:Type Button}" x:Key="BtnControl2" BasedOn="{StaticResource ResourceKey={x:Type Button}}">
  30. <Setter Property="Button.IsEnabled" Value="False" />
  31. <Style.Triggers>
  32. <MultiDataTrigger>
  33. <MultiDataTrigger.Conditions>
  34. <Condition Binding="{Binding Permission}" Value="1"></Condition>
  35. <Condition Binding="{Binding enable}" Value="True"></Condition>
  36. <Condition Binding="{Binding CurrentPM.Online}" Value="0"></Condition>
  37. </MultiDataTrigger.Conditions>
  38. <Setter Property="Button.IsEnabled" Value="True"/>
  39. </MultiDataTrigger>
  40. </Style.Triggers>
  41. </Style>
  42. </UserControl.Resources>
  43. <ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" Margin="0">
  44. <Grid>
  45. <Grid.ColumnDefinitions>
  46. <ColumnDefinition Width="*"/>
  47. <ColumnDefinition Width="Auto" MinWidth="310"/>
  48. <ColumnDefinition Width="Auto"/>
  49. </Grid.ColumnDefinitions>
  50. <Grid Grid.Column="0">
  51. <Canvas VerticalAlignment="Top" HorizontalAlignment="Center" Width="1050" Height="700" Margin="0,0">
  52. <parts1:EquipmentTopView x:Name="mf" Canvas.Left="192" Canvas.Top="-8"/>
  53. <parts1:SingleArmRobot Canvas.Left="505" Canvas.Top="302" RobotMoveInfo="{Binding EfemRobotMoveInfo}"/>
  54. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="271" Canvas.Top="357" WaferData="{Binding Cooling1Wafer}"/>
  55. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="271" Canvas.Top="246" WaferData="{Binding Cooling2Wafer}"/>
  56. <!--<parts:WaferCtrl Width="66" Height="66" Canvas.Left="671" Canvas.Top="357" WaferData="{Binding Aligner1Wafer}"/>-->
  57. <!--<parts:WaferCtrl Width="66" Height="66" Canvas.Left="671" Canvas.Top="246" WaferData="{Binding Aligner2Wafer}"/>-->
  58. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="390" Canvas.Top="84" WaferData="{Binding PMAWafer}"/>
  59. <parts:WaferCtrl Width="66" Height="66" Canvas.Left="578" Canvas.Top="84" WaferData="{Binding PMBWafer}"/>
  60. <Grid x:Name="PMA_Info" Canvas.Top="3" Canvas.Left="31">
  61. <Grid.ColumnDefinitions>
  62. <ColumnDefinition Width="100"/>
  63. <ColumnDefinition Width="170"/>
  64. </Grid.ColumnDefinitions>
  65. <Grid.RowDefinitions>
  66. <RowDefinition Height="Auto"/>
  67. <RowDefinition Height="24"/>
  68. <RowDefinition Height="24"/>
  69. <RowDefinition Height="24"/>
  70. <RowDefinition Height="24"/>
  71. <RowDefinition Height="24"/>
  72. <RowDefinition Height="24"/>
  73. <RowDefinition Height="24"/>
  74. </Grid.RowDefinitions>
  75. <TextBlock Grid.ColumnSpan="2" Text="腔体A" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  76. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  77. <TextBlock Text="状态" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  78. </Border>
  79. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  80. <TextBlock Text="{Binding PMAServiceStatus}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  81. </Border>
  82. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  83. <TextBlock Text="工艺名称" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  84. </Border>
  85. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  86. <TextBlock Text="{Binding PMARecipeName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  87. </Border>
  88. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1">
  89. <TextBlock Text="工艺步数" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  90. </Border>
  91. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  92. <TextBlock Text="{Binding PMAStepNo}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  93. </Border>
  94. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1">
  95. <TextBlock Text="工艺步名" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  96. </Border>
  97. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="1" Padding="5,1">
  98. <TextBlock Text="{Binding PMAStepName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  99. </Border>
  100. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1">
  101. <TextBlock Text="运行时间" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  102. </Border>
  103. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" Padding="5,1">
  104. <TextBlock Text="{Binding PMARemainTime}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  105. </Border>
  106. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1">
  107. <TextBlock Text="压力 (mTorr)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  108. </Border>
  109. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" Padding="5,1">
  110. <TextBlock Text="{Binding PMAChamberPressure, StringFormat={}{0:F0}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  111. </Border>
  112. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" Padding="5,1">
  113. <TextBlock Text="温度 (℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  114. </Border>
  115. <Border BorderBrush="{DynamicResource Table_BD}" Visibility="{Binding Path=IsPMAHeaterVisibility, Converter={StaticResource bool2VisibilityConvert}}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" Padding="5,1">
  116. <TextBlock Text="{Binding PMATemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  117. </Border>
  118. <Border BorderBrush="{DynamicResource Table_BD}" Visibility="{Binding Path=IsPMAChillerVisibility, Converter={StaticResource bool2VisibilityConvert}}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" Padding="5,1">
  119. <TextBlock Text="{Binding PMAChillerTemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  120. </Border>
  121. </Grid>
  122. <Grid x:Name="PMB_Info" Canvas.Top="3" Canvas.Left="726">
  123. <Grid.ColumnDefinitions>
  124. <ColumnDefinition Width="100"/>
  125. <ColumnDefinition Width="170"/>
  126. </Grid.ColumnDefinitions>
  127. <Grid.RowDefinitions>
  128. <RowDefinition Height="Auto"/>
  129. <RowDefinition Height="24"/>
  130. <RowDefinition Height="24"/>
  131. <RowDefinition Height="24"/>
  132. <RowDefinition Height="24"/>
  133. <RowDefinition Height="24"/>
  134. <RowDefinition Height="24"/>
  135. <RowDefinition Height="24"/>
  136. </Grid.RowDefinitions>
  137. <TextBlock Grid.ColumnSpan="2" Text="腔体B" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  138. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" 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,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  142. <TextBlock Text="{Binding PMBServiceStatus}" 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="2" 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="2" Grid.Column="1" Padding="5,1">
  148. <TextBlock Text="{Binding PMBRecipeName}" 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="3" 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="3" Grid.Column="1" Padding="5,1">
  154. <TextBlock Text="{Binding PMBStepNo}" 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="4" 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="4" Grid.Column="1" Padding="5,1">
  160. <TextBlock Text="{Binding PMBStepName}" 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="5" Padding="5,1">
  163. <TextBlock Text="运行时间" 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="5" Grid.Column="1" Padding="5,1">
  166. <TextBlock Text="{Binding PMBRemainTime}" 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="6" Padding="5,1">
  169. <TextBlock Text="压力 (mTorr)" 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="6" Grid.Column="1" Padding="5,1">
  172. <TextBlock Text="{Binding PMBChamberPressure, StringFormat={}{0:F0}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  173. </Border>
  174. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" Padding="5,1">
  175. <TextBlock Text="温度 (℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  176. </Border>
  177. <Border BorderBrush="{DynamicResource Table_BD}" Visibility="{Binding Path=IsPMBHeaterVisibility, Converter={StaticResource bool2VisibilityConvert}}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" Padding="5,1">
  178. <TextBlock Text="{Binding PMBTemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  179. </Border>
  180. <Border BorderBrush="{DynamicResource Table_BD}" Visibility="{Binding Path=IsPMBChillerVisibility, Converter={StaticResource bool2VisibilityConvert}}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="7" Grid.Column="1" Padding="5,1">
  181. <TextBlock Text="{Binding PMBChillerTemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  182. </Border>
  183. </Grid>
  184. <!--<StackPanel Canvas.Left="227" Canvas.Top="500">
  185. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  186. <TextBlock Text="EFEM 前门" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="黑体" VerticalAlignment="Center"/>
  187. </Border>
  188. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  189. --><!--<deviceControl:AITSensor Margin="5,0" IsInterlockMode="True" DeviceData="{Binding CassetteDoorStatus}"/>--><!--
  190. <deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding CassetteDoorStatus,Converter={StaticResource enum2BoolConverter}}"/>
  191. </Border>
  192. </StackPanel>-->
  193. <StackPanel Canvas.Left="372" Canvas.Top="625">
  194. <StackPanel.RenderTransform>
  195. <TransformGroup>
  196. <ScaleTransform/>
  197. <SkewTransform/>
  198. <RotateTransform/>
  199. <TranslateTransform/>
  200. </TransformGroup>
  201. </StackPanel.RenderTransform>
  202. <StackPanel.Resources>
  203. <Storyboard x:Key="CoverOpen">
  204. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  205. <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
  206. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="60"/>
  207. </DoubleAnimationUsingKeyFrames>
  208. </Storyboard>
  209. <Storyboard x:Key="CoverClose">
  210. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  211. <EasingDoubleKeyFrame KeyTime="0" Value="60"/>
  212. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/>
  213. </DoubleAnimationUsingKeyFrames>
  214. </Storyboard>
  215. </StackPanel.Resources>
  216. <StackPanel.Style>
  217. <Style>
  218. <Style.Triggers>
  219. <DataTrigger Binding="{Binding CassetteDoorStatus,Converter={StaticResource enum2BoolConverter}}" Value="false">
  220. <DataTrigger.EnterActions>
  221. <BeginStoryboard Storyboard="{StaticResource CoverOpen}"/>
  222. </DataTrigger.EnterActions>
  223. <DataTrigger.ExitActions>
  224. <BeginStoryboard Storyboard="{StaticResource CoverClose}"/>
  225. </DataTrigger.ExitActions>
  226. </DataTrigger>
  227. </Style.Triggers>
  228. </Style>
  229. </StackPanel.Style>
  230. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource FOUP_OuterBG}" Height="8" Width="150"></Border>
  231. </StackPanel>
  232. <StackPanel Canvas.Left="672" Canvas.Top="633">
  233. <StackPanel.RenderTransform>
  234. <TransformGroup>
  235. <ScaleTransform/>
  236. <SkewTransform/>
  237. <RotateTransform Angle="180" />
  238. <TranslateTransform/>
  239. </TransformGroup>
  240. </StackPanel.RenderTransform>
  241. <StackPanel.Resources>
  242. <Storyboard x:Key="CoverOpen">
  243. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  244. <EasingDoubleKeyFrame KeyTime="0" Value="180"/>
  245. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="120"/>
  246. </DoubleAnimationUsingKeyFrames>
  247. </Storyboard>
  248. <Storyboard x:Key="CoverClose">
  249. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  250. <EasingDoubleKeyFrame KeyTime="0" Value="120"/>
  251. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="180"/>
  252. </DoubleAnimationUsingKeyFrames>
  253. </Storyboard>
  254. </StackPanel.Resources>
  255. <StackPanel.Style>
  256. <Style>
  257. <Style.Triggers>
  258. <DataTrigger Binding="{Binding CassetteDoorStatus,Converter={StaticResource enum2BoolConverter}}" Value="false">
  259. <DataTrigger.EnterActions>
  260. <BeginStoryboard Storyboard="{StaticResource CoverOpen}"/>
  261. </DataTrigger.EnterActions>
  262. <DataTrigger.ExitActions>
  263. <BeginStoryboard Storyboard="{StaticResource CoverClose}"/>
  264. </DataTrigger.ExitActions>
  265. </DataTrigger>
  266. </Style.Triggers>
  267. </Style>
  268. </StackPanel.Style>
  269. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource FOUP_OuterBG}" Height="8" Width="150"></Border>
  270. </StackPanel>
  271. <StackPanel Canvas.Left="445" Canvas.Top="645" Visibility="{Binding CassetteDoorIsOpened}">
  272. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="Yellow">
  273. <TextBlock Text=" Cassette Door Opened " TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  274. </Border>
  275. </StackPanel>
  276. <StackPanel Canvas.Left="257" Canvas.Top="548" >
  277. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  278. <TextBlock Text="LP1 Wafer Size" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  279. </Border>
  280. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  281. <TextBlock Text="{Binding WaferSizeLP1}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  282. </Border>
  283. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  284. <TextBlock Text="LP1 Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  285. </Border>
  286. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{Binding LP1StatusColor[0]}" Padding="5,1">
  287. <TextBlock Text="{Binding LP1ProcStatus}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{Binding LP1StatusColor[1]}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  288. </Border>
  289. </StackPanel>
  290. <StackPanel Canvas.Left="683" Canvas.Top="548" >
  291. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  292. <TextBlock Text="LP2 Wafer Size" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  293. </Border>
  294. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  295. <TextBlock Text="{Binding WaferSizeLP2}" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  296. </Border>
  297. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  298. <TextBlock Text="LP2 Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  299. </Border>
  300. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{Binding LP2StatusColor[0]}" Padding="5,1">
  301. <TextBlock Text="{Binding LP2ProcStatus}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{Binding LP2StatusColor[1]}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  302. </Border>
  303. </StackPanel>
  304. <TextBlock Text="LP1" Canvas.Left="433" Canvas.Top="600"></TextBlock>
  305. <TextBlock Text="LP2" Canvas.Left="587" Canvas.Top="600"></TextBlock>
  306. <TextBlock Text="Cooling 1" Canvas.Left="280" Canvas.Top="430"></TextBlock>
  307. <TextBlock Text="Cooling 2" Canvas.Left="280" Canvas.Top="323"></TextBlock>
  308. <TextBlock Text="{Binding PMBState}" Canvas.Left="585" Canvas.Top="15"></TextBlock>
  309. <TextBlock Text="{Binding PMAState}" Canvas.Left="338" Canvas.Top="15"></TextBlock>
  310. <TextBlock Text="Aligner 1" Canvas.Left="715" Canvas.Top="430"></TextBlock>
  311. <TextBlock Text="Aligner 2" Canvas.Left="715" Canvas.Top="323"></TextBlock>
  312. <TextBlock Text="{Binding WaferSizeCooling1}" Canvas.Left="356" Canvas.Top="384" FontWeight="Bold" FontSize="14" />
  313. <TextBlock Text="{Binding WaferSizeCooling2}" Canvas.Left="356" Canvas.Top="273" FontWeight="Bold" FontSize="14" />
  314. <TextBlock Text="{Binding WaferSizeAligner1}" Canvas.Left="786" Canvas.Top="384" FontWeight="Bold" FontSize="14" />
  315. <TextBlock Text="{Binding WaferSizeAligner2}" Canvas.Left="786" Canvas.Top="273" FontWeight="Bold" FontSize="14" />
  316. <TextBlock Text="{Binding WaferSizeEfemRobot}" Canvas.Left="577" Canvas.Top="323" FontWeight="Bold" FontSize="14" />
  317. <TextBlock Text="{Binding WaferSizePMA}" Canvas.Left="464" Canvas.Top="97" FontWeight="Bold" FontSize="14" />
  318. <TextBlock Text="{Binding WaferSizePMB}" Canvas.Left="663" Canvas.Top="100" FontWeight="Bold" FontSize="14" />
  319. </Canvas>
  320. </Grid>
  321. <TabControl Grid.Column="1" Margin="0,5">
  322. <TabItem Header="料盒">
  323. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="10,0">
  324. <StackPanel>
  325. <local:FOUPFrontView UnitData="{Binding FOUPA}" VerticalAlignment="Top"></local:FOUPFrontView>
  326. <TextBlock Text="{Binding LP1WaferCountInfo}" FontFamily="Arial" TextAlignment="Center" FontSize="14" TextWrapping="Wrap" FontWeight="Bold" Foreground="Black" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,10">
  327. </TextBlock>
  328. <Button Content="扫片" Width="75" Height="25" IsEnabled="{Binding EnableMapLP1}">
  329. <i:Interaction.Triggers>
  330. <i:EventTrigger EventName="Click">
  331. <cal:ActionMessage MethodName="MapLP">
  332. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  333. </cal:ActionMessage>
  334. </i:EventTrigger>
  335. </i:Interaction.Triggers>
  336. </Button>
  337. </StackPanel>
  338. <StackPanel Margin="10,0,0,0">
  339. <local:FOUPFrontView UnitData="{Binding FOUPB}" VerticalAlignment="Top"></local:FOUPFrontView>
  340. <TextBlock Text="{Binding LP2WaferCountInfo}" FontFamily="Arial" TextAlignment="Center" FontSize="14" TextWrapping="Wrap" FontWeight="Bold" Foreground="Black" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,10">
  341. </TextBlock>
  342. <Button Content="扫片" Width="75" Height="25" IsEnabled="{Binding EnableMapLP2}">
  343. <i:Interaction.Triggers>
  344. <i:EventTrigger EventName="Click">
  345. <cal:ActionMessage MethodName="MapLP">
  346. <cal:Parameter Value="{Binding FOUPB.ModuleID}"></cal:Parameter>
  347. </cal:ActionMessage>
  348. </i:EventTrigger>
  349. </i:Interaction.Triggers>
  350. </Button>
  351. </StackPanel>
  352. </StackPanel>
  353. </TabItem>
  354. <TabItem Header="{Binding LP1WaferAssociation.ModuleData.ModuleID}">
  355. <waferAssociation:WaferAssociationUnit WAInfo="{Binding LP1WaferAssociation}" IsEnabled="{Binding EnableJobLP1}"></waferAssociation:WaferAssociationUnit>
  356. </TabItem>
  357. <TabItem Header="{Binding LP2WaferAssociation.ModuleData.ModuleID}">
  358. <waferAssociation:WaferAssociationUnit WAInfo="{Binding LP2WaferAssociation}" IsEnabled="{Binding EnableJobLP2}"></waferAssociation:WaferAssociationUnit>
  359. </TabItem>
  360. </TabControl>
  361. <Grid Grid.Column="2" Width="200" Background="White" Margin="10,-1,0,-1">
  362. <Grid.RowDefinitions>
  363. <RowDefinition Height="30"/>
  364. <RowDefinition Height="Auto"/>
  365. <RowDefinition Height="30"/>
  366. <RowDefinition Height="Auto" />
  367. <RowDefinition Height="30"/>
  368. <RowDefinition />
  369. </Grid.RowDefinitions>
  370. <Border Grid.Row="0" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  371. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  372. <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">
  373. <Path.RenderTransform>
  374. <TransformGroup>
  375. <ScaleTransform/>
  376. <SkewTransform/>
  377. <RotateTransform Angle="45"/>
  378. <TranslateTransform/>
  379. </TransformGroup>
  380. </Path.RenderTransform>
  381. </Path>
  382. <TextBlock Margin="5,0,0,0" Text="Wafer Status" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  383. </StackPanel>
  384. </Border>
  385. <Border Grid.Row="1" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  386. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  387. <Grid Width="180" Height="20" HorizontalAlignment="Left">
  388. <Grid.ColumnDefinitions>
  389. <ColumnDefinition Width="40"/>
  390. <ColumnDefinition />
  391. </Grid.ColumnDefinitions>
  392. <Rectangle Fill="Gold" Stroke="Black" StrokeThickness="1"/>
  393. <TextBlock Text="Idle / Unselected" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  394. </Grid>
  395. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  396. <Grid.ColumnDefinitions>
  397. <ColumnDefinition Width="40"/>
  398. <ColumnDefinition />
  399. </Grid.ColumnDefinitions>
  400. <Rectangle Fill="Blue" Stroke="Black" StrokeThickness="1"/>
  401. <TextBlock Text="Idle / Job Selected" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  402. </Grid>
  403. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  404. <Grid.ColumnDefinitions>
  405. <ColumnDefinition Width="40"/>
  406. <ColumnDefinition />
  407. </Grid.ColumnDefinitions>
  408. <Rectangle Fill="Cyan" Stroke="Black" StrokeThickness="1"/>
  409. <TextBlock Text="In Process" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  410. </Grid>
  411. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  412. <Grid.ColumnDefinitions>
  413. <ColumnDefinition Width="40"/>
  414. <ColumnDefinition />
  415. </Grid.ColumnDefinitions>
  416. <Rectangle Fill="LimeGreen" Stroke="Black" StrokeThickness="1"/>
  417. <TextBlock Text="Process Complete" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  418. </Grid>
  419. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  420. <Grid.ColumnDefinitions>
  421. <ColumnDefinition Width="40"/>
  422. <ColumnDefinition />
  423. </Grid.ColumnDefinitions>
  424. <Rectangle Fill="Red" Stroke="Black" StrokeThickness="1"/>
  425. <TextBlock Text="Error" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  426. </Grid>
  427. </StackPanel>
  428. </Border>
  429. <Border Grid.Row="2" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  430. </Border>
  431. <Border Grid.Row="3" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  432. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,8">
  433. <Grid>
  434. <Grid.ColumnDefinitions>
  435. <ColumnDefinition Width="0"/>
  436. <ColumnDefinition />
  437. </Grid.ColumnDefinitions>
  438. <deviceControl:AITSensor Margin="-30,0,5,0" GreenColor="True" LightOnValue="{Binding IsRtInitialized}"></deviceControl:AITSensor>
  439. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="初始化" Width="120" Height="25">
  440. <i:Interaction.Triggers>
  441. <i:EventTrigger EventName="Click">
  442. <cal:ActionMessage MethodName="HomeAll">
  443. </cal:ActionMessage>
  444. </i:EventTrigger>
  445. </i:Interaction.Triggers>
  446. </Button>
  447. </Grid>
  448. <Grid Margin="0,8,0,0">
  449. <Grid.ColumnDefinitions>
  450. <ColumnDefinition Width="0"/>
  451. <ColumnDefinition />
  452. </Grid.ColumnDefinitions>
  453. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="终止" Width="120" Height="25">
  454. <i:Interaction.Triggers>
  455. <i:EventTrigger EventName="Click">
  456. <cal:ActionMessage MethodName="Abort">
  457. </cal:ActionMessage>
  458. </i:EventTrigger>
  459. </i:Interaction.Triggers>
  460. </Button>
  461. </Grid>
  462. <Grid Margin="0,8,0,0">
  463. <Grid.ColumnDefinitions>
  464. <ColumnDefinition Width="0"/>
  465. <ColumnDefinition />
  466. </Grid.ColumnDefinitions>
  467. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="全部暂停" Width="120" Height="25" IsEnabled="{Binding IsPauseAllEnable}">
  468. <i:Interaction.Triggers>
  469. <i:EventTrigger EventName="Click">
  470. <cal:ActionMessage MethodName="PauseAllJob">
  471. </cal:ActionMessage>
  472. </i:EventTrigger>
  473. </i:Interaction.Triggers>
  474. </Button>
  475. </Grid>
  476. <Grid Margin="0,8,0,0">
  477. <Grid.ColumnDefinitions>
  478. <ColumnDefinition Width="0"/>
  479. <ColumnDefinition />
  480. </Grid.ColumnDefinitions>
  481. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="晶圆返回" Width="120" Height="25">
  482. <i:Interaction.Triggers>
  483. <i:EventTrigger EventName="Click">
  484. <cal:ActionMessage MethodName="ReturnAllWafer">
  485. </cal:ActionMessage>
  486. </i:EventTrigger>
  487. </i:Interaction.Triggers>
  488. </Button>
  489. </Grid>
  490. </StackPanel>
  491. </Border>
  492. <Border Grid.Row="4" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  493. </Border>
  494. <Border Grid.Row="5" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  495. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  496. <Button Style="{StaticResource BtnControl}" IsEnabled="{Binding EnableAuto}" Margin ="5" Content="自动" Width="80" Height="25">
  497. <i:Interaction.Triggers>
  498. <i:EventTrigger EventName="Click">
  499. <cal:ActionMessage MethodName="Auto">
  500. </cal:ActionMessage>
  501. </i:EventTrigger>
  502. </i:Interaction.Triggers>
  503. </Button>
  504. <Button Style="{StaticResource BtnControl}" IsEnabled="{Binding EnableManual}" Margin ="5" Content="手动" Width="80" Height="25">
  505. <i:Interaction.Triggers>
  506. <i:EventTrigger EventName="Click">
  507. <cal:ActionMessage MethodName="Manual">
  508. </cal:ActionMessage>
  509. </i:EventTrigger>
  510. </i:Interaction.Triggers>
  511. </Button>
  512. <Grid x:Name="Cycle_Info" Visibility="{Binding IsCycleInfoVisibility}" Margin="0,30,0,0">
  513. <Grid.ColumnDefinitions>
  514. <ColumnDefinition Width="90"/>
  515. <ColumnDefinition Width="70"/>
  516. </Grid.ColumnDefinitions>
  517. <Grid.RowDefinitions>
  518. <RowDefinition Height="25"/>
  519. <RowDefinition Height="24"/>
  520. <RowDefinition Height="24"/>
  521. </Grid.RowDefinitions>
  522. <TextBlock Grid.ColumnSpan="2" Text="Cycle 信息" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  523. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  524. <TextBlock Text="跑片数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  525. </Border>
  526. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  527. <TextBlock Text="{Binding CycledWafer}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  528. </Border>
  529. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  530. <TextBlock Text="Cycle数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  531. </Border>
  532. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  533. <TextBlock Text="{Binding CycleCountDisplay}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  534. </Border>
  535. </Grid>
  536. <TextBlock Grid.ColumnSpan="2" Text="ATM Mode ON" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,20,0,0" Visibility="{Binding IsATMInfoVisibility}"/>
  537. </StackPanel>
  538. </Border>
  539. </Grid>
  540. </Grid>
  541. </ScrollViewer>
  542. </UserControl>