OverView.xaml 44 KB

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