MetalSHHomePageView.xaml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <UserControl x:Class="CyberX8_MainPages.Views.MetalSHHomePageView"
  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:CyberX8_MainPages.Views"
  7. xmlns:prism="http://prismlibrary.com/"
  8. xmlns:converters="clr-namespace:CyberX8_Themes.Converters;assembly=CyberX8_Themes"
  9. xmlns:UserControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  10. xmlns:ctrls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  11. xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. mc:Ignorable="d" x:Name="self"
  14. d:DesignHeight="800" d:DesignWidth="1850">
  15. <UserControl.Resources>
  16. <converters:BoolToColor x:Key="boolToColor"/>
  17. <converters:RecipeIconConverter x:Key="recipeIconConverter"/>
  18. <converters:BoolToVisibility2 x:Key="BoolToVisibility2"/>
  19. <Style x:Key="TextBlockStyle" TargetType="TextBlock">
  20. <Style.Setters>
  21. <Setter Property="Text" Value="UnClamped"/>
  22. </Style.Setters>
  23. <Style.Triggers>
  24. <DataTrigger Binding="{Binding ClampStatus}" Value="True">
  25. <Setter Property="Text" Value="Clamped"></Setter>
  26. </DataTrigger>
  27. </Style.Triggers>
  28. </Style>
  29. </UserControl.Resources>
  30. <Grid>
  31. <Grid.RowDefinitions>
  32. <RowDefinition Height="5"/>
  33. <RowDefinition Height="190"/>
  34. <RowDefinition Height="250"/>
  35. <RowDefinition Height="355"/>
  36. <RowDefinition/>
  37. </Grid.RowDefinitions>
  38. <Grid.ColumnDefinitions>
  39. <ColumnDefinition Width="610"></ColumnDefinition>
  40. <ColumnDefinition Width="400"></ColumnDefinition>
  41. <ColumnDefinition Width="610"></ColumnDefinition>
  42. <ColumnDefinition Width="230"></ColumnDefinition>
  43. <ColumnDefinition/>
  44. </Grid.ColumnDefinitions>
  45. <Grid Grid.Row="1" Grid.Column="0">
  46. <UserControls:SrdOverviewInformationPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  47. ModuleTitle="{Binding Module}"
  48. RecipeContentValue="{Binding CurrentRecipe}"
  49. TimeRemainingValue="{Binding TimeRemaining}"
  50. TotalTimeValue="{Binding TotalTime}"
  51. StateValue="{Binding State}" IsEnabled="{Binding IsEnabled}"
  52. OperatingModeValue="{Binding MetalPersistent.OperatingMode}"
  53. RecipeModeValue="{Binding MetalPersistent.RecipeOperatingMode}"/>
  54. </Grid>
  55. <Grid Grid.Row="1" Grid.Column="1">
  56. <UserControls:WaferHolderPanel HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center"
  57. ModuleName="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  58. SeqRecipeValue="{Binding SeqRecipe}"
  59. WaferHolderInfo="{Binding WaferHolderInfo}"
  60. />
  61. </Grid>
  62. <Grid Grid.Row="1" Grid.Column="2" Grid.RowSpan="2">
  63. <UserControls:RecipeControlMetal HorizontalAlignment="Center" Margin="10,0,0,0" VerticalAlignment="Center"
  64. ModuleName="{Binding Module}" IsEnabled="{Binding IsEnabled}"
  65. ModuleTitle="{Binding RecipeModuleName}"
  66. RecipeType="{Binding RecipeType}"
  67. SelectedRecipeNode="{Binding SelectedRecipeNode,Mode=TwoWay}"
  68. CurrentOperationMode="{Binding MetalPersistent.OperatingMode}"
  69. AchievedCycleTimes="{Binding AchievedRunRecipeCycle}"
  70. RecipeModeValue ="{Binding MetalPersistent.RecipeOperatingMode}"
  71. />
  72. </Grid>
  73. <Grid Grid.Row="1" Grid.Column="3">
  74. <Grid.RowDefinitions>
  75. <RowDefinition Height="50"></RowDefinition>
  76. <RowDefinition Height="120"></RowDefinition>
  77. </Grid.RowDefinitions>
  78. <Grid Grid.Row="0">
  79. <Label Content="{Binding Module}" FontSize="30" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Bottom" HorizontalAlignment="Center"></Label>
  80. </Grid>
  81. <Grid Grid.Row="1">
  82. <Button IsEnabled="{Binding IsAutoEnabled}" Style="{StaticResource SysBtnStyle}" Height="30" Width="120" VerticalAlignment="Top" HorizontalAlignment="Center" Content="Initialize" Command="{Binding InitializeCommand}" />
  83. </Grid>
  84. </Grid>
  85. <Grid Grid.Row="1" Grid.Column="3" Grid.RowSpan="2">
  86. <Label Content="Operating Mode" FontSize="15" FontWeight="Bold" Margin="20,90,20,0" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Top" HorizontalAlignment="Center"></Label>
  87. <UserControls:OperatingModeControl HorizontalAlignment="Center" Margin="20,0,20,45" VerticalAlignment="Center"
  88. ModuleName="{Binding Module}"
  89. OperationModeValue="{Binding MetalPersistent.OperatingMode}"
  90. />
  91. </Grid>
  92. <Grid Grid.Row="2" Grid.Column="3">
  93. <Label Margin="20,0,20,70" Content="Recipe Mode" FontSize="15" FontWeight="Bold" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"></Label>
  94. <UserControls:RecipeModeControl HorizontalAlignment="Center" VerticalAlignment="Top"
  95. ModuleName="{Binding Module}" Width="188" Margin="0,108,0,0" IsEnabled="{Binding IsAutoEnabled}"
  96. RecipeModeValue="{Binding MetalPersistent.RecipeOperatingMode}"/>
  97. </Grid>
  98. <Grid Grid.Row="2" Grid.Column="0" Grid.RowSpan="2">
  99. <Grid.RowDefinitions>
  100. <RowDefinition Height="0.7*"/>
  101. <RowDefinition Height="1*"/>
  102. <RowDefinition Height="0.4*"/>
  103. <RowDefinition Height="1*"/>
  104. <RowDefinition Height="10"/>
  105. </Grid.RowDefinitions>
  106. <Grid>
  107. <UserControls:PlatingPowerSupplyControl HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,0,0,0" Width="400" IsEnabled="{Binding IsEnabled}"
  108. SideAForwardCurrent="{Binding SideAPowerSupplierData.Current}" SideAForwardVoltage="{Binding SideAPowerSupplierData.Voltage}"
  109. SideBForwardCurrent="{Binding SideBPowerSupplierData.Current}" SideBForwardVoltage="{Binding SideBPowerSupplierData.Voltage}"
  110. SideAReverseCurrent="{Binding SideAReverseCurrent}" SideAReverseVoltage="{Binding SideAReverseVoltage}"
  111. SideBReverseCurrent="{Binding SideBReverseCurrent}" SideBReverseVoltage="{Binding SideBReverseVoltage}"
  112. />
  113. </Grid>
  114. <Grid Grid.Row="1">
  115. <UserControls:BurnInControl HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,0,0,0" Width="400" Height="170"
  116. Required="{Binding Required}" Requested="{Binding Requested}" IsEnabled="{Binding IsEnabled}"
  117. />
  118. </Grid>
  119. <Grid Grid.Row="2" Width="410" HorizontalAlignment="Left">
  120. <UserControls:MetalWaferSizeControl IsEnabled="{Binding IsEnabled}" MetalWaferSize="{Binding MetalPersistent.MetalWaferSize}" ModuleName="{Binding Module}"/>
  121. </Grid>
  122. <GroupBox Header="Pump Settings" FontWeight="Bold" FontSize="15" Grid.Row="3" Margin="10 20 400 80" Visibility="{Binding IsRegulatePump,Converter={StaticResource BoolToVisibility2}}">
  123. <Grid>
  124. <Grid.RowDefinitions>
  125. <RowDefinition Height="30"></RowDefinition>
  126. <RowDefinition Height="35"></RowDefinition>
  127. </Grid.RowDefinitions>
  128. <Grid Grid.Row="0" HorizontalAlignment="Center" VerticalAlignment="Center">
  129. <Label FontSize="14" FontWeight="Bold">Pump Speed(RPM)</Label>
  130. </Grid>
  131. <Control:NumbericTextBox Grid.Row="1" Margin="10,0,10,0" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="15" FontWeight="Bold" Height="30" Width="130"
  132. Value="{Binding Path=PumpSpeed,Mode=TwoWay}" TextboxName="PumpSpeed" KeyOperation="{Binding PumpSpeedCommand}"
  133. />
  134. </Grid>
  135. </GroupBox>
  136. </Grid>
  137. <Grid Grid.Row="2" Grid.Column="3" Margin="0,0,0,30" Grid.RowSpan="2">
  138. <Grid.RowDefinitions>
  139. <RowDefinition Height="32*"/>
  140. <RowDefinition Height="83*"/>
  141. </Grid.RowDefinitions>
  142. <UserControls:WHClampControl HorizontalAlignment="Center" VerticalAlignment="Top" IsEnabled="{Binding IsEnabled}"
  143. ModuleName="{Binding Module}" IsButtonEnabled="False" ClampStatus="{Binding ClampStatus}" Margin="0,68,0,0" Grid.Row="1"
  144. />
  145. </Grid>
  146. <!--MetalCMUI动画-->
  147. <Grid Grid.Row="2" Grid.Column="1" Grid.ColumnSpan="2" Grid.RowSpan="2">
  148. <UserControls:MetalSHUIControl HorizontalAlignment="Left" VerticalAlignment="Bottom" Margin="-180,0,0,28"
  149. ModuleName="{Binding Module}" IsError="{Binding IsErrorState}" IsEnabled="{Binding IsEnabled}"
  150. IsClampValveOpen="{Binding MetalData.WaferHolderClamp}" IsCellCirculationValveOn="{Binding MetalData.Circulation}"
  151. IsCellPumpOn="{Binding MetalData.CellPump}" MetalData="{Binding MetalData}" IsWaferHolder="{Binding IsWaferHolder}"/>
  152. </Grid>
  153. <Grid Grid.Row="3" Grid.Column="2">
  154. <Canvas Margin="0,0,150,150" VerticalAlignment="Bottom" HorizontalAlignment="Right">
  155. <UserControls:PumpSpeedControl Visibility="Collapsed" Width="320"/>
  156. </Canvas>
  157. </Grid>
  158. </Grid>
  159. </UserControl>