OverView.xaml 65 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822
  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="500" Canvas.Top="310" RobotMoveInfo="{Binding EfemRobotMoveInfo}"/>
  54. <local:EFEMFrontView UnitData="{Binding EFEM}" Canvas.Left="846" Canvas.Top="357" />
  55. <Grid x:Name="PMA_Info" Canvas.Top="3" Canvas.Left="31">
  56. <Grid.ColumnDefinitions>
  57. <ColumnDefinition Width="100"/>
  58. <ColumnDefinition Width="170"/>
  59. </Grid.ColumnDefinitions>
  60. <Grid.RowDefinitions>
  61. <RowDefinition Height="Auto"/>
  62. <RowDefinition Height="24"/>
  63. <RowDefinition Height="24"/>
  64. <RowDefinition Height="24"/>
  65. <RowDefinition Height="24"/>
  66. <RowDefinition Height="24"/>
  67. <RowDefinition Height="24"/>
  68. <RowDefinition Height="24"/>
  69. </Grid.RowDefinitions>
  70. <TextBlock Grid.ColumnSpan="2" Text="腔体A" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  71. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  72. <TextBlock Text="状态" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  73. </Border>
  74. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  75. <TextBlock Text="{Binding PMAServiceStatus}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  76. </Border>
  77. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  78. <TextBlock Text="工艺名称" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  79. </Border>
  80. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  81. <TextBlock Text="{Binding PMARecipeName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  82. </Border>
  83. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1">
  84. <TextBlock Text="工艺步数" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  85. </Border>
  86. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  87. <TextBlock Text="{Binding PMAStepNo}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  88. </Border>
  89. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1">
  90. <TextBlock Text="工艺步名" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  91. </Border>
  92. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="1" Padding="5,1">
  93. <TextBlock Text="{Binding PMAStepName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  94. </Border>
  95. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1">
  96. <TextBlock Text="运行时间" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  97. </Border>
  98. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" Padding="5,1">
  99. <TextBlock Text="{Binding PMARemainTime}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  100. </Border>
  101. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1">
  102. <TextBlock Text="压力 (mTorr)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  103. </Border>
  104. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" Padding="5,1">
  105. <TextBlock Text="{Binding PMAChamberPressure, StringFormat={}{0:F0}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  106. </Border>
  107. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" Padding="5,1">
  108. <TextBlock Text="温度 (℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  109. </Border>
  110. <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">
  111. <TextBlock Text="{Binding PMATemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  112. </Border>
  113. <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">
  114. <TextBlock Text="{Binding PMAChillerTemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  115. </Border>
  116. </Grid>
  117. <Grid x:Name="PMB_Info" Canvas.Top="3" Canvas.Left="726">
  118. <Grid.ColumnDefinitions>
  119. <ColumnDefinition Width="100"/>
  120. <ColumnDefinition Width="170"/>
  121. </Grid.ColumnDefinitions>
  122. <Grid.RowDefinitions>
  123. <RowDefinition Height="Auto"/>
  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. <RowDefinition Height="24"/>
  131. </Grid.RowDefinitions>
  132. <TextBlock Grid.ColumnSpan="2" Text="腔体B" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  133. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  134. <TextBlock Text="状态" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  135. </Border>
  136. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  137. <TextBlock Text="{Binding PMBServiceStatus}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  138. </Border>
  139. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  140. <TextBlock Text="工艺名称" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  141. </Border>
  142. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  143. <TextBlock Text="{Binding PMBRecipeName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  144. </Border>
  145. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1">
  146. <TextBlock Text="工艺步数" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  147. </Border>
  148. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  149. <TextBlock Text="{Binding PMBStepNo}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  150. </Border>
  151. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1">
  152. <TextBlock Text="工艺步名" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  153. </Border>
  154. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="1" Padding="5,1">
  155. <TextBlock Text="{Binding PMBStepName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  156. </Border>
  157. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1">
  158. <TextBlock Text="运行时间" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  159. </Border>
  160. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" Padding="5,1">
  161. <TextBlock Text="{Binding PMBRemainTime}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  162. </Border>
  163. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1">
  164. <TextBlock Text="压力 (mTorr)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  165. </Border>
  166. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" Padding="5,1">
  167. <TextBlock Text="{Binding PMBChamberPressure, StringFormat={}{0:F0}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  168. </Border>
  169. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" Padding="5,1">
  170. <TextBlock Text="温度 (℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  171. </Border>
  172. <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">
  173. <TextBlock Text="{Binding PMBTemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  174. </Border>
  175. <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">
  176. <TextBlock Text="{Binding PMBChillerTemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  177. </Border>
  178. </Grid>
  179. <!--<StackPanel Canvas.Left="227" Canvas.Top="500">
  180. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  181. <TextBlock Text="EFEM 前门" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="黑体" VerticalAlignment="Center"/>
  182. </Border>
  183. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  184. -->
  185. <!--<deviceControl:AITSensor Margin="5,0" IsInterlockMode="True" DeviceData="{Binding CassetteDoorStatus}"/>-->
  186. <!--
  187. <deviceControl:AITSensor Margin="5,0" GreenColor="True" LightOnValue="{Binding CassetteDoorStatus,Converter={StaticResource enum2BoolConverter}}"/>
  188. </Border>
  189. </StackPanel>-->
  190. <Canvas Visibility="{Binding CassetteDoorVisibility}">
  191. <StackPanel Canvas.Left="372" Canvas.Top="625">
  192. <StackPanel.RenderTransform>
  193. <TransformGroup>
  194. <ScaleTransform/>
  195. <SkewTransform/>
  196. <RotateTransform/>
  197. <TranslateTransform/>
  198. </TransformGroup>
  199. </StackPanel.RenderTransform>
  200. <StackPanel.Resources>
  201. <Storyboard x:Key="CoverOpen">
  202. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  203. <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
  204. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="60"/>
  205. </DoubleAnimationUsingKeyFrames>
  206. </Storyboard>
  207. <Storyboard x:Key="CoverClose">
  208. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  209. <EasingDoubleKeyFrame KeyTime="0" Value="60"/>
  210. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/>
  211. </DoubleAnimationUsingKeyFrames>
  212. </Storyboard>
  213. </StackPanel.Resources>
  214. <StackPanel.Style>
  215. <Style>
  216. <Style.Triggers>
  217. <DataTrigger Binding="{Binding CassetteDoorStatus,Converter={StaticResource enum2BoolConverter}}" Value="false">
  218. <DataTrigger.EnterActions>
  219. <BeginStoryboard Storyboard="{StaticResource CoverOpen}"/>
  220. </DataTrigger.EnterActions>
  221. <DataTrigger.ExitActions>
  222. <BeginStoryboard Storyboard="{StaticResource CoverClose}"/>
  223. </DataTrigger.ExitActions>
  224. </DataTrigger>
  225. </Style.Triggers>
  226. </Style>
  227. </StackPanel.Style>
  228. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource FOUP_OuterBG}" Height="8" Width="150"></Border>
  229. </StackPanel>
  230. <StackPanel Canvas.Left="672" Canvas.Top="633">
  231. <StackPanel.RenderTransform>
  232. <TransformGroup>
  233. <ScaleTransform/>
  234. <SkewTransform/>
  235. <RotateTransform Angle="180" />
  236. <TranslateTransform/>
  237. </TransformGroup>
  238. </StackPanel.RenderTransform>
  239. <StackPanel.Resources>
  240. <Storyboard x:Key="CoverOpen">
  241. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  242. <EasingDoubleKeyFrame KeyTime="0" Value="180"/>
  243. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="120"/>
  244. </DoubleAnimationUsingKeyFrames>
  245. </Storyboard>
  246. <Storyboard x:Key="CoverClose">
  247. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  248. <EasingDoubleKeyFrame KeyTime="0" Value="120"/>
  249. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="180"/>
  250. </DoubleAnimationUsingKeyFrames>
  251. </Storyboard>
  252. </StackPanel.Resources>
  253. <StackPanel.Style>
  254. <Style>
  255. <Style.Triggers>
  256. <DataTrigger Binding="{Binding CassetteDoorStatus,Converter={StaticResource enum2BoolConverter}}" Value="false">
  257. <DataTrigger.EnterActions>
  258. <BeginStoryboard Storyboard="{StaticResource CoverOpen}"/>
  259. </DataTrigger.EnterActions>
  260. <DataTrigger.ExitActions>
  261. <BeginStoryboard Storyboard="{StaticResource CoverClose}"/>
  262. </DataTrigger.ExitActions>
  263. </DataTrigger>
  264. </Style.Triggers>
  265. </Style>
  266. </StackPanel.Style>
  267. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource FOUP_OuterBG}" Height="8" Width="150"></Border>
  268. </StackPanel>
  269. <StackPanel Canvas.Left="445" Canvas.Top="645" Visibility="{Binding CassetteDoorIsOpened}">
  270. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="Yellow">
  271. <TextBlock Text=" Cassette Door Opened " TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  272. </Border>
  273. </StackPanel>
  274. </Canvas>
  275. <StackPanel Canvas.Left="220" Canvas.Top="500" >
  276. <StackPanel Visibility="{Binding WaferSizeVisibility}" >
  277. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" 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. </StackPanel>
  284. <StackPanel Visibility="{Binding ThicknessVisibility}" >
  285. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  286. <TextBlock Text="LP1 Wafer Thickness" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  287. </Border>
  288. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  289. <TextBlock Text="{Binding WaferThicknessLP1}" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  290. </Border>
  291. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  292. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,5" Visibility="{Binding ThicknessVisibility}">
  293. <Button Content="厚片" Width="60" Height="25" IsEnabled="{Binding EnableThickLP1}">
  294. <i:Interaction.Triggers>
  295. <i:EventTrigger EventName="Click">
  296. <cal:ActionMessage MethodName="SetThick">
  297. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  298. </cal:ActionMessage>
  299. </i:EventTrigger>
  300. </i:Interaction.Triggers>
  301. </Button>
  302. <Button Content="薄片" Margin="15,0,0,0" Width="60" Height="25" IsEnabled="{Binding EnableThinLP1}">
  303. <i:Interaction.Triggers>
  304. <i:EventTrigger EventName="Click">
  305. <cal:ActionMessage MethodName="SetThin">
  306. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  307. </cal:ActionMessage>
  308. </i:EventTrigger>
  309. </i:Interaction.Triggers>
  310. </Button>
  311. </StackPanel>
  312. </Border>
  313. </StackPanel>
  314. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  315. <TextBlock Text="LP1 Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  316. </Border>
  317. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{Binding LP1StatusColor[0]}" Padding="5,1">
  318. <TextBlock Text="{Binding LP1ProcStatus}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{Binding LP1StatusColor[1]}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  319. </Border>
  320. </StackPanel>
  321. <StackPanel Visibility="{Binding JobControlVisibility}" Canvas.Left="45" Canvas.Top="260" >
  322. <StackPanel >
  323. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  324. <TextBlock Text="LP1" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  325. </Border>
  326. </StackPanel>
  327. <StackPanel >
  328. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  329. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,5" >
  330. <Button Content="暂停" Width="60" Height="25" >
  331. <i:Interaction.Triggers>
  332. <i:EventTrigger EventName="Click">
  333. <cal:ActionMessage MethodName="Pause">
  334. <cal:Parameter Value="{Binding LP1WaferAssociation.JobID}"></cal:Parameter>
  335. </cal:ActionMessage>
  336. </i:EventTrigger>
  337. </i:Interaction.Triggers>
  338. </Button>
  339. <Button Content="继续" Margin="15,0,0,0" Width="60" Height="25" >
  340. <i:Interaction.Triggers>
  341. <i:EventTrigger EventName="Click">
  342. <cal:ActionMessage MethodName="Resume">
  343. <cal:Parameter Value="{Binding LP1WaferAssociation.JobID}"></cal:Parameter>
  344. </cal:ActionMessage>
  345. </i:EventTrigger>
  346. </i:Interaction.Triggers>
  347. </Button>
  348. </StackPanel>
  349. </Border>
  350. </StackPanel>
  351. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  352. <TextBlock Text="LP2" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  353. </Border>
  354. <StackPanel >
  355. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  356. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,5" >
  357. <Button Content="暂停" Width="60" Height="25" >
  358. <i:Interaction.Triggers>
  359. <i:EventTrigger EventName="Click">
  360. <cal:ActionMessage MethodName="Pause">
  361. <cal:Parameter Value="{Binding LP2WaferAssociation.JobID}"></cal:Parameter>
  362. </cal:ActionMessage>
  363. </i:EventTrigger>
  364. </i:Interaction.Triggers>
  365. </Button>
  366. <Button Content="继续" Margin="15,0,0,0" Width="60" Height="25" >
  367. <i:Interaction.Triggers>
  368. <i:EventTrigger EventName="Click">
  369. <cal:ActionMessage MethodName="Resume">
  370. <cal:Parameter Value="{Binding LP2WaferAssociation.JobID}"></cal:Parameter>
  371. </cal:ActionMessage>
  372. </i:EventTrigger>
  373. </i:Interaction.Triggers>
  374. </Button>
  375. </StackPanel>
  376. </Border>
  377. </StackPanel>
  378. </StackPanel>
  379. <StackPanel Canvas.Left="10" Canvas.Top="500" Width="200" Height="180" Visibility="{Binding SmartTagVisibility}" CanVerticallyScroll="True">
  380. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  381. <TextBlock Text="LP1 SmartTag" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  382. </Border>
  383. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1" >
  384. <ScrollViewer VerticalScrollBarVisibility="Auto" Height="150">
  385. <TextBlock Text="{Binding SmartTagLP1}" TextWrapping="Wrap" HorizontalAlignment="Left" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center" ScrollViewer.VerticalScrollBarVisibility="Visible"/>
  386. </ScrollViewer>
  387. </Border>
  388. </StackPanel>
  389. <StackPanel Canvas.Left="686" Canvas.Top="500" >
  390. <StackPanel Visibility="{Binding WaferSizeVisibility}" >
  391. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  392. <TextBlock Text="LP2 Wafer Size" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  393. </Border>
  394. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  395. <TextBlock Text="{Binding WaferSizeLP2}" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  396. </Border>
  397. </StackPanel>
  398. <StackPanel Visibility="{Binding ThicknessVisibility}" >
  399. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  400. <TextBlock Text="LP2 Wafer Thickness" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  401. </Border>
  402. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  403. <TextBlock Text="{Binding WaferThicknessLP2}" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  404. </Border>
  405. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  406. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,5" Visibility="{Binding ThicknessVisibility}">
  407. <Button Content="厚片" Width="60" Height="25" IsEnabled="{Binding EnableThickLP2}">
  408. <i:Interaction.Triggers>
  409. <i:EventTrigger EventName="Click">
  410. <cal:ActionMessage MethodName="SetThick">
  411. <cal:Parameter Value="{Binding FOUPB.ModuleID}"></cal:Parameter>
  412. </cal:ActionMessage>
  413. </i:EventTrigger>
  414. </i:Interaction.Triggers>
  415. </Button>
  416. <Button Content="薄片" Margin="15,0,0,0" Width="60" Height="25" IsEnabled="{Binding EnableThinLP2}">
  417. <i:Interaction.Triggers>
  418. <i:EventTrigger EventName="Click">
  419. <cal:ActionMessage MethodName="SetThin">
  420. <cal:Parameter Value="{Binding FOUPB.ModuleID}"></cal:Parameter>
  421. </cal:ActionMessage>
  422. </i:EventTrigger>
  423. </i:Interaction.Triggers>
  424. </Button>
  425. </StackPanel>
  426. </Border>
  427. </StackPanel>
  428. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  429. <TextBlock Text="LP2 Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  430. </Border>
  431. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{Binding LP2StatusColor[0]}" Padding="5,1">
  432. <TextBlock Text="{Binding LP2ProcStatus}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{Binding LP2StatusColor[1]}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  433. </Border>
  434. </StackPanel>
  435. <StackPanel Canvas.Left="845" Canvas.Top="500" Width="200" Height="180" Visibility="{Binding SmartTagVisibility}">
  436. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  437. <TextBlock Text="LP2 SmartTag" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  438. </Border>
  439. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  440. <ScrollViewer VerticalScrollBarVisibility="Auto" Height="150">
  441. <TextBlock Text="{Binding SmartTagLP2}" TextWrapping="Wrap" HorizontalAlignment="Left" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center" ScrollViewer.VerticalScrollBarVisibility="Visible"/>
  442. </ScrollViewer>
  443. </Border>
  444. </StackPanel>
  445. <TextBlock Text="{Binding PMBState}" Canvas.Left="585" Canvas.Top="15"></TextBlock>
  446. <TextBlock Text="{Binding PMAState}" Canvas.Left="338" Canvas.Top="15"></TextBlock>
  447. <TextBlock Text="{Binding WaferSizeCooling1}" Canvas.Left="395" Canvas.Top="379" FontWeight="Bold" FontSize="14" />
  448. <TextBlock Text="{Binding WaferSizeCooling2}" Canvas.Left="395" Canvas.Top="275" FontWeight="Bold" FontSize="14" />
  449. <TextBlock Text="{Binding WaferSizeAligner1}" Canvas.Left="640" Canvas.Top="379" FontWeight="Bold" FontSize="14" />
  450. <TextBlock Text="{Binding WaferSizeAligner2}" Canvas.Left="640" Canvas.Top="275" FontWeight="Bold" FontSize="14" />
  451. <TextBlock Text="{Binding WaferSizeEfemRobot}" Canvas.Left="577" Canvas.Top="324" FontWeight="Bold" FontSize="14" />
  452. <TextBlock Text="{Binding WaferSizePMA}" Canvas.Left="477" Canvas.Top="109" FontWeight="Bold" FontSize="14" />
  453. <TextBlock Text="{Binding WaferSizePMB}" Canvas.Left="663" Canvas.Top="109" FontWeight="Bold" FontSize="14" />
  454. </Canvas>
  455. </Grid>
  456. <TabControl Grid.Column="1" Margin="0,5">
  457. <TabItem Header="料盒">
  458. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="10,0">
  459. <StackPanel>
  460. <local:FOUPFrontView UnitData="{Binding FOUPA}" VerticalAlignment="Top"></local:FOUPFrontView>
  461. <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">
  462. </TextBlock>
  463. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Visibility="{Binding MapVisibility}">
  464. <Button Content="扫片" Width="75" Height="25" IsEnabled="{Binding EnableMapLP1}">
  465. <i:Interaction.Triggers>
  466. <i:EventTrigger EventName="Click">
  467. <cal:ActionMessage MethodName="MapLP">
  468. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  469. </cal:ActionMessage>
  470. </i:EventTrigger>
  471. </i:Interaction.Triggers>
  472. </Button>
  473. </StackPanel>
  474. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Visibility="{Binding LoadUnloadVisibility}">
  475. <Button Content="Load" Width="60" Height="25" IsEnabled="{Binding EnableLoadLP1}">
  476. <i:Interaction.Triggers>
  477. <i:EventTrigger EventName="Click">
  478. <cal:ActionMessage MethodName="LoadLP">
  479. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  480. </cal:ActionMessage>
  481. </i:EventTrigger>
  482. </i:Interaction.Triggers>
  483. </Button>
  484. <Button Content="Unload" Margin="15,0,0,0" Width="60" Height="25" IsEnabled="{Binding EnableUnloadLP1}">
  485. <i:Interaction.Triggers>
  486. <i:EventTrigger EventName="Click">
  487. <cal:ActionMessage MethodName="UnloadLP">
  488. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  489. </cal:ActionMessage>
  490. </i:EventTrigger>
  491. </i:Interaction.Triggers>
  492. </Button>
  493. </StackPanel>
  494. </StackPanel>
  495. <StackPanel Margin="10,0,0,0">
  496. <local:FOUPFrontView UnitData="{Binding FOUPB}" VerticalAlignment="Top"></local:FOUPFrontView>
  497. <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">
  498. </TextBlock>
  499. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Visibility="{Binding MapVisibility}">
  500. <Button Content="扫片" Width="75" Height="25" IsEnabled="{Binding EnableMapLP2}">
  501. <i:Interaction.Triggers>
  502. <i:EventTrigger EventName="Click">
  503. <cal:ActionMessage MethodName="MapLP">
  504. <cal:Parameter Value="{Binding FOUPB.ModuleID}"></cal:Parameter>
  505. </cal:ActionMessage>
  506. </i:EventTrigger>
  507. </i:Interaction.Triggers>
  508. </Button>
  509. </StackPanel>
  510. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Visibility="{Binding LoadUnloadVisibility}">
  511. <Button Content="Load" Width="55" Height="25" IsEnabled="{Binding EnableLoadLP2}">
  512. <i:Interaction.Triggers>
  513. <i:EventTrigger EventName="Click">
  514. <cal:ActionMessage MethodName="LoadLP">
  515. <cal:Parameter Value="{Binding FOUPB.ModuleID}"></cal:Parameter>
  516. </cal:ActionMessage>
  517. </i:EventTrigger>
  518. </i:Interaction.Triggers>
  519. </Button>
  520. <Button Content="Unload" Margin="15,0,0,0" Width="55" Height="25" IsEnabled="{Binding EnableUnloadLP2}">
  521. <i:Interaction.Triggers>
  522. <i:EventTrigger EventName="Click">
  523. <cal:ActionMessage MethodName="UnloadLP">
  524. <cal:Parameter Value="{Binding FOUPB.ModuleID}"></cal:Parameter>
  525. </cal:ActionMessage>
  526. </i:EventTrigger>
  527. </i:Interaction.Triggers>
  528. </Button>
  529. </StackPanel>
  530. </StackPanel>
  531. </StackPanel>
  532. </TabItem>
  533. <TabItem Header="{Binding LP1WaferAssociation.ModuleData.ModuleID}">
  534. <waferAssociation:WaferAssociationUnit WAInfo="{Binding LP1WaferAssociation}" IsEnabled="{Binding EnableJobLP1}"></waferAssociation:WaferAssociationUnit>
  535. </TabItem>
  536. <TabItem Header="{Binding LP2WaferAssociation.ModuleData.ModuleID}">
  537. <waferAssociation:WaferAssociationUnit WAInfo="{Binding LP2WaferAssociation}" IsEnabled="{Binding EnableJobLP2}"></waferAssociation:WaferAssociationUnit>
  538. </TabItem>
  539. </TabControl>
  540. <Grid Grid.Column="2" Width="200" Background="White" Margin="10,-1,0,-1">
  541. <Grid.RowDefinitions>
  542. <RowDefinition Height="30"/>
  543. <RowDefinition Height="Auto"/>
  544. <RowDefinition Height="30"/>
  545. <RowDefinition Height="Auto" />
  546. <RowDefinition Height="30"/>
  547. <RowDefinition />
  548. </Grid.RowDefinitions>
  549. <Border Grid.Row="0" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  550. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  551. <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">
  552. <Path.RenderTransform>
  553. <TransformGroup>
  554. <ScaleTransform/>
  555. <SkewTransform/>
  556. <RotateTransform Angle="45"/>
  557. <TranslateTransform/>
  558. </TransformGroup>
  559. </Path.RenderTransform>
  560. </Path>
  561. <TextBlock Margin="5,0,0,0" Text="Wafer Status" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  562. </StackPanel>
  563. </Border>
  564. <Border Grid.Row="1" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  565. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  566. <Grid Width="180" Height="20" HorizontalAlignment="Left">
  567. <Grid.ColumnDefinitions>
  568. <ColumnDefinition Width="40"/>
  569. <ColumnDefinition />
  570. </Grid.ColumnDefinitions>
  571. <Rectangle Fill="Gold" Stroke="Black" StrokeThickness="1"/>
  572. <TextBlock Text="Idle / Unselected" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  573. </Grid>
  574. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  575. <Grid.ColumnDefinitions>
  576. <ColumnDefinition Width="40"/>
  577. <ColumnDefinition Width="6*" />
  578. <ColumnDefinition Width="29*"/>
  579. </Grid.ColumnDefinitions>
  580. <Rectangle Fill="Blue" Stroke="Black" StrokeThickness="1"/>
  581. <TextBlock Text="Idle / Job Selected" Grid.Column="1" Margin="10,2,0,1" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center" Grid.ColumnSpan="2"/>
  582. </Grid>
  583. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  584. <Grid.ColumnDefinitions>
  585. <ColumnDefinition Width="40"/>
  586. <ColumnDefinition />
  587. </Grid.ColumnDefinitions>
  588. <Rectangle Fill="Cyan" Stroke="Black" StrokeThickness="1"/>
  589. <TextBlock Text="In Process" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  590. </Grid>
  591. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  592. <Grid.ColumnDefinitions>
  593. <ColumnDefinition Width="40"/>
  594. <ColumnDefinition />
  595. </Grid.ColumnDefinitions>
  596. <Rectangle Fill="LimeGreen" Stroke="Black" StrokeThickness="1"/>
  597. <TextBlock Text="Process Complete" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  598. </Grid>
  599. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  600. <Grid.ColumnDefinitions>
  601. <ColumnDefinition Width="40"/>
  602. <ColumnDefinition />
  603. </Grid.ColumnDefinitions>
  604. <Rectangle Fill="Red" Stroke="Black" StrokeThickness="1"/>
  605. <TextBlock Text="Error" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  606. </Grid>
  607. </StackPanel>
  608. </Border>
  609. <Border Grid.Row="2" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  610. </Border>
  611. <Border Grid.Row="3" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  612. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,8">
  613. <Grid>
  614. <Grid.ColumnDefinitions>
  615. <ColumnDefinition Width="0"/>
  616. <ColumnDefinition />
  617. </Grid.ColumnDefinitions>
  618. <deviceControl:AITSensor Margin="-30,0,5,0" GreenColor="True" LightOnValue="{Binding IsRtInitialized}"></deviceControl:AITSensor>
  619. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="初始化" Width="120" Height="25">
  620. <i:Interaction.Triggers>
  621. <i:EventTrigger EventName="Click">
  622. <cal:ActionMessage MethodName="HomeAll">
  623. </cal:ActionMessage>
  624. </i:EventTrigger>
  625. </i:Interaction.Triggers>
  626. </Button>
  627. </Grid>
  628. <Grid Margin="0,8,0,0">
  629. <Grid.ColumnDefinitions>
  630. <ColumnDefinition Width="0"/>
  631. <ColumnDefinition />
  632. </Grid.ColumnDefinitions>
  633. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="终止" Width="120" Height="25">
  634. <i:Interaction.Triggers>
  635. <i:EventTrigger EventName="Click">
  636. <cal:ActionMessage MethodName="Abort">
  637. </cal:ActionMessage>
  638. </i:EventTrigger>
  639. </i:Interaction.Triggers>
  640. </Button>
  641. </Grid>
  642. <Grid Margin="0,8,0,0">
  643. <Grid.ColumnDefinitions>
  644. <ColumnDefinition Width="0"/>
  645. <ColumnDefinition />
  646. </Grid.ColumnDefinitions>
  647. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="全部暂停" Width="120" Height="25" IsEnabled="{Binding IsPauseAllEnable}">
  648. <i:Interaction.Triggers>
  649. <i:EventTrigger EventName="Click">
  650. <cal:ActionMessage MethodName="PauseAllJob">
  651. </cal:ActionMessage>
  652. </i:EventTrigger>
  653. </i:Interaction.Triggers>
  654. </Button>
  655. </Grid>
  656. <Grid Margin="0,8,0,0">
  657. <Grid.ColumnDefinitions>
  658. <ColumnDefinition Width="0"/>
  659. <ColumnDefinition />
  660. </Grid.ColumnDefinitions>
  661. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="晶圆返回" Width="120" Height="25">
  662. <i:Interaction.Triggers>
  663. <i:EventTrigger EventName="Click">
  664. <cal:ActionMessage MethodName="ReturnAllWafer">
  665. </cal:ActionMessage>
  666. </i:EventTrigger>
  667. </i:Interaction.Triggers>
  668. </Button>
  669. </Grid>
  670. </StackPanel>
  671. </Border>
  672. <Border Grid.Row="4" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  673. </Border>
  674. <Border Grid.Row="5" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  675. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  676. <Button Style="{StaticResource BtnControl}" IsEnabled="{Binding EnableAuto}" Margin ="5" Content="自动" Width="80" Height="25">
  677. <i:Interaction.Triggers>
  678. <i:EventTrigger EventName="Click">
  679. <cal:ActionMessage MethodName="Auto">
  680. </cal:ActionMessage>
  681. </i:EventTrigger>
  682. </i:Interaction.Triggers>
  683. </Button>
  684. <Button Style="{StaticResource BtnControl}" IsEnabled="{Binding EnableManual}" Margin ="5" Content="手动" Width="80" Height="25">
  685. <i:Interaction.Triggers>
  686. <i:EventTrigger EventName="Click">
  687. <cal:ActionMessage MethodName="Manual">
  688. </cal:ActionMessage>
  689. </i:EventTrigger>
  690. </i:Interaction.Triggers>
  691. </Button>
  692. <Grid x:Name="LP1Cycle_Info" Visibility="{Binding IsCycleInfoVisibility}" Margin="0,10,0,0">
  693. <Grid.ColumnDefinitions>
  694. <ColumnDefinition Width="90"/>
  695. <ColumnDefinition Width="70"/>
  696. </Grid.ColumnDefinitions>
  697. <Grid.RowDefinitions>
  698. <RowDefinition Height="25"/>
  699. <RowDefinition Height="24"/>
  700. <RowDefinition Height="24"/>
  701. </Grid.RowDefinitions>
  702. <TextBlock Grid.ColumnSpan="2" Text="LP1Cycle 信息" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  703. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  704. <TextBlock Text="跑片数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  705. </Border>
  706. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  707. <TextBlock Text="{Binding LP1CycledWafer}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  708. </Border>
  709. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  710. <TextBlock Text="Cycle数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  711. </Border>
  712. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  713. <TextBlock Text="{Binding LP1CycleCountDisplay}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  714. </Border>
  715. </Grid>
  716. <Grid x:Name="LP2Cycle_Info" Visibility="{Binding IsCycleInfoVisibility}" Margin="0,10,0,0">
  717. <Grid.ColumnDefinitions>
  718. <ColumnDefinition Width="90"/>
  719. <ColumnDefinition Width="70"/>
  720. </Grid.ColumnDefinitions>
  721. <Grid.RowDefinitions>
  722. <RowDefinition Height="25"/>
  723. <RowDefinition Height="24"/>
  724. <RowDefinition Height="24"/>
  725. </Grid.RowDefinitions>
  726. <TextBlock Grid.ColumnSpan="2" Text="LP2Cycle 信息" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  727. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  728. <TextBlock Text="跑片数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  729. </Border>
  730. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  731. <TextBlock Text="{Binding LP2CycledWafer}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  732. </Border>
  733. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  734. <TextBlock Text="Cycle数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  735. </Border>
  736. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  737. <TextBlock Text="{Binding LP2CycleCountDisplay}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  738. </Border>
  739. </Grid>
  740. <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}"/>
  741. </StackPanel>
  742. </Border>
  743. </Grid>
  744. </Grid>
  745. </ScrollViewer>
  746. </UserControl>