PlatingCellHomePageView.xaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. <UserControl x:Class="PunkHPX8_MainPages.Views.PlatingCellHomePageView"
  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:PunkHPX8_MainPages.Views"
  7. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  8. xmlns:customControls="clr-namespace:PunkHPX8_Themes.CustomControls;assembly=PunkHPX8_Themes"
  9. xmlns:UserControls="clr-namespace:PunkHPX8_Themes.UserControls;assembly=PunkHPX8_Themes"
  10. xmlns:converters="clr-namespace:PunkHPX8_Themes.Converters;assembly=PunkHPX8_Themes"
  11. xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
  12. xmlns:Control1="clr-namespace:Aitex.Core.UI.Control;assembly=MECF.Framework.UI.Core"
  13. xmlns:cmd="http://www.galasoft.ch/mvvmlight"
  14. xmlns:prism="http://prismlibrary.com/"
  15. prism:ViewModelLocator.AutoWireViewModel="True"
  16. mc:Ignorable="d"
  17. d:DesignHeight="800" d:DesignWidth="1850">
  18. <UserControl.Resources>
  19. <converters:StringToString x:Key="stringToString"/>
  20. <converters:BoolToOrientation x:Key="boolToOrientation"></converters:BoolToOrientation>
  21. <converters:BoolToOrientation2 x:Key="boolToOrientation2"></converters:BoolToOrientation2>
  22. <converters:BoolToColor x:Key="boolToColor"/>
  23. <converters:BoolToRedColor x:Key="boolToRedColor"/>
  24. <converters:boolToRedColor2 x:Key="boolToRedColor2"/>
  25. <converters:BoolToVisibility2 x:Key="boolToVisibility2"/>
  26. <converters:MutiBoolToBool x:Key="mutiBoolToBool"/>
  27. <converters:BoolToErrorColor x:Key="boolToErrorColor"></converters:BoolToErrorColor>
  28. <converters:BoolToYellowColor x:Key="boolToYellowColor"></converters:BoolToYellowColor>
  29. <converters:BoolToYellowColor2 x:Key="boolToYellowColor2"></converters:BoolToYellowColor2>
  30. <converters:BoolToGreenRedColor x:Key="boolToGreenRedColor"></converters:BoolToGreenRedColor>
  31. <converters:BoolToRedGreenColor x:Key="boolToRedGreenColor"></converters:BoolToRedGreenColor>
  32. <converters:BoolToColor4 x:Key="boolToColor4"></converters:BoolToColor4>
  33. <converters:BoolToColor6 x:Key="boolToColor6"></converters:BoolToColor6>
  34. <converters:BoolToColor7 x:Key="boolToColor7"></converters:BoolToColor7>
  35. <converters:BoolToBool x:Key="boolReverse"></converters:BoolToBool>
  36. </UserControl.Resources>
  37. <Canvas>
  38. <Grid>
  39. <Grid.RowDefinitions>
  40. <RowDefinition Height="5"/>
  41. <RowDefinition Height="170"/>
  42. <RowDefinition Height="240"/>
  43. <RowDefinition Height="145"/>
  44. <RowDefinition Height="245"/>
  45. </Grid.RowDefinitions>
  46. <Grid.ColumnDefinitions>
  47. <ColumnDefinition Width="610"></ColumnDefinition>
  48. <ColumnDefinition Width="400"></ColumnDefinition>
  49. <ColumnDefinition Width="610"></ColumnDefinition>
  50. <ColumnDefinition Width="250"></ColumnDefinition>
  51. <ColumnDefinition/>
  52. </Grid.ColumnDefinitions>
  53. <Grid Grid.Row="1" Grid.Column="0">
  54. <UserControls:SrdOverviewInformationPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  55. ModuleTitle="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  56. RecipeContentValue="{Binding CurrentRecipe}"
  57. TimeRemainingValue="{Binding TimeRemaining}"
  58. TotalTimeValue="{Binding TotalTime}"
  59. StateValue="{Binding State}"
  60. OperatingModeValue="{Binding PlatingCellPersistent.OperatingMode}"
  61. RecipeModeValue="{Binding PlatingCellPersistent.RecipeOperatingMode}"/>
  62. </Grid>
  63. <Grid Grid.Row="1" Grid.Column="1">
  64. <UserControls:WaferOverviewPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  65. IsEnabled="{Binding IsEnabled}"
  66. />
  67. </Grid>
  68. <Grid Grid.Row="1" Grid.Column="2" Grid.RowSpan="2">
  69. <UserControls:RecipeControlMetal HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center" Name="rcpControl"
  70. ModuleName="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  71. ModuleTitle="{Binding RecipeModuleName}"
  72. RecipeType="{Binding RecipeType}"
  73. SelectedRecipeNode="{Binding SelectedRecipeNode,Mode=TwoWay}"
  74. CurrentOperationMode="{Binding SRDPersistent.OperatingMode}"
  75. AchievedCycleTimes="{Binding AchievedRunRecipeCycle}"
  76. RecipeModeValue ="{Binding SRDPersistent.RecipeOperatingMode}"
  77. />
  78. </Grid>
  79. <Grid Grid.Row="1" Grid.Column="3">
  80. <Grid.RowDefinitions>
  81. <RowDefinition Height="60"></RowDefinition>
  82. <RowDefinition Height="50"></RowDefinition>
  83. <RowDefinition Height="60"></RowDefinition>
  84. </Grid.RowDefinitions>
  85. <Grid Grid.Row="0">
  86. <Label Content="{Binding Module}" FontSize="35" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center" Margin="0,0,0,13"></Label>
  87. </Grid>
  88. <Grid Grid.Row="1">
  89. <Button Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding IsAutoEnabled}" Grid.Column="1" Height="30" Width="100" HorizontalAlignment="Center" Content="Initialize" Command="{Binding InitializeCommand}"></Button>
  90. </Grid>
  91. <Grid Grid.Row="2">
  92. <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center"></Label>
  93. </Grid>
  94. </Grid>
  95. <Grid Grid.Row="2" Grid.Column="3" Height="155" VerticalAlignment="Top">
  96. <UserControls:OperatingModeControl HorizontalAlignment="Left" Margin="26,0,0,0" VerticalAlignment="Top"
  97. ModuleName="{Binding Module}"
  98. OperationModeValue="{Binding PlatingCellPersistent.OperatingMode}"/>
  99. </Grid>
  100. <Grid Grid.Row="2" Grid.Column="3" Grid.RowSpan="2">
  101. <Label Content="Recipe Mode" FontSize="15" FontWeight="Bold" Margin="0,0,0,90" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"></Label>
  102. <UserControls:RecipeModeControl HorizontalAlignment="Center" Margin="0,170,0,0" VerticalAlignment="Top" Width="190"
  103. ModuleName="{Binding Module}"
  104. RecipeModeValue="{Binding PlatingCellPersistent.RecipeOperatingMode}" />
  105. </Grid>
  106. <GroupBox Header="Cell Status" Grid.Row="3" Grid.Column="2" Grid.ColumnSpan="2" Grid.RowSpan="2" HorizontalAlignment="Right" Height="180" VerticalAlignment="Center" Margin="0,0,30,50">
  107. <Grid>
  108. <Grid.RowDefinitions>
  109. <RowDefinition Height="30"/>
  110. <RowDefinition Height="30"/>
  111. <RowDefinition Height="30"/>
  112. <RowDefinition Height="30"/>
  113. <RowDefinition Height="30"/>
  114. </Grid.RowDefinitions>
  115. <Grid.ColumnDefinitions>
  116. <ColumnDefinition Width="200"></ColumnDefinition>
  117. <ColumnDefinition Width="80"></ColumnDefinition>
  118. <ColumnDefinition Width="80"></ColumnDefinition>
  119. </Grid.ColumnDefinitions>
  120. <Grid Grid.Row="0" >
  121. <Label Content="AN Tower Status" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
  122. </Grid>
  123. <Grid Grid.Row="1" >
  124. <Label Content="Anode Flow" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
  125. </Grid>
  126. <Grid Grid.Row="2" >
  127. <Label Content="Overflow Level" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
  128. </Grid>
  129. <Grid Grid.Row="3" >
  130. <Label Content="OverflowStatus" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
  131. </Grid>
  132. <Grid Grid.Row="4" >
  133. <Label Content="Cell FLow" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
  134. </Grid>
  135. <Grid Grid.Row="0" Grid.Column="1">
  136. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Left" Margin="3,0,0,0" Fill="{Binding ReservoirCommonData.AnTowerHigh,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver"/>
  137. <Label Content="High" FontSize="12" FontWeight="Bold" Margin="20,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
  138. </Grid>
  139. <Grid Grid.Row="0" Grid.Column="2">
  140. <Ellipse Grid.Column="0" Width="16" Height="16" HorizontalAlignment="Right" Margin="0 0 20 0" Fill="{Binding ReservoirCommonData.AnTowerLow,Converter={StaticResource boolToRedGreenColor}}" Stroke="Silver"/>
  141. <Label Content="Low" FontSize="12" FontWeight="Bold" Margin="8,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
  142. </Grid>
  143. <Border Grid.Row="1" Grid.Column="1" Margin="5,5,2,5" Background="Black">
  144. <TextBlock Text="{Binding ReservoirCommonData.AnFlow, StringFormat=\{0:F2\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  145. </Border>
  146. <Border Grid.Row="1" Grid.Column="2" Margin="5,5,25,5" Background="Black">
  147. <TextBlock Text="L/min" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  148. </Border>
  149. <Border Grid.Row="2" Grid.Column="1" Margin="5,5,2,5" Background="Black">
  150. <TextBlock Text="{Binding PlatingCellCommonData.OverFlowLevel, StringFormat=\{0:F2\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  151. </Border>
  152. <Border Grid.Row="2" Grid.Column="2" Margin="5,5,25,5" Background="Black">
  153. <TextBlock Text="mm" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  154. </Border>
  155. <Border Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" Background="Black" Margin="5,5,25,5">
  156. <TextBlock Text="{Binding PlatingCellCommonData.OverFlowStatus}" Foreground="Lime" FontSize="14" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center" />
  157. </Border>
  158. <Border Grid.Row="4" Grid.Column="1" Margin="5,5,2,5" Background="Black">
  159. <TextBlock Text="{Binding ReservoirCommonData.CaFlow, StringFormat=\{0:F2\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  160. </Border>
  161. <Border Grid.Row="4" Grid.Column="2" Margin="5,5,25,5" Background="Black">
  162. <TextBlock Text="L/min" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  163. </Border>
  164. </Grid>
  165. </GroupBox>
  166. <Grid Grid.Row="2" Grid.Column="0" Grid.RowSpan="2">
  167. <UserControls:PlatingCellStatusControl HorizontalAlignment="Left" Margin="10,-50,0,0" VerticalAlignment="Center"
  168. IsEnabled="True"
  169. ModuleName="{Binding Module}"
  170. Chemistry="{Binding Chemistry}"
  171. VerticalStation="{Binding }"
  172. SelectedWaferSize="{Binding SelectedWaferSize,Mode=TwoWay}"
  173. WaferSizeList="{Binding WaferSizeList}"
  174. ClamshellSensor="{Binding PlatingCellCommonData.ClamShellDistance}"
  175. IsClamshellOpen="{Binding PlatingCellCommonData.ClamShellClose,Converter={StaticResource BoolToBool}}"
  176. IsClamshellClose="{Binding PlatingCellCommonData.ClamShellClose}"
  177. IsAngleTilt="{Binding PlatingCellCommonData.IsHeadTilt}"
  178. IsAngleVertical="{Binding PlatingCellCommonData.IsHeadVertical}"
  179. />
  180. </Grid>
  181. <GroupBox Header="Plating Power Supply" Grid.Row="3" Grid.Column="0" Grid.RowSpan="2" HorizontalAlignment="Left" Height="150" VerticalAlignment="Center" Margin="10,0,30,0">
  182. <Grid>
  183. <Grid.RowDefinitions>
  184. <RowDefinition Height="30"/>
  185. <RowDefinition Height="30"/>
  186. <RowDefinition Height="30"/>
  187. </Grid.RowDefinitions>
  188. <Grid.ColumnDefinitions>
  189. <ColumnDefinition Width="100"></ColumnDefinition>
  190. <ColumnDefinition Width="100"></ColumnDefinition>
  191. <ColumnDefinition Width="100"></ColumnDefinition>
  192. </Grid.ColumnDefinitions>
  193. <Grid Grid.Row="1" >
  194. <Label Content="Current" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
  195. </Grid>
  196. <Grid Grid.Row="2" >
  197. <Label Content="Voltage" FontSize="14" FontWeight="Bold" Margin="10,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" />
  198. </Grid>
  199. <Grid Grid.Row="0" Grid.Column="1">
  200. <Label Content="Setpoint" FontSize="12" FontWeight="Bold" Margin="20,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
  201. </Grid>
  202. <Grid Grid.Row="0" Grid.Column="2">
  203. <Label Content="Feedback" FontSize="12" FontWeight="Bold" Margin="8,0,0,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Left"/>
  204. </Grid>
  205. <Border Grid.Row="1" Grid.Column="1" Margin="5,5,5,5" Background="Black">
  206. <TextBlock Text="{Binding CommonData.VacuumValue, ElementName=self, StringFormat=\{0:F2\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  207. </Border>
  208. <Border Grid.Row="1" Grid.Column="2" Margin="5,5,25,5" Background="Black">
  209. <TextBlock Text="L/min" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  210. </Border>
  211. <Border Grid.Row="2" Grid.Column="1" Margin="5,5,5,5" Background="Black">
  212. <TextBlock Text="{Binding CommonData.VacuumValue, ElementName=self, StringFormat=\{0:F2\}}" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  213. </Border>
  214. <Border Grid.Row="2" Grid.Column="2" Margin="5,5,25,5" Background="Black">
  215. <TextBlock Text="mm" Foreground="Lime" FontSize="16" FontWeight="Bold" HorizontalAlignment="Left" VerticalAlignment="Center"/>
  216. </Border>
  217. </Grid>
  218. </GroupBox>
  219. <UserControls:PlatingCellUIControl Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Grid.RowSpan="3" HorizontalAlignment="Center" Margin="-320,15,0,0"
  220. ModuleName="{Binding Module}"
  221. ReservoirName="{Binding ReservoirName}"
  222. IsLeftEnable="{Binding IsLeftEnabled}"
  223. ANIsolationValve="{Binding ReservoirCommonData.AnIsolation}"
  224. CAIsolationValve="{Binding ReservoirCommonData.CaIsolation}"
  225. />
  226. </Grid>
  227. </Canvas>
  228. </UserControl>