OverView.xaml 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  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"
  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="410"/>
  48. <ColumnDefinition Width="Auto"/>
  49. </Grid.ColumnDefinitions>
  50. <Grid Grid.Column="0" IsEnabled="{Binding PageEnabled}">
  51. <Viewbox Width="940" >
  52. <Canvas VerticalAlignment="Top" HorizontalAlignment="Center" Width="1050" Height="700" Margin="0,0">
  53. <Canvas Height="700" Width="1013" Canvas.Left="37" Canvas.Top="10">
  54. <Viewbox Height="528" Width="670" Canvas.Left="135" Canvas.Top="81">
  55. <parts1:Efem x:Name="mf" Canvas.Left="70" Canvas.Top="15" Height="608" Width="796"/>
  56. </Viewbox>
  57. <Label Content="{Binding EfemRobotMoveInfo}" Canvas.Left="460" Canvas.Top="296" Foreground="LightPink" FontSize="30">
  58. </Label>
  59. <local:EFEMFrontView UnitData="{Binding EFEM}" Canvas.Top="242" Canvas.Left="48" />
  60. <Grid x:Name="PMA_Info" Canvas.Top="3" Canvas.Left="-4">
  61. <Grid.ColumnDefinitions>
  62. <ColumnDefinition Width="120"/>
  63. <ColumnDefinition Width="150"/>
  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="PMA" 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="State" 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="Recipe Name" 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="Step No." 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="Step Name" 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="Elapsed Time(s)" 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="Pressure (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="Heater (℃)" 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="693">
  123. <Grid.ColumnDefinitions>
  124. <ColumnDefinition Width="120"/>
  125. <ColumnDefinition Width="150"/>
  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="PMB" 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="State" 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="Recipe Name" 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="Step No." 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="Step Name" 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="Elapsed Time(s)" 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="Pressure (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="Heater (℃)" 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. <local:FOUPFrontView UnitData="{Binding Buffer}" Visibility="{Binding Path=IsBufferIntalled, Converter={StaticResource bool2VisibilityConvert}}" VerticalAlignment="Top" Canvas.Left="777" Canvas.Top="247"></local:FOUPFrontView>
  185. <StackPanel Canvas.Left="361" Canvas.Top="571" Visibility="{Binding Foup1Visibility}">
  186. <!--<Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  187. <TextBlock Text="LP1 Wafer Size" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  188. </Border>
  189. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  190. <TextBlock Text="{Binding WaferSizeLP1}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  191. </Border>-->
  192. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  193. <TextBlock Text="LP1 Status" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  194. </Border>
  195. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{Binding LP1StatusColor[0]}" Padding="5,1">
  196. <TextBlock Text="{Binding LP1ProcStatus}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{Binding LP1StatusColor[1]}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  197. </Border>
  198. </StackPanel>
  199. <StackPanel Canvas.Left="516" Canvas.Top="571" Visibility="{Binding Foup2Visibility}">
  200. <!--<Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  201. <TextBlock Text="LP2 Wafer Size" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  202. </Border>
  203. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  204. <TextBlock Text="{Binding WaferSizeLP2}" HorizontalAlignment="Center" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  205. </Border>-->
  206. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Title}" Padding="5,1">
  207. <TextBlock Text="LP2 Status" 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="{Binding LP2StatusColor[0]}" Padding="5,1">
  210. <TextBlock Text="{Binding LP2ProcStatus}" TextWrapping="Wrap" HorizontalAlignment="Center" Foreground="{Binding LP2StatusColor[1]}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  211. </Border>
  212. </StackPanel>
  213. <TextBlock Text="{Binding PMBState}" Canvas.Left="535" Canvas.Top="105" Visibility="{Binding IsPMBInstalled, Converter={StaticResource bool2VisibilityConvert}}"></TextBlock>
  214. <TextBlock Text="{Binding PMAState}" Canvas.Left="320" Canvas.Top="105" Visibility="{Binding IsPMAInstalled, Converter={StaticResource bool2VisibilityConvert}}"></TextBlock>
  215. </Canvas>
  216. </Canvas>
  217. </Viewbox>
  218. <Image HorizontalAlignment="Left" Height="100" Margin="754,643,0,0" VerticalAlignment="Top" Width="100"/>
  219. </Grid>
  220. <TabControl Grid.Column="1" Margin="0,5,0,85">
  221. <TabItem Header="{Binding LP1WaferAssociation.ModuleData.ModuleID}" Visibility="{Binding IsLP1Visibility}">
  222. <Grid IsEnabled="{Binding PageEnabled}">
  223. <Grid.ColumnDefinitions>
  224. <ColumnDefinition Width="170"/>
  225. <ColumnDefinition Width="*"/>
  226. </Grid.ColumnDefinitions>
  227. <Grid.RowDefinitions>
  228. <RowDefinition Height="*"/>
  229. </Grid.RowDefinitions>
  230. <waferAssociation:WaferAssociationUnit Grid.Column="1" Grid.Row="0" WAInfo="{Binding LP1WaferAssociation}" IsEnabled="{Binding EnableJobLP1}"></waferAssociation:WaferAssociationUnit>
  231. <StackPanel>
  232. <local:FOUPFrontView UnitData="{Binding FOUPA}" VerticalAlignment="Top" Margin="0 30 0 0"></local:FOUPFrontView>
  233. <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">
  234. </TextBlock>
  235. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Visibility="{Binding MapVisibility}">
  236. <Button Content="Map" Width="75" Height="25" IsEnabled="{Binding EnableMapLP1}">
  237. <i:Interaction.Triggers>
  238. <i:EventTrigger EventName="Click">
  239. <cal:ActionMessage MethodName="MapLP">
  240. <cal:Parameter Value="{Binding FOUPA.ModuleID}"></cal:Parameter>
  241. </cal:ActionMessage>
  242. </i:EventTrigger>
  243. </i:Interaction.Triggers>
  244. </Button>
  245. </StackPanel>
  246. <StackPanel Orientation="Horizontal">
  247. <Button Content="Load" Width="75" Height="25" IsEnabled="{Binding EnableLoadLP1}" Visibility="{Binding LoadVisibility}">
  248. <i:Interaction.Triggers>
  249. <i:EventTrigger EventName="Click">
  250. <cal:ActionMessage MethodName="LoadLP">
  251. <cal:Parameter Value="LP1"></cal:Parameter>
  252. </cal:ActionMessage>
  253. </i:EventTrigger>
  254. </i:Interaction.Triggers>
  255. </Button>
  256. <Button Content="UnLoad" Width="75" Height="25" IsEnabled="{Binding EnableUnloadLP1}" Visibility="{Binding LoadVisibility}">
  257. <i:Interaction.Triggers>
  258. <i:EventTrigger EventName="Click">
  259. <cal:ActionMessage MethodName="UnloadLP">
  260. <cal:Parameter Value="LP1"></cal:Parameter>
  261. </cal:ActionMessage>
  262. </i:EventTrigger>
  263. </i:Interaction.Triggers>
  264. </Button>
  265. </StackPanel>
  266. </StackPanel>
  267. </Grid>
  268. </TabItem>
  269. <TabItem Header="{Binding LP2WaferAssociation.ModuleData.ModuleID}" Visibility="{Binding IsLP2Visibility}">
  270. <Grid IsEnabled="{Binding PageEnabled}">
  271. <Grid.ColumnDefinitions>
  272. <ColumnDefinition Width="170"/>
  273. <ColumnDefinition Width="*"/>
  274. </Grid.ColumnDefinitions>
  275. <Grid.RowDefinitions>
  276. <RowDefinition Height="*"/>
  277. </Grid.RowDefinitions>
  278. <waferAssociation:WaferAssociationUnit Grid.Column="1" WAInfo="{Binding LP2WaferAssociation}" IsEnabled="{Binding EnableJobLP2}"></waferAssociation:WaferAssociationUnit>
  279. <StackPanel>
  280. <local:FOUPFrontView UnitData="{Binding FOUPB}" VerticalAlignment="Top" Margin="0 30 0 0"></local:FOUPFrontView>
  281. <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">
  282. </TextBlock>
  283. <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Visibility="{Binding MapVisibility}">
  284. <Button Content="Map" Width="75" Height="25" IsEnabled="{Binding EnableMapLP1}">
  285. <i:Interaction.Triggers>
  286. <i:EventTrigger EventName="Click">
  287. <cal:ActionMessage MethodName="MapLP">
  288. <cal:Parameter Value="{Binding FOUPB.ModuleID}"></cal:Parameter>
  289. </cal:ActionMessage>
  290. </i:EventTrigger>
  291. </i:Interaction.Triggers>
  292. </Button>
  293. </StackPanel>
  294. <StackPanel Orientation="Horizontal">
  295. <Button Content="Load" Width="75" Height="25" IsEnabled="{Binding EnableLoadLP2}">
  296. <i:Interaction.Triggers>
  297. <i:EventTrigger EventName="Click">
  298. <cal:ActionMessage MethodName="LoadLP">
  299. <cal:Parameter Value="LP2"></cal:Parameter>
  300. </cal:ActionMessage>
  301. </i:EventTrigger>
  302. </i:Interaction.Triggers>
  303. </Button>
  304. <Button Content="UnLoad" Width="75" Height="25" IsEnabled="{Binding EnableUnloadLP2}">
  305. <i:Interaction.Triggers>
  306. <i:EventTrigger EventName="Click">
  307. <cal:ActionMessage MethodName="UnloadLP">
  308. <cal:Parameter Value="LP2"></cal:Parameter>
  309. </cal:ActionMessage>
  310. </i:EventTrigger>
  311. </i:Interaction.Triggers>
  312. </Button>
  313. </StackPanel>
  314. </StackPanel>
  315. </Grid>
  316. </TabItem>
  317. </TabControl>
  318. <Grid Grid.Column="2" Width="200" Background="White" Margin="10,-1,0,-1" IsEnabled="{Binding PageEnabled}">
  319. <Grid.RowDefinitions>
  320. <RowDefinition Height="30"/>
  321. <RowDefinition Height="Auto"/>
  322. <RowDefinition Height="30"/>
  323. <RowDefinition Height="Auto" />
  324. <RowDefinition Height="30"/>
  325. <RowDefinition />
  326. </Grid.RowDefinitions>
  327. <Border Grid.Row="0" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  328. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  329. <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">
  330. <Path.RenderTransform>
  331. <TransformGroup>
  332. <ScaleTransform/>
  333. <SkewTransform/>
  334. <RotateTransform Angle="45"/>
  335. <TranslateTransform/>
  336. </TransformGroup>
  337. </Path.RenderTransform>
  338. </Path>
  339. <TextBlock Margin="5,0,0,0" Text="Wafer Status" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  340. </StackPanel>
  341. </Border>
  342. <Border Grid.Row="1" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  343. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  344. <Grid Width="180" Height="20" HorizontalAlignment="Left">
  345. <Grid.ColumnDefinitions>
  346. <ColumnDefinition Width="40"/>
  347. <ColumnDefinition />
  348. </Grid.ColumnDefinitions>
  349. <Rectangle Fill="Gold" Stroke="Black" StrokeThickness="1"/>
  350. <TextBlock Text="Idle / Unselected" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  351. </Grid>
  352. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  353. <Grid.ColumnDefinitions>
  354. <ColumnDefinition Width="40"/>
  355. <ColumnDefinition Width="6*" />
  356. <ColumnDefinition Width="29*"/>
  357. </Grid.ColumnDefinitions>
  358. <Rectangle Fill="Blue" Stroke="Black" StrokeThickness="1"/>
  359. <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"/>
  360. </Grid>
  361. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  362. <Grid.ColumnDefinitions>
  363. <ColumnDefinition Width="40"/>
  364. <ColumnDefinition />
  365. </Grid.ColumnDefinitions>
  366. <Rectangle Fill="Cyan" Stroke="Black" StrokeThickness="1"/>
  367. <TextBlock Text="In Process" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  368. </Grid>
  369. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  370. <Grid.ColumnDefinitions>
  371. <ColumnDefinition Width="40"/>
  372. <ColumnDefinition />
  373. </Grid.ColumnDefinitions>
  374. <Rectangle Fill="LimeGreen" Stroke="Black" StrokeThickness="1"/>
  375. <TextBlock Text="Process Complete" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  376. </Grid>
  377. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  378. <Grid.ColumnDefinitions>
  379. <ColumnDefinition Width="40"/>
  380. <ColumnDefinition />
  381. </Grid.ColumnDefinitions>
  382. <Rectangle Fill="Red" Stroke="Black" StrokeThickness="1"/>
  383. <TextBlock Text="Error" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  384. </Grid>
  385. </StackPanel>
  386. </Border>
  387. <Border Grid.Row="2" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  388. </Border>
  389. <Border Grid.Row="3" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  390. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,8">
  391. <Grid>
  392. <Grid.ColumnDefinitions>
  393. <ColumnDefinition Width="0"/>
  394. <ColumnDefinition />
  395. </Grid.ColumnDefinitions>
  396. <deviceControl:AITSensor Margin="-30,0,5,0" GreenColor="True" LightOnValue="{Binding IsRtInitialized}"></deviceControl:AITSensor>
  397. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="Initialize" Width="120" Height="25">
  398. <i:Interaction.Triggers>
  399. <i:EventTrigger EventName="Click">
  400. <cal:ActionMessage MethodName="HomeAll">
  401. </cal:ActionMessage>
  402. </i:EventTrigger>
  403. </i:Interaction.Triggers>
  404. </Button>
  405. </Grid>
  406. <Grid Margin="0,8,0,0">
  407. <Grid.ColumnDefinitions>
  408. <ColumnDefinition Width="0"/>
  409. <ColumnDefinition />
  410. </Grid.ColumnDefinitions>
  411. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="Abort" Width="120" Height="25">
  412. <i:Interaction.Triggers>
  413. <i:EventTrigger EventName="Click">
  414. <cal:ActionMessage MethodName="Abort">
  415. </cal:ActionMessage>
  416. </i:EventTrigger>
  417. </i:Interaction.Triggers>
  418. </Button>
  419. </Grid>
  420. <Grid Margin="0,8,0,0">
  421. <Grid.ColumnDefinitions>
  422. <ColumnDefinition Width="0"/>
  423. <ColumnDefinition />
  424. </Grid.ColumnDefinitions>
  425. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="Pause All" Width="120" Height="25" IsEnabled="{Binding IsPauseAllEnable}">
  426. <i:Interaction.Triggers>
  427. <i:EventTrigger EventName="Click">
  428. <cal:ActionMessage MethodName="PauseAllJob">
  429. </cal:ActionMessage>
  430. </i:EventTrigger>
  431. </i:Interaction.Triggers>
  432. </Button>
  433. </Grid>
  434. <Grid Margin="0,8,0,0">
  435. <Grid.ColumnDefinitions>
  436. <ColumnDefinition Width="0"/>
  437. <ColumnDefinition />
  438. </Grid.ColumnDefinitions>
  439. <Button Style="{StaticResource BtnControl}" Grid.Column="1" Content="Return Wafer" Width="120" Height="25">
  440. <i:Interaction.Triggers>
  441. <i:EventTrigger EventName="Click">
  442. <cal:ActionMessage MethodName="ReturnAllWafer">
  443. </cal:ActionMessage>
  444. </i:EventTrigger>
  445. </i:Interaction.Triggers>
  446. </Button>
  447. </Grid>
  448. </StackPanel>
  449. </Border>
  450. <Border Grid.Row="4" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  451. </Border>
  452. <Border Grid.Row="5" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  453. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  454. <Button Style="{StaticResource BtnControl}" IsEnabled="{Binding EnableAuto}" Margin ="5" Content="Auto" Width="80" Height="25">
  455. <i:Interaction.Triggers>
  456. <i:EventTrigger EventName="Click">
  457. <cal:ActionMessage MethodName="Auto">
  458. </cal:ActionMessage>
  459. </i:EventTrigger>
  460. </i:Interaction.Triggers>
  461. </Button>
  462. <Button Style="{StaticResource BtnControl}" IsEnabled="{Binding EnableManual}" Margin ="5" Content="Manual" Width="80" Height="25">
  463. <i:Interaction.Triggers>
  464. <i:EventTrigger EventName="Click">
  465. <cal:ActionMessage MethodName="Manual">
  466. </cal:ActionMessage>
  467. </i:EventTrigger>
  468. </i:Interaction.Triggers>
  469. </Button>
  470. <Grid x:Name="Cycle_Info" Visibility="{Binding IsCycleInfoVisibility}" Margin="0,10,0,0">
  471. <Grid.ColumnDefinitions>
  472. <ColumnDefinition Width="95"/>
  473. <ColumnDefinition Width="70"/>
  474. </Grid.ColumnDefinitions>
  475. <Grid.RowDefinitions>
  476. <RowDefinition Height="25"/>
  477. <RowDefinition Height="24"/>
  478. <RowDefinition Height="24"/>
  479. </Grid.RowDefinitions>
  480. <TextBlock Grid.ColumnSpan="2" Text="Cycle Information" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  481. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  482. <TextBlock Text="Wafer Count" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  483. </Border>
  484. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  485. <TextBlock Text="{Binding CycledWafer}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  486. </Border>
  487. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  488. <TextBlock Text="Cycle Count" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  489. </Border>
  490. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  491. <TextBlock Text="{Binding CycleCountDisplay}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  492. </Border>
  493. </Grid>
  494. <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}"/>
  495. </StackPanel>
  496. </Border>
  497. </Grid>
  498. </Grid>
  499. </ScrollViewer>
  500. </UserControl>