OperationOverView.xaml 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. <UserControl x:Class="Venus_MainPages.Views.OperationOverView"
  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:local="clr-namespace:Venus_MainPages.Views"
  7. mc:Ignorable="d"
  8. xmlns:ctrls="clr-namespace:Venus_Themes.UserControls;assembly=Venus_Themes"
  9. xmlns:customControls="clr-namespace:Venus_Themes.CustomControls;assembly=Venus_Themes"
  10. xmlns:Attach="clr-namespace:Venus_UI.Themes.Attach;assembly=Venus_Themes"
  11. xmlns:converters="clr-namespace:Venus_Themes.Converters;assembly=Venus_Themes"
  12. xmlns:userControls="clr-namespace:Venus_Themes.UserControls;assembly=Venus_Themes"
  13. xmlns:prism="http://prismlibrary.com/"
  14. prism:ViewModelLocator.AutoWireViewModel="True"
  15. xmlns:deviceControl="clr-namespace:Aitex.Core.UI.DeviceControl;assembly=MECF.Framework.UI.Core"
  16. xmlns:unity="clr-namespace:Venus_MainPages.Unity"
  17. d:DesignHeight="450" d:DesignWidth="800">
  18. <UserControl.Resources>
  19. <converters:BoolToVisibility x:Key="boolToVisibility"/>
  20. <converters:BoolToVisibility2 x:Key="boolToVisibility2"/>
  21. <converters:BoolToBool x:Key="BoolToBool"/>
  22. </UserControl.Resources>
  23. <Canvas>
  24. <Canvas >
  25. <Viewbox Width="700" Height="700" Canvas.Top="100" Stretch="Fill">
  26. <Canvas Width="1000" Height="1000">
  27. <userControls:MainTM Width="300" Height="250" Canvas.Left="380" Canvas.Top="90"/>
  28. <customControls:WaferRobotControl OriginT="PMA" Canvas.Left="410" Canvas.Top="76" Width="200" Height="300" x:Name="robot" RobotTAction="{Binding Robot1TAction}" RobotXAction="{Binding Robot1XAction}" RobotWafer="{Binding BladeAWafer}"/>
  29. <customControls:WaferRobotControl OriginT="PMD" Canvas.Left="410" Canvas.Top="76" Width="200" Height="300" x:Name="robot2" RobotTAction="{Binding Robot2TAction}" RobotXAction="{Binding Robot2XAction}" RobotWafer="{Binding BladeBWafer}"/>
  30. <userControls:LoadLockLeft Width="150" Height="150" Canvas.Top="310" Canvas.Left="358" DoorIsOpen="{Binding RtDataValues[TM.LLATSlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" Visibility="{Binding LLAIsInstalled,Converter={StaticResource bool2VisibilityConverter}}" RobotWafer="{Binding LLAWafer}"/>
  31. <userControls:LoadLockRight Width="150" Height="150" Canvas.Top="309" Canvas.Left="519" DoorIsOpen="{Binding RtDataValues[TM.LLBTSlitDoor.IsClosed],Converter={StaticResource BoolToBool}}" Visibility="{Binding LLBIsInstalled,Converter={StaticResource bool2VisibilityConverter}}" RobotWafer="{Binding LLBWafer}"/>
  32. <userControls:TMChamber x:Name="PMA" Canvas.Top="302" Canvas.Left="233" Width="140" Height="140" RotateTransformValue="-90" DoorIsOpen="{Binding RtDataValues[PMA.IsSlitDoorClosed],Converter={StaticResource BoolToBool}}" RobotWafer="{Binding PMAWafer}" PMVisibility="{Binding PMAIsInstalled,Converter={StaticResource bool2VisibilityConverter}}"/>
  33. <userControls:TMChamber x:Name="PMB" Canvas.Top="28" Canvas.Left="315" Width="140" Height="140" RotateTransformValue="-28" DoorIsOpen="{Binding RtDataValues[PMB.IsSlitDoorClosed],Converter={StaticResource BoolToBool}}" RobotWafer="{Binding PMBWafer}" PMVisibility="{Binding PMBIsInstalled,Converter={StaticResource bool2VisibilityConverter}}"/>
  34. <userControls:TMChamber x:Name="PMC" Canvas.Top="-38" Canvas.Left="588" Width="140" Height="140" RotateTransformValue="30" DoorIsOpen="{Binding RtDataValues[PMC.IsSlitDoorClosed],Converter={StaticResource BoolToBool}}" RobotWafer="{Binding PMCWafer}" PMVisibility="{Binding PMCIsInstalled,Converter={StaticResource bool2VisibilityConverter}}"/>
  35. <userControls:TMChamber x:Name="PMD" Canvas.Top="160" Canvas.Left="788" Width="140" Height="140" RotateTransformValue="90" DoorIsOpen="{Binding RtDataValues[PMD.IsSlitDoorClosed],Converter={StaticResource BoolToBool}}" RobotWafer="{Binding PMDWafer}" PMVisibility="{Binding PMDIsInstalled,Converter={StaticResource bool2VisibilityConverter}}"/>
  36. <userControls:EFEM Width="600" Height="300" Canvas.Left="200" Canvas.Top="480"/>
  37. <customControls:WaferRobotControl OriginT="PMA" Canvas.Left="400" Canvas.Top="473" Width="200" Height="300" RobotTAction="{Binding Robot3TAction}" RobotXAction="{Binding Robot3XAction}" RobotWafer="{Binding BladeCWafer}"/>
  38. <customControls:WaferRobotControl OriginT="PMD" Canvas.Left="400" Canvas.Top="473" Width="200" Height="300" RobotTAction="{Binding Robot4TAction}" RobotXAction="{Binding Robot4XAction}" RobotWafer="{Binding BladeDWafer}"/>
  39. </Canvas>
  40. </Viewbox>
  41. </Canvas>
  42. <Canvas Canvas.Left="-150">
  43. <RadioButton Content="Carrier" Name="CarrierRadioButton" Canvas.Left="900" Canvas.Top="106" Width="120" Height="33" Style="{StaticResource Button_RadioButton}" IsChecked="True"/>
  44. <RadioButton Content="Job" Name="JobRadioButton" Canvas.Left="1020" Canvas.Top="106" Width="120" Height="33" Style="{StaticResource Button_RadioButton}" IsChecked="False"/>
  45. <TabPanel Canvas.Left="900" Canvas.Top="140" Visibility="{Binding ElementName=CarrierRadioButton,Path=IsChecked,Converter={StaticResource boolToVisibility2}}">
  46. <StackPanel Orientation="Horizontal" >
  47. <StackPanel>
  48. <TextBox Background="{DynamicResource Table_BG_Title}" Text="LP1" Width="250" Height="30" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True"/>
  49. <ctrls:FOUPFrontView UnitData="{Binding LP1ModuleInfo}" ShowTitle="False"/>
  50. </StackPanel>
  51. <StackPanel>
  52. <TextBox Background="{DynamicResource Table_BG_Title}" Text="LP2" Width="250" Height="30" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True"/>
  53. <ctrls:FOUPFrontView UnitData="{Binding LP2ModuleInfo}" ShowTitle="False"/>
  54. </StackPanel>
  55. <StackPanel>
  56. <TextBox Background="{DynamicResource Table_BG_Title}" Text="LP3" Width="250" Height="30" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True"/>
  57. <ctrls:FOUPFrontView UnitData="{Binding LP3ModuleInfo}" ShowTitle="False"/>
  58. </StackPanel>
  59. </StackPanel>
  60. </TabPanel>
  61. <TabPanel Canvas.Left="900" Canvas.Top="140" Visibility="{Binding ElementName=CarrierRadioButton,Path=IsChecked,Converter={StaticResource boolToVisibility}}" >
  62. <Grid>
  63. <Grid.RowDefinitions>
  64. <RowDefinition Height="30"/>
  65. <RowDefinition/>
  66. </Grid.RowDefinitions>
  67. <Grid.ColumnDefinitions>
  68. <ColumnDefinition/>
  69. <ColumnDefinition/>
  70. <ColumnDefinition/>
  71. </Grid.ColumnDefinitions>
  72. <TextBox Text="LP1" Background="{DynamicResource Table_BG_Title}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True" />
  73. <TextBox Text="LP2" Background="{DynamicResource Table_BG_Title}" Grid.Column="1" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True"/>
  74. <TextBox Text="LP2" Background="{DynamicResource Table_BG_Title}" Grid.Column="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" IsReadOnly="True"/>
  75. <ctrls:WaferAssociationUnit Grid.Row="1"/>
  76. <ctrls:WaferAssociationUnit Grid.Row="1" Grid.Column="1"/>
  77. <ctrls:WaferAssociationUnit Grid.Row="1" Grid.Column="2"/>
  78. </Grid>
  79. </TabPanel>
  80. </Canvas>
  81. <Grid Canvas.Left="1700" Canvas.Top="140" Width="200" Background="White" Margin="10,-1,0,-1">
  82. <Grid.RowDefinitions>
  83. <RowDefinition Height="30"/>
  84. <RowDefinition Height="Auto"/>
  85. <RowDefinition Height="30"/>
  86. <RowDefinition Height="Auto" />
  87. <RowDefinition Height="30"/>
  88. <RowDefinition />
  89. </Grid.RowDefinitions>
  90. <Border Grid.Row="0" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  91. <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" VerticalAlignment="Center">
  92. <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">
  93. <Path.RenderTransform>
  94. <TransformGroup>
  95. <ScaleTransform/>
  96. <SkewTransform/>
  97. <RotateTransform Angle="45"/>
  98. <TranslateTransform/>
  99. </TransformGroup>
  100. </Path.RenderTransform>
  101. </Path>
  102. <TextBlock Margin="5,0,0,0" Text="Wafer Status" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  103. </StackPanel>
  104. </Border>
  105. <Border Grid.Row="1" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  106. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  107. <Grid Width="180" Height="20" HorizontalAlignment="Left">
  108. <Grid.ColumnDefinitions>
  109. <ColumnDefinition Width="40"/>
  110. <ColumnDefinition />
  111. </Grid.ColumnDefinitions>
  112. <Rectangle Fill="Gold" Stroke="Black" StrokeThickness="1"/>
  113. <TextBlock Text="Idle / Unselected" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  114. </Grid>
  115. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  116. <Grid.ColumnDefinitions>
  117. <ColumnDefinition Width="40"/>
  118. <ColumnDefinition Width="6*" />
  119. <ColumnDefinition Width="29*"/>
  120. </Grid.ColumnDefinitions>
  121. <Rectangle Fill="Blue" Stroke="Black" StrokeThickness="1"/>
  122. <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"/>
  123. </Grid>
  124. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  125. <Grid.ColumnDefinitions>
  126. <ColumnDefinition Width="40"/>
  127. <ColumnDefinition />
  128. </Grid.ColumnDefinitions>
  129. <Rectangle Fill="Cyan" Stroke="Black" StrokeThickness="1"/>
  130. <TextBlock Text="In Process" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  131. </Grid>
  132. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  133. <Grid.ColumnDefinitions>
  134. <ColumnDefinition Width="40"/>
  135. <ColumnDefinition />
  136. </Grid.ColumnDefinitions>
  137. <Rectangle Fill="LimeGreen" Stroke="Black" StrokeThickness="1"/>
  138. <TextBlock Text="Process Complete" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  139. </Grid>
  140. <Grid Width="180" Height="20" Margin="0,5,0,0" HorizontalAlignment="Left">
  141. <Grid.ColumnDefinitions>
  142. <ColumnDefinition Width="40"/>
  143. <ColumnDefinition />
  144. </Grid.ColumnDefinitions>
  145. <Rectangle Fill="Red" Stroke="Black" StrokeThickness="1"/>
  146. <TextBlock Text="Error" Grid.Column="1" Margin="10,0,0,0" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  147. </Grid>
  148. </StackPanel>
  149. </Border>
  150. <Border Grid.Row="2" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  151. </Border>
  152. <Border Grid.Row="3" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  153. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,8">
  154. <Grid>
  155. <Grid.ColumnDefinitions>
  156. <ColumnDefinition Width="0"/>
  157. <ColumnDefinition />
  158. </Grid.ColumnDefinitions>
  159. <deviceControl:AITSensor Margin="-30,0,5,0" GreenColor="True" LightOnValue="{Binding IsRtInitialized}"></deviceControl:AITSensor>
  160. <Button Grid.Column="1" Content="初始化" Width="120" Height="25">
  161. </Button>
  162. </Grid>
  163. <Grid Margin="0,8,0,0">
  164. <Grid.ColumnDefinitions>
  165. <ColumnDefinition Width="0"/>
  166. <ColumnDefinition />
  167. </Grid.ColumnDefinitions>
  168. <Button Grid.Column="1" Content="终止" Width="120" Height="25">
  169. </Button>
  170. </Grid>
  171. <Grid Margin="0,8,0,0">
  172. <Grid.ColumnDefinitions>
  173. <ColumnDefinition Width="0"/>
  174. <ColumnDefinition />
  175. </Grid.ColumnDefinitions>
  176. <Button Grid.Column="1" Content="全部暂停" Width="120" Height="25" IsEnabled="{Binding IsPauseAllEnable}">
  177. </Button>
  178. </Grid>
  179. <Grid Margin="0,8,0,0">
  180. <Grid.ColumnDefinitions>
  181. <ColumnDefinition Width="0"/>
  182. <ColumnDefinition />
  183. </Grid.ColumnDefinitions>
  184. <Button Grid.Column="1" Content="晶圆返回" Width="120" Height="25">
  185. </Button>
  186. </Grid>
  187. </StackPanel>
  188. </Border>
  189. <Border Grid.Row="4" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource MainFrame_BG_Title}" Padding="5,1">
  190. </Border>
  191. <Border Grid.Row="5" BorderBrush="{DynamicResource MainFrame_BD}" BorderThickness="1,0,1,1" Padding="5,1">
  192. <StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,5">
  193. <Button IsEnabled="{Binding EnableAuto}" Margin ="5" Content="自动" Width="80" Height="25">
  194. </Button>
  195. <Button IsEnabled="{Binding EnableManual}" Margin ="5" Content="手动" Width="80" Height="25">
  196. </Button>
  197. <Grid x:Name="Cycle_Info" Visibility="{Binding IsCycleInfoVisibility}" Margin="0,10,0,0">
  198. <Grid.ColumnDefinitions>
  199. <ColumnDefinition Width="90"/>
  200. <ColumnDefinition Width="70"/>
  201. </Grid.ColumnDefinitions>
  202. <Grid.RowDefinitions>
  203. <RowDefinition Height="25"/>
  204. <RowDefinition Height="24"/>
  205. <RowDefinition Height="24"/>
  206. </Grid.RowDefinitions>
  207. <TextBlock Grid.ColumnSpan="2" Text="Cycle 信息" FontFamily="Arial" FontSize="14" Foreground="{DynamicResource FG_Black}" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,0,0,3"/>
  208. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1" Background="{DynamicResource Table_BG_Title}" Grid.Row="1" Padding="5,1">
  209. <TextBlock Text="跑片数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  210. </Border>
  211. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,1,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="1" Grid.Column="1" Padding="5,1">
  212. <TextBlock Text="{Binding CycledWafer}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  213. </Border>
  214. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,0,1,1" Background="{DynamicResource Table_BG_Title}" Grid.Row="2" Padding="5,1">
  215. <TextBlock Text="Cycle数量" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  216. </Border>
  217. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="0,0,1,1" Background="{DynamicResource Table_BG_Content}" Grid.Row="2" Grid.Column="1" Padding="5,1">
  218. <TextBlock Text="{Binding CycleCountDisplay}" TextWrapping="Wrap" Foreground="{DynamicResource FG_Black}" FontSize="14" FontFamily="Arial" VerticalAlignment="Center"/>
  219. </Border>
  220. </Grid>
  221. <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}"/>
  222. </StackPanel>
  223. </Border>
  224. </Grid>
  225. </Canvas>
  226. </UserControl>