OverView.xaml 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  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" Wafer1="{Binding EfemRobotWafer2}" Wafer2="{Binding EfemRobotWafer1}" RobotMoveInfo="{Binding EfemRobotMoveInfo}"/>-->
  54. <parts1:EFEMTopView Height="545" Width="502" Canvas.Left="438" Canvas.Top="85"></parts1:EFEMTopView>
  55. <local:EFEMFrontView UnitData="{Binding EFEM}" Canvas.Left="355" Canvas.Top="324" />
  56. <Grid x:Name="PMA_Info" Canvas.Top="10" Canvas.Left="89">
  57. <Grid.ColumnDefinitions>
  58. <ColumnDefinition Width="100"/>
  59. <ColumnDefinition Width="170"/>
  60. </Grid.ColumnDefinitions>
  61. <Grid.RowDefinitions>
  62. <RowDefinition Height="Auto"/>
  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. <RowDefinition Height="24"/>
  70. </Grid.RowDefinitions>
  71. <TextBlock Grid.ColumnSpan="2" Text="腔体A" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  72. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  73. <TextBlock Text="状态" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  74. </Border>
  75. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  76. <TextBlock Text="{Binding PMAServiceStatus}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  77. </Border>
  78. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  79. <TextBlock Text="工艺名称" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  80. </Border>
  81. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  82. <TextBlock Text="{Binding PMARecipeName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  83. </Border>
  84. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="3" Padding="5,1">
  85. <TextBlock Text="工艺步数" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  86. </Border>
  87. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="3" Grid.Column="1" Padding="5,1">
  88. <TextBlock Text="{Binding PMAStepNo}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  89. </Border>
  90. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="4" Padding="5,1">
  91. <TextBlock Text="工艺步名" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  92. </Border>
  93. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="4" Grid.Column="1" Padding="5,1">
  94. <TextBlock Text="{Binding PMAStepName}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  95. </Border>
  96. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="5" Padding="5,1">
  97. <TextBlock Text="运行时间" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  98. </Border>
  99. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="5" Grid.Column="1" Padding="5,1">
  100. <TextBlock Text="{Binding PMARemainTime}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  101. </Border>
  102. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="6" Padding="5,1">
  103. <TextBlock Text="压力 (mTorr)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  104. </Border>
  105. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="6" Grid.Column="1" Padding="5,1">
  106. <TextBlock Text="{Binding PMAChamberPressure, StringFormat={}{0:F0}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  107. </Border>
  108. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="7" Padding="5,1">
  109. <TextBlock Text="温度 (℃)" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  110. </Border>
  111. <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">
  112. <TextBlock Text="{Binding PMATemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  113. </Border>
  114. <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">
  115. <TextBlock Text="{Binding PMAChillerTemperature, StringFormat={}{0:F1}}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  116. </Border>
  117. </Grid>
  118. <!--<Canvas Visibility="{Binding CassetteDoorVisibility}" Canvas.Left="190">-->
  119. <Canvas Canvas.Left="190">
  120. <StackPanel Canvas.Left="372" Canvas.Top="625">
  121. <StackPanel.RenderTransform>
  122. <TransformGroup>
  123. <ScaleTransform/>
  124. <SkewTransform/>
  125. <RotateTransform/>
  126. <TranslateTransform/>
  127. </TransformGroup>
  128. </StackPanel.RenderTransform>
  129. <StackPanel.Resources>
  130. <Storyboard x:Key="CoverOpen">
  131. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  132. <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
  133. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="60"/>
  134. </DoubleAnimationUsingKeyFrames>
  135. </Storyboard>
  136. <Storyboard x:Key="CoverClose">
  137. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  138. <EasingDoubleKeyFrame KeyTime="0" Value="60"/>
  139. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0"/>
  140. </DoubleAnimationUsingKeyFrames>
  141. </Storyboard>
  142. </StackPanel.Resources>
  143. <StackPanel.Style>
  144. <Style>
  145. <Style.Triggers>
  146. <DataTrigger Binding="{Binding CassetteDoorStatus,Converter={StaticResource enum2BoolConverter}}" Value="false">
  147. <DataTrigger.EnterActions>
  148. <BeginStoryboard Storyboard="{StaticResource CoverOpen}"/>
  149. </DataTrigger.EnterActions>
  150. <DataTrigger.ExitActions>
  151. <BeginStoryboard Storyboard="{StaticResource CoverClose}"/>
  152. </DataTrigger.ExitActions>
  153. </DataTrigger>
  154. </Style.Triggers>
  155. </Style>
  156. </StackPanel.Style>
  157. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource FOUP_OuterBG}" Height="8" Width="150"></Border>
  158. </StackPanel>
  159. <StackPanel Canvas.Left="672" Canvas.Top="633">
  160. <StackPanel.RenderTransform>
  161. <TransformGroup>
  162. <ScaleTransform/>
  163. <SkewTransform/>
  164. <RotateTransform Angle="180" />
  165. <TranslateTransform/>
  166. </TransformGroup>
  167. </StackPanel.RenderTransform>
  168. <StackPanel.Resources>
  169. <Storyboard x:Key="CoverOpen">
  170. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  171. <EasingDoubleKeyFrame KeyTime="0" Value="180"/>
  172. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="120"/>
  173. </DoubleAnimationUsingKeyFrames>
  174. </Storyboard>
  175. <Storyboard x:Key="CoverClose">
  176. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
  177. <EasingDoubleKeyFrame KeyTime="0" Value="120"/>
  178. <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="180"/>
  179. </DoubleAnimationUsingKeyFrames>
  180. </Storyboard>
  181. </StackPanel.Resources>
  182. <StackPanel.Style>
  183. <Style>
  184. <Style.Triggers>
  185. <DataTrigger Binding="{Binding CassetteDoorStatus,Converter={StaticResource enum2BoolConverter}}" Value="false">
  186. <DataTrigger.EnterActions>
  187. <BeginStoryboard Storyboard="{StaticResource CoverOpen}"/>
  188. </DataTrigger.EnterActions>
  189. <DataTrigger.ExitActions>
  190. <BeginStoryboard Storyboard="{StaticResource CoverClose}"/>
  191. </DataTrigger.ExitActions>
  192. </DataTrigger>
  193. </Style.Triggers>
  194. </Style>
  195. </StackPanel.Style>
  196. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource FOUP_OuterBG}" Height="8" Width="150"></Border>
  197. </StackPanel>
  198. <StackPanel Canvas.Left="445" Canvas.Top="645" Visibility="{Binding CassetteDoorIsOpened}">
  199. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="Yellow">
  200. <TextBlock Text=" Cassette Door Opened " TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  201. </Border>
  202. </StackPanel>
  203. </Canvas>
  204. <StackPanel Canvas.Left="89" Canvas.Top="355" >
  205. <StackPanel Visibility="Hidden" >
  206. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  207. <TextBlock Text="LP1 Wafer Thickness" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  208. </Border>
  209. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  210. <TextBlock Text="{Binding WaferThicknessLP1}" TextWrapping="Wrap" HorizontalAlignment="Center" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  211. </Border>
  212. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  213. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,5" Visibility="{Binding ThicknessVisibility}">
  214. <Button Content="厚片" Width="60" Height="25" IsEnabled="{Binding EnableThickLP1}">
  215. <i:Interaction.Triggers>
  216. <i:EventTrigger EventName="Click">
  217. <cal:ActionMessage MethodName="SetThick">
  218. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  219. </cal:ActionMessage>
  220. </i:EventTrigger>
  221. </i:Interaction.Triggers>
  222. </Button>
  223. <Button Content="薄片" Margin="15,0,0,0" Width="60" Height="25" IsEnabled="{Binding EnableThinLP1}">
  224. <i:Interaction.Triggers>
  225. <i:EventTrigger EventName="Click">
  226. <cal:ActionMessage MethodName="SetThin">
  227. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  228. </cal:ActionMessage>
  229. </i:EventTrigger>
  230. </i:Interaction.Triggers>
  231. </Button>
  232. </StackPanel>
  233. </Border>
  234. </StackPanel>
  235. <StackPanel Margin="0 0 0 20" >
  236. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  237. <TextBlock Text="LP1 Wafer Size" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  238. </Border>
  239. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  240. <TextBlock Text="{Binding WaferSizeLP1}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  241. </Border>
  242. </StackPanel>
  243. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  244. <TextBlock Text="LP1 Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  245. </Border>
  246. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{Binding LP1StatusColor[0]}" Padding="5,1">
  247. <TextBlock Text="{Binding LP1ProcStatus}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{Binding LP1StatusColor[1]}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  248. </Border>
  249. </StackPanel>
  250. <StackPanel Canvas.Left="89" Canvas.Top="550" >
  251. <StackPanel >
  252. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  253. <TextBlock Text="LP1" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  254. </Border>
  255. </StackPanel>
  256. <StackPanel >
  257. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  258. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,5" >
  259. <Button Content="暂停" Width="60" Height="25" >
  260. <i:Interaction.Triggers>
  261. <i:EventTrigger EventName="Click">
  262. <cal:ActionMessage MethodName="Pause">
  263. <cal:Parameter Value="{Binding LP1WaferAssociation.JobID}"></cal:Parameter>
  264. </cal:ActionMessage>
  265. </i:EventTrigger>
  266. </i:Interaction.Triggers>
  267. </Button>
  268. <Button Content="继续" Margin="15,0,0,0" Width="60" Height="25" >
  269. <i:Interaction.Triggers>
  270. <i:EventTrigger EventName="Click">
  271. <cal:ActionMessage MethodName="Resume">
  272. <cal:Parameter Value="{Binding LP1WaferAssociation.JobID}"></cal:Parameter>
  273. </cal:ActionMessage>
  274. </i:EventTrigger>
  275. </i:Interaction.Triggers>
  276. </Button>
  277. </StackPanel>
  278. </Border>
  279. </StackPanel>
  280. </StackPanel>
  281. <StackPanel Canvas.Left="89" Canvas.Top="217" Width="200" Height="180" Visibility="{Binding SmartTagVisibility}" CanVerticallyScroll="True">
  282. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  283. <TextBlock Text="LP1 SmartTag" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  284. </Border>
  285. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1" >
  286. <ScrollViewer VerticalScrollBarVisibility="Auto" Height="150">
  287. <TextBlock Text="{Binding SmartTagLP1}" TextWrapping="Wrap" HorizontalAlignment="Left" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center" ScrollViewer.VerticalScrollBarVisibility="Visible"/>
  288. </ScrollViewer>
  289. </Border>
  290. </StackPanel>
  291. <!--<TextBlock Text="{Binding PMBState}" Canvas.Left="585" Canvas.Top="15"></TextBlock>-->
  292. <TextBlock Text="{Binding PMAState}" Canvas.Left="658" Canvas.Top="15"></TextBlock>
  293. <TextBlock Text="{Binding WaferSizeCooling1}" Canvas.Left="589" Canvas.Top="352" FontWeight="Bold" FontSize="14" />
  294. <!--<TextBlock Text="{Binding WaferSizeCooling2}" Canvas.Left="395" Canvas.Top="275" FontWeight="Bold" FontSize="14" />
  295. <TextBlock Text="{Binding WaferSizeAligner1}" Canvas.Left="640" Canvas.Top="379" FontWeight="Bold" FontSize="14" />
  296. <TextBlock Text="{Binding WaferSizeAligner2}" Canvas.Left="640" Canvas.Top="275" FontWeight="Bold" FontSize="14" />-->
  297. <TextBlock Text="{Binding WaferSizeEfemRobot}" Canvas.Left="494" Canvas.Top="392" FontWeight="Bold" FontSize="14" />
  298. <TextBlock Text="{Binding WaferSizeEfemRobot1}" Canvas.Left="494" Canvas.Top="365" FontWeight="Bold" FontSize="14" />
  299. <TextBlock Text="{Binding WaferSizePMA}" Canvas.Left="709" Canvas.Top="62" FontWeight="Bold" FontSize="14" />
  300. <!--<TextBlock Text="{Binding WaferSizePMB}" Canvas.Left="663" Canvas.Top="109" FontWeight="Bold" FontSize="14" />-->
  301. </Canvas>
  302. </Grid>
  303. <TabControl Grid.Column="1" Margin="0,5">
  304. <TabItem Header="料盒">
  305. <StackPanel Orientation="Horizontal">
  306. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="10,0">
  307. <StackPanel>
  308. <local:FOUPFrontView UnitData="{Binding FOUPA}" VerticalAlignment="Top"></local:FOUPFrontView>
  309. <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">
  310. </TextBlock>
  311. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Visibility="{Binding MapVisibility}">
  312. <Button Content="扫片" Width="75" Height="25" IsEnabled="{Binding EnableMapLP1}">
  313. <i:Interaction.Triggers>
  314. <i:EventTrigger EventName="Click">
  315. <cal:ActionMessage MethodName="MapLP">
  316. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  317. </cal:ActionMessage>
  318. </i:EventTrigger>
  319. </i:Interaction.Triggers>
  320. </Button>
  321. </StackPanel>
  322. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Visibility="{Binding LoadUnloadVisibility}">
  323. <Button Content="Load" Width="60" Height="25" IsEnabled="{Binding EnableLoadLP1}">
  324. <i:Interaction.Triggers>
  325. <i:EventTrigger EventName="Click">
  326. <cal:ActionMessage MethodName="LoadLP">
  327. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  328. </cal:ActionMessage>
  329. </i:EventTrigger>
  330. </i:Interaction.Triggers>
  331. </Button>
  332. <Button Content="Unload" Margin="15,0,0,0" Width="60" Height="25" IsEnabled="{Binding EnableUnloadLP1}">
  333. <i:Interaction.Triggers>
  334. <i:EventTrigger EventName="Click">
  335. <cal:ActionMessage MethodName="UnloadLP">
  336. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  337. </cal:ActionMessage>
  338. </i:EventTrigger>
  339. </i:Interaction.Triggers>
  340. </Button>
  341. </StackPanel>
  342. </StackPanel>
  343. </StackPanel>
  344. <waferAssociation:WaferAssociationUnit WAInfo="{Binding LP1WaferAssociation}" IsEnabled="{Binding EnableJobLP1}"></waferAssociation:WaferAssociationUnit>
  345. </StackPanel>
  346. </TabItem>
  347. <!--<TabItem Header="{Binding LP1WaferAssociation.ModuleData.ModuleID}">
  348. </TabItem>-->
  349. </TabControl>
  350. <Grid Grid.Column="2" Width="200" Background="White" Margin="10,-1,0,-1">
  351. <Grid.RowDefinitions>
  352. <RowDefinition Height="30"/>
  353. <RowDefinition Height="Auto"/>
  354. <RowDefinition Height="30"/>
  355. <RowDefinition Height="Auto" />
  356. <RowDefinition Height="30"/>
  357. <RowDefinition />
  358. </Grid.RowDefinitions>
  359. <Border Grid.Row="0" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  360. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  361. <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">
  362. <Path.RenderTransform>
  363. <TransformGroup>
  364. <ScaleTransform/>
  365. <SkewTransform/>
  366. <RotateTransform Angle="45"/>
  367. <TranslateTransform/>
  368. </TransformGroup>
  369. </Path.RenderTransform>
  370. </Path>
  371. <TextBlock Margin="5,0,0,0" Text="Wafer Status" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  372. </StackPanel>
  373. </Border>
  374. <Border Grid.Row="1" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  375. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  376. <Grid Width="180" Height="20" HorizontalAlignment="Left">
  377. <Grid.ColumnDefinitions>
  378. <ColumnDefinition Width="40"/>
  379. <ColumnDefinition />
  380. </Grid.ColumnDefinitions>
  381. <Rectangle Fill="Gold" Stroke="Black" StrokeThickness="1"/>
  382. <TextBlock Text="Idle / Unselected" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  383. </Grid>
  384. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  385. <Grid.ColumnDefinitions>
  386. <ColumnDefinition Width="40"/>
  387. <ColumnDefinition Width="6*" />
  388. <ColumnDefinition Width="29*"/>
  389. </Grid.ColumnDefinitions>
  390. <Rectangle Fill="Blue" Stroke="Black" StrokeThickness="1"/>
  391. <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"/>
  392. </Grid>
  393. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  394. <Grid.ColumnDefinitions>
  395. <ColumnDefinition Width="40"/>
  396. <ColumnDefinition />
  397. </Grid.ColumnDefinitions>
  398. <Rectangle Fill="Cyan" Stroke="Black" StrokeThickness="1"/>
  399. <TextBlock Text="In Process" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  400. </Grid>
  401. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  402. <Grid.ColumnDefinitions>
  403. <ColumnDefinition Width="40"/>
  404. <ColumnDefinition />
  405. </Grid.ColumnDefinitions>
  406. <Rectangle Fill="LimeGreen" Stroke="Black" StrokeThickness="1"/>
  407. <TextBlock Text="Process Complete" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  408. </Grid>
  409. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  410. <Grid.ColumnDefinitions>
  411. <ColumnDefinition Width="40"/>
  412. <ColumnDefinition />
  413. </Grid.ColumnDefinitions>
  414. <Rectangle Fill="Red" Stroke="Black" StrokeThickness="1"/>
  415. <TextBlock Text="Error" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  416. </Grid>
  417. </StackPanel>
  418. </Border>
  419. <Border Grid.Row="2" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  420. </Border>
  421. <Border Grid.Row="3" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  422. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,8">
  423. <Grid>
  424. <Grid.ColumnDefinitions>
  425. <ColumnDefinition Width="0"/>
  426. <ColumnDefinition />
  427. </Grid.ColumnDefinitions>
  428. <deviceControl:AITSensor Margin="-30,0,5,0" GreenColor="True" LightOnValue="{Binding IsRtInitialized}"></deviceControl:AITSensor>
  429. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="初始化" Width="120" Height="25">
  430. <i:Interaction.Triggers>
  431. <i:EventTrigger EventName="Click">
  432. <cal:ActionMessage MethodName="HomeAll">
  433. </cal:ActionMessage>
  434. </i:EventTrigger>
  435. </i:Interaction.Triggers>
  436. </Button>
  437. </Grid>
  438. <Grid Margin="0,8,0,0">
  439. <Grid.ColumnDefinitions>
  440. <ColumnDefinition Width="0"/>
  441. <ColumnDefinition />
  442. </Grid.ColumnDefinitions>
  443. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="终止" Width="120" Height="25">
  444. <i:Interaction.Triggers>
  445. <i:EventTrigger EventName="Click">
  446. <cal:ActionMessage MethodName="Abort">
  447. </cal:ActionMessage>
  448. </i:EventTrigger>
  449. </i:Interaction.Triggers>
  450. </Button>
  451. </Grid>
  452. <Grid Margin="0,8,0,0">
  453. <Grid.ColumnDefinitions>
  454. <ColumnDefinition Width="0"/>
  455. <ColumnDefinition />
  456. </Grid.ColumnDefinitions>
  457. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="全部暂停" Width="120" Height="25" IsEnabled="{Binding IsPauseAllEnable}">
  458. <i:Interaction.Triggers>
  459. <i:EventTrigger EventName="Click">
  460. <cal:ActionMessage MethodName="PauseAllJob">
  461. </cal:ActionMessage>
  462. </i:EventTrigger>
  463. </i:Interaction.Triggers>
  464. </Button>
  465. </Grid>
  466. <Grid Margin="0,8,0,0">
  467. <Grid.ColumnDefinitions>
  468. <ColumnDefinition Width="0"/>
  469. <ColumnDefinition />
  470. </Grid.ColumnDefinitions>
  471. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="晶圆返回" Width="120" Height="25">
  472. <i:Interaction.Triggers>
  473. <i:EventTrigger EventName="Click">
  474. <cal:ActionMessage MethodName="ReturnAllWafer">
  475. </cal:ActionMessage>
  476. </i:EventTrigger>
  477. </i:Interaction.Triggers>
  478. </Button>
  479. </Grid>
  480. </StackPanel>
  481. </Border>
  482. <Border Grid.Row="4" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  483. </Border>
  484. <Border Grid.Row="5" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  485. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  486. <Button Style="{StaticResource BtnControl}" IsEnabled="{Binding EnableAuto}" Margin ="5" Content="自动" Width="80" Height="25">
  487. <i:Interaction.Triggers>
  488. <i:EventTrigger EventName="Click">
  489. <cal:ActionMessage MethodName="Auto">
  490. </cal:ActionMessage>
  491. </i:EventTrigger>
  492. </i:Interaction.Triggers>
  493. </Button>
  494. <Button Style="{StaticResource BtnControl}" IsEnabled="{Binding EnableManual}" Margin ="5" Content="手动" Width="80" Height="25">
  495. <i:Interaction.Triggers>
  496. <i:EventTrigger EventName="Click">
  497. <cal:ActionMessage MethodName="Manual">
  498. </cal:ActionMessage>
  499. </i:EventTrigger>
  500. </i:Interaction.Triggers>
  501. </Button>
  502. <Grid x:Name="LP1Cycle_Info" Visibility="{Binding IsCycleInfoVisibility}" Margin="0,10,0,0">
  503. <Grid.ColumnDefinitions>
  504. <ColumnDefinition Width="90"/>
  505. <ColumnDefinition Width="70"/>
  506. </Grid.ColumnDefinitions>
  507. <Grid.RowDefinitions>
  508. <RowDefinition Height="25"/>
  509. <RowDefinition Height="24"/>
  510. <RowDefinition Height="24"/>
  511. </Grid.RowDefinitions>
  512. <TextBlock Grid.ColumnSpan="2" Text="LP1Cycle 信息" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  513. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  514. <TextBlock Text="跑片数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  515. </Border>
  516. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  517. <TextBlock Text="{Binding LP1CycledWafer}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  518. </Border>
  519. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  520. <TextBlock Text="Cycle数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  521. </Border>
  522. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  523. <TextBlock Text="{Binding LP1CycleCountDisplay}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  524. </Border>
  525. </Grid>
  526. <!--<Grid x:Name="LP2Cycle_Info" Visibility="{Binding IsCycleInfoVisibility}" Margin="0,10,0,0">
  527. <Grid.ColumnDefinitions>
  528. <ColumnDefinition Width="90"/>
  529. <ColumnDefinition Width="70"/>
  530. </Grid.ColumnDefinitions>
  531. <Grid.RowDefinitions>
  532. <RowDefinition Height="25"/>
  533. <RowDefinition Height="24"/>
  534. <RowDefinition Height="24"/>
  535. </Grid.RowDefinitions>
  536. <TextBlock Grid.ColumnSpan="2" Text="LP2Cycle 信息" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  537. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  538. <TextBlock Text="跑片数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  539. </Border>
  540. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  541. <TextBlock Text="{Binding LP2CycledWafer}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  542. </Border>
  543. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  544. <TextBlock Text="Cycle数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  545. </Border>
  546. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  547. <TextBlock Text="{Binding LP2CycleCountDisplay}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  548. </Border>
  549. </Grid>-->
  550. <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}"/>
  551. </StackPanel>
  552. </Border>
  553. </Grid>
  554. </Grid>
  555. </ScrollViewer>
  556. </UserControl>