VpwRecipeView.xaml 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382
  1. <UserControl x:Class="PunkHPX8_MainPages.Views.VpwRecipeView"
  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:prism="http://prismlibrary.com/"
  8. xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
  9. xmlns:converters="clr-namespace:PunkHPX8_MainPages.Converters"
  10. xmlns:UserControls="clr-namespace:PunkHPX8_Themes.UserControls;assembly=PunkHPX8_Themes"
  11. xmlns:wfi ="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration"
  12. xmlns:extendedControls="clr-namespace:MECF.Framework.UI.Core.ExtendedControls;assembly=MECF.Framework.UI.Core"
  13. xmlns:wf ="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
  14. prism:ViewModelLocator.AutoWireViewModel="True"
  15. mc:Ignorable="d"
  16. d:DesignHeight="800" d:DesignWidth="1800" Loaded="UserControl_Loaded">
  17. <UserControl.Resources>
  18. <converters:BoolReverseConverter x:Key="boolReverseConverter"/>
  19. <converters:BoolVisibilityConverter x:Key="boolVisibilityConverter"/>
  20. </UserControl.Resources>
  21. <Grid>
  22. <Grid.RowDefinitions>
  23. <RowDefinition Height="210"></RowDefinition>
  24. <RowDefinition Height="*"/>
  25. </Grid.RowDefinitions>
  26. <Grid.ColumnDefinitions>
  27. <ColumnDefinition Width="50"></ColumnDefinition>
  28. <ColumnDefinition Width="400"></ColumnDefinition>
  29. <ColumnDefinition></ColumnDefinition>
  30. </Grid.ColumnDefinitions>
  31. <UserControls:RecipeFileLoadControl Grid.Row="0" Grid.RowSpan="2" Grid.Column="1" Title="VPW Recipe" RecipeNodes="{Binding RecipeNodes}" OperationCommand="{Binding OperationCommand}"
  32. RecipeLocation="{Binding CurrentNode.RecipeLocation}" EditEnable="{Binding EditEnable}" CreateEnable="{Binding CreateEnable}" RecipeFileName="{Binding CurrentNode.FileName}"
  33. CreateCommand="{Binding CreateCommand}" EditCommand="{Binding EditCommand}"/>
  34. <Grid Grid.Row="0" Grid.Column="2" Margin="10 0 0 0">
  35. <Grid.RowDefinitions>
  36. <RowDefinition Height="70"></RowDefinition>
  37. <RowDefinition Height="70"></RowDefinition>
  38. <RowDefinition Height="70"></RowDefinition>
  39. <RowDefinition/>
  40. </Grid.RowDefinitions>
  41. <Grid.ColumnDefinitions>
  42. <ColumnDefinition Width="220"></ColumnDefinition>
  43. <ColumnDefinition Width="220"></ColumnDefinition>
  44. <ColumnDefinition Width="220"></ColumnDefinition>
  45. <ColumnDefinition Width="220"></ColumnDefinition>
  46. <ColumnDefinition Width="220"></ColumnDefinition>
  47. </Grid.ColumnDefinitions>
  48. <GroupBox Header="PPID" Grid.Row="0" Grid.ColumnSpan="3">
  49. <TextBlock Text="{Binding Recipe.Ppid}" FontSize="20" VerticalAlignment="Center" TextAlignment="Center">
  50. </TextBlock>
  51. </GroupBox>
  52. <Grid Grid.Row="0" Grid.Column="3" Grid.ColumnSpan="2" Margin="10 0 0 0 ">
  53. <Grid.RowDefinitions>
  54. <RowDefinition Height="70"></RowDefinition>
  55. </Grid.RowDefinitions>
  56. <Grid Grid.Row="0" >
  57. <Grid.ColumnDefinitions>
  58. <ColumnDefinition/>
  59. <ColumnDefinition/>
  60. <ColumnDefinition/>
  61. </Grid.ColumnDefinitions>
  62. <Button Grid.Column="0" IsEnabled="{Binding Enable}" Style="{StaticResource SysBtnStyle}" Content="Save" Height="35" Width="100" Command="{Binding SaveRecipeCommand}"></Button>
  63. <Button Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="SaveAs" Height="35" Width="100" Command="{Binding SaveAsRecipeCommand}"></Button>
  64. </Grid>
  65. </Grid>
  66. <GroupBox Header="Description" Grid.Row="1" Grid.ColumnSpan="3">
  67. <TextBlock Text="{Binding Recipe.Description}" FontSize="18" VerticalAlignment="Center" TextAlignment="Center">
  68. </TextBlock>
  69. </GroupBox>
  70. <GroupBox Header="Author" Grid.Row="2" Grid.Column="0">
  71. <Label Content="{Binding Recipe.Author}" Height="30" Width="195" VerticalAlignment="Center" HorizontalAlignment="Left" Foreground="White" Background="Gray"
  72. HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Grid.Column="1" Margin="6,0,0,0"></Label>
  73. </GroupBox>
  74. <GroupBox Header="CreateDate" Grid.Row="2" Grid.Column="1">
  75. <Label Content="{Binding Recipe.CreateDate}" Height="30" Width="195" VerticalAlignment="Center" HorizontalAlignment="Left" Foreground="White" Background="Gray"
  76. HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Grid.Column="1" Margin="6,0,0,0"></Label>
  77. </GroupBox>
  78. <GroupBox Header="SaveDate" Grid.Row="2" Grid.Column="2">
  79. <Label Content="{Binding Recipe.SaveDate}" Height="30" Width="195" VerticalAlignment="Center" HorizontalAlignment="Left" Foreground="White" Background="Gray"
  80. HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Grid.Column="1" Margin="6,0,0,0"></Label>
  81. </GroupBox>
  82. <GroupBox Header="Total TIme" IsEnabled="{Binding Enable}" Grid.Row="2" Grid.Column="3">
  83. <Label Content="{Binding Recipe.TotalTime}" Height="30" Width="195" VerticalAlignment="Center" HorizontalAlignment="Left" Foreground="White" Background="Gray"
  84. HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Grid.Column="1" Margin="6,0,0,0"></Label>
  85. </GroupBox>
  86. <GroupBox Header="Wafer Size" IsEnabled="{Binding Enable}" Grid.Row="2" Grid.Column="4">
  87. <ComboBox Height="30" Margin="0,0,20,0" ItemsSource="{Binding WaferSizeLst}" SelectedItem="{Binding Recipe.WaferSize, Mode=TwoWay}">
  88. </ComboBox>
  89. </GroupBox>
  90. </Grid>
  91. <Grid Grid.Row="2" Grid.Column="2">
  92. <Grid.RowDefinitions>
  93. <RowDefinition Height="200"></RowDefinition>
  94. <RowDefinition Height="*"></RowDefinition>
  95. </Grid.RowDefinitions>
  96. <Grid.ColumnDefinitions>
  97. <ColumnDefinition Width="350"></ColumnDefinition>
  98. <ColumnDefinition Width="350"></ColumnDefinition>
  99. <ColumnDefinition Width="350"></ColumnDefinition>
  100. <ColumnDefinition Width="350"></ColumnDefinition>
  101. </Grid.ColumnDefinitions>
  102. <GroupBox Header="1.Vacuum Prewet" Grid.Column="3" Padding="10" Grid.Row="0" Grid.RowSpan="2">
  103. <Grid>
  104. <Grid.RowDefinitions>
  105. <RowDefinition Height="75"></RowDefinition>
  106. <RowDefinition Height="75"></RowDefinition>
  107. <RowDefinition Height="45"></RowDefinition>
  108. <RowDefinition Height="45"></RowDefinition>
  109. <RowDefinition Height="45"></RowDefinition>
  110. <RowDefinition Height="45"></RowDefinition>
  111. <RowDefinition Height="200"></RowDefinition>
  112. </Grid.RowDefinitions>
  113. <Grid.ColumnDefinitions>
  114. <ColumnDefinition Width="300"></ColumnDefinition>
  115. </Grid.ColumnDefinitions>
  116. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Add Below" Height="25" Width="80" FontSize="10" Command="{Binding AddBelowCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,0,-20,0"></Button>
  117. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Add Above" Height="25" Width="80" FontSize="10" Command="{Binding AddAboveCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,70,-20,0"></Button>
  118. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Move Up" Height="25" Width="80" FontSize="10" Command="{Binding MoveUpCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,140,-20,0"></Button>
  119. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Move Down" Height="26" Width="80" FontSize="10" Command="{Binding MoveDownCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,165,-20,-50" ></Button>
  120. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Delete" Height="26" Width="80" FontSize="10" Command="{Binding DeleteCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,210,-20,-80"/>
  121. <UserControls:GroupTextBoxControl Grid.Row="6" Title="Flow Set Ponit" Unit="L/min" MinValue="0" MaxValue="10" Width="120" Margin="0,0,200,119"
  122. IntValue="{Binding Recipe.VacuumPrewetFlowSetPoint,Mode=TwoWay}"
  123. ValidResult="{Binding PropertyValidResultDic[VacuumPrewetFlowSetPoint],Mode=TwoWay}" />
  124. <UserControls:GroupTextBoxControl Grid.Row="6" Title="Flow Warning" Unit="%" MinValue="0" MaxValue="100" Margin="97,0,105,118" Width="120"
  125. IntValue="{Binding Recipe.VacuumPrewetFlowWarningPercent,Mode=TwoWay}"
  126. ValidResult="{Binding PropertyValidResultDic[VacuumPrewetFlowWarningPercent],Mode=TwoWay}" />
  127. <UserControls:GroupTextBoxControl Grid.Row="6" Title="Flow Fault" Unit="%" MinValue="0" MaxValue="100" Margin="194,0,-14,118" Width="120"
  128. IntValue="{Binding Recipe.VacuumPrewetFlowErrorPercent,Mode=TwoWay}"
  129. ValidResult="{Binding PropertyValidResultDic[VacuumPrewetFlowErrorPercent],Mode=TwoWay}" />
  130. <UserControls:GroupTextBoxControl Grid.Row="0" Title="Vacuum Target" Unit="Toor" MinValue="0" MaxValue="1000" Width="300"
  131. IntValue="{Binding Recipe.VacuumTarget,Mode=TwoWay}"
  132. ValidResult="{Binding PropertyValidResultDic[VacuumTarget],Mode=TwoWay}" />
  133. <UserControls:GroupTextBoxControl Grid.Row="1" Title="Dry Hold Time" Unit="Sec" MinValue="0" MaxValue="800" Width="300"
  134. IntValue="{Binding Recipe.DryHoldTime,Mode=TwoWay}"
  135. ValidResult="{Binding PropertyValidResultDic[DryHoldTime],Mode=TwoWay}" />
  136. <GroupBox Grid.Row="2" IsEnabled="{Binding Enable}" Margin="0,10,0,0">
  137. <Grid>
  138. <Label Content="Spray Bar" Height="30" VerticalAlignment="Top" />
  139. <RadioButton Content="EXT" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  140. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.IsSprayBarRetract ,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="158,-1,0,-6" ></RadioButton>
  141. <RadioButton Content="RET" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  142. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.IsSprayBarRetract,Mode=TwoWay}" Margin="220,-1,0,-6" ></RadioButton>
  143. </Grid>
  144. </GroupBox>
  145. <GroupBox Grid.Row="3" IsEnabled="{Binding Enable}" Margin="0,10,0,0">
  146. <Grid>
  147. <Label Content="Drip Enable" Height="30" VerticalAlignment="Top" />
  148. <RadioButton Content="True" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  149. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.VacuumPrewetDripEnable ,Mode=TwoWay}" Margin="158,-1,0,-6" ></RadioButton>
  150. <RadioButton Content="False" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  151. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.VacuumPrewetDripEnable,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="220,-1,0,-6" ></RadioButton>
  152. </Grid>
  153. </GroupBox>
  154. <GroupBox Grid.Row="4" IsEnabled="{Binding Enable}" Margin="0,10,0,0">
  155. <Grid>
  156. <Label Content="Small Enable" Height="30" VerticalAlignment="Top" />
  157. <RadioButton Content="True" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  158. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.VacuumPrewetSmallEnable ,Mode=TwoWay}" Margin="158,-1,0,-6" ></RadioButton>
  159. <RadioButton Content="False" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  160. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.VacuumPrewetSmallEnable,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="220,-1,0,-6" ></RadioButton>
  161. </Grid>
  162. </GroupBox>
  163. <GroupBox Grid.Row="5" IsEnabled="{Binding Enable}" Margin="0,10,0,0">
  164. <Grid>
  165. <Label Content="Large" Height="30" VerticalAlignment="Top" />
  166. <RadioButton Content="True" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  167. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.VacuumPrewetLargeEnable ,Mode=TwoWay}" Margin="158,-1,0,-6" ></RadioButton>
  168. <RadioButton Content="False" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  169. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.VacuumPrewetLargeEnable,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="220,-1,0,-6" ></RadioButton>
  170. </Grid>
  171. </GroupBox>
  172. <DataGrid x:Name="VacuumPrewetRinseGrid" Width="215" MinRowHeight="27" Grid.Row="6" AutoGenerateColumns="False" CanUserAddRows="False" FontFamily="Arial" FontSize="14" Margin="12,88,73,-78"
  173. ItemsSource="{Binding Recipe.VacuumRinseStep}" SelectionMode="Single" IsEnabled="{Binding Enable}" SelectedIndex="{Binding SelectedVacuumPrewetIndex,Mode=TwoWay}"
  174. ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto">
  175. <DataGrid.Columns>
  176. <DataGridTextColumn Header="Step" IsReadOnly="True" Width="50" Binding="{Binding Step,Mode=TwoWay}" CanUserSort="false" CanUserReorder="False" CanUserResize="False"/>
  177. <DataGridTextColumn Header="Time(sec)" Width="80" Binding="{Binding DurationSeconds,Mode=TwoWay,ValidatesOnDataErrors=True}" CanUserSort="false" CanUserReorder="False" CanUserResize="False" >
  178. </DataGridTextColumn>
  179. <DataGridTextColumn Header="Speed(rpm)" Width="85" Binding="{Binding RotationSpeed,Mode=TwoWay,ValidatesOnDataErrors=True}" CanUserSort="false" CanUserReorder="False" CanUserResize="False" >
  180. </DataGridTextColumn>
  181. </DataGrid.Columns>
  182. </DataGrid>
  183. </Grid>
  184. </GroupBox>
  185. <GroupBox Header="0.Prewet Prepare" Grid.Column="0" Padding="10" Grid.Row="0">
  186. <Grid>
  187. <Grid.RowDefinitions>
  188. <RowDefinition Height="45"></RowDefinition>
  189. <RowDefinition Height="75"></RowDefinition>
  190. </Grid.RowDefinitions>
  191. <Grid.ColumnDefinitions>
  192. <ColumnDefinition Width="58.205"></ColumnDefinition>
  193. <ColumnDefinition Width="241.795"/>
  194. </Grid.ColumnDefinitions>
  195. <UserControls:GroupTextBoxControl Grid.Row="1" Title="DIW Loop DO" Unit="ppm" MinValue="0" MaxValue="10" Width="300"
  196. IntValue="{Binding Recipe.DiwLoopDoSet,Mode=TwoWay}"
  197. ValidResult="{Binding PropertyValidResultDic[DiwLoopDoSet],Mode=TwoWay}" Grid.ColumnSpan="2" />
  198. <GroupBox Grid.Row="0" IsEnabled="{Binding Enable}" Margin="0,10,0,0" Grid.ColumnSpan="2">
  199. <Grid>
  200. <Label Content="Purge Enable" Height="30" VerticalAlignment="Top" />
  201. <RadioButton Content="True" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  202. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.PurgeEnable,Mode=TwoWay}" Margin="158,-1,0,-6" ></RadioButton>
  203. <RadioButton Content="False" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  204. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.PurgeEnable,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="220,-1,0,-6" ></RadioButton>
  205. </Grid>
  206. </GroupBox>
  207. </Grid>
  208. </GroupBox>
  209. <GroupBox Header="4.Spin Off" Grid.Column="0" Padding="10" Grid.Row="1">
  210. <Grid>
  211. <Grid.RowDefinitions>
  212. <RowDefinition Height="75"></RowDefinition>
  213. <RowDefinition Height="75"></RowDefinition>
  214. </Grid.RowDefinitions>
  215. <Grid.ColumnDefinitions>
  216. <ColumnDefinition Width="58.205"></ColumnDefinition>
  217. <ColumnDefinition Width="241.795"/>
  218. </Grid.ColumnDefinitions>
  219. <UserControls:GroupTextBoxControl Grid.Row="0" Title="Spin Speed" Unit="rpm" MinValue="0" MaxValue="1000" Width="300"
  220. IntValue="{Binding Recipe.SpinSpeed,Mode=TwoWay}"
  221. ValidResult="{Binding PropertyValidResultDic[SpinSpeed],Mode=TwoWay}" Grid.ColumnSpan="2" />
  222. <UserControls:GroupTextBoxControl Grid.Row="1" Title="Spin Time" Unit="sec" MinValue="0" MaxValue="10" Width="300"
  223. IntValue="{Binding Recipe.SpinTime,Mode=TwoWay}"
  224. ValidResult="{Binding PropertyValidResultDic[SpinTime],Mode=TwoWay}" Grid.ColumnSpan="2" />
  225. </Grid>
  226. </GroupBox>
  227. <GroupBox Header="2.Vent Prewet" Grid.Column="1" Padding="10" Grid.Row="0" Grid.RowSpan="2">
  228. <Grid Margin="0,0,0,0">
  229. <Grid.RowDefinitions>
  230. <RowDefinition Height="45"></RowDefinition>
  231. <RowDefinition Height="45"></RowDefinition>
  232. <RowDefinition Height="45"></RowDefinition>
  233. <RowDefinition Height="300"></RowDefinition>
  234. </Grid.RowDefinitions>
  235. <Grid.ColumnDefinitions>
  236. <ColumnDefinition Width="300"></ColumnDefinition>
  237. </Grid.ColumnDefinitions>
  238. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Add Below" Height="25" Width="80" FontSize="10" Command="{Binding VentPrewetAddBelowCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,-100,-20,0"></Button>
  239. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Add Above" Height="25" Width="80" FontSize="10" Command="{Binding VentPrewetAddAboveCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,-30,-20,0"></Button>
  240. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Move Up" Height="25" Width="80" FontSize="10" Command="{Binding VentPrewetMoveUpCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,40,-20,0"></Button>
  241. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Move Down" Height="25" Width="80" FontSize="10" Command="{Binding VentPrewetMoveDownCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,110,-20,0"></Button>
  242. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Delete" Height="25" Width="80" FontSize="10" Command="{Binding VentPrewetDeleteCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,180,-20,0"></Button>
  243. <UserControls:GroupTextBoxControl Grid.Row="3" Title="Flow Set Ponit" Unit="L/min" MinValue="0" MaxValue="10" Width="120" Margin="-1,2,201,220"
  244. IntValue="{Binding Recipe.VentPrewetFlowSetPoint,Mode=TwoWay}"
  245. ValidResult="{Binding PropertyValidResultDic[VentPrewetFlowSetPoint],Mode=TwoWay}" />
  246. <UserControls:GroupTextBoxControl Grid.Row="3" Title="Flow Warning" Unit="%" MinValue="0" MaxValue="100" Margin="96,2,84,220" Width="120"
  247. IntValue="{Binding Recipe.VentPrewetFlowWarningPercent,Mode=TwoWay}"
  248. ValidResult="{Binding PropertyValidResultDic[VentPrewetFlowWarningPercent],Mode=TwoWay}" />
  249. <UserControls:GroupTextBoxControl Grid.Row="3" Title="Flow Fault" Unit="%" MinValue="0" MaxValue="100" Margin="213,2,-15,220" Width="120"
  250. IntValue="{Binding Recipe.VentPrewetFlowErrorPercent,Mode=TwoWay}"
  251. ValidResult="{Binding PropertyValidResultDic[VentPrewetFlowErrorPercent],Mode=TwoWay}" />
  252. <GroupBox Grid.Row="0" IsEnabled="{Binding Enable}" Margin="0,10,0,0">
  253. <Grid>
  254. <Label Content="Drip Enable" Height="30" VerticalAlignment="Top" />
  255. <RadioButton Content="True" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  256. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.VentPrewetDripEnable ,Mode=TwoWay}" Margin="158,-1,0,-6" ></RadioButton>
  257. <RadioButton Content="False" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  258. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.VentPrewetDripEnable,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="220,-1,0,-6" ></RadioButton>
  259. </Grid>
  260. </GroupBox>
  261. <GroupBox Grid.Row="1" IsEnabled="{Binding Enable}" Margin="0,10,0,0">
  262. <Grid>
  263. <Label Content="Small Enable" Height="30" VerticalAlignment="Top" />
  264. <RadioButton Content="True" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  265. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.VentPrewetSmallEnable ,Mode=TwoWay}" Margin="158,-1,0,-6" ></RadioButton>
  266. <RadioButton Content="False" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  267. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.VentPrewetSmallEnable,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="220,-1,0,-6" ></RadioButton>
  268. </Grid>
  269. </GroupBox>
  270. <GroupBox Grid.Row="2" IsEnabled="{Binding Enable}" Margin="0,10,0,0">
  271. <Grid>
  272. <Label Content="Large" Height="30" VerticalAlignment="Top" />
  273. <RadioButton Content="True" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  274. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.VentPrewetLargeEnable ,Mode=TwoWay}" Margin="158,-1,0,-6" ></RadioButton>
  275. <RadioButton Content="False" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  276. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.VentPrewetLargeEnable,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="220,-1,0,-6" ></RadioButton>
  277. </Grid>
  278. </GroupBox>
  279. <DataGrid x:Name="VentPrewetRinseGrid" Width="215" MinRowHeight="27" Grid.Row="3" AutoGenerateColumns="False" CanUserAddRows="False" FontFamily="Arial" FontSize="14" Margin="8,89,77,1"
  280. ItemsSource="{Binding Recipe.VentRinseStep}" SelectionMode="Single" IsEnabled="{Binding Enable}" SelectedIndex="{Binding SelectedVentPrewetIndex,Mode=TwoWay}"
  281. ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto" >
  282. <DataGrid.Resources>
  283. <extendedControls:BindingProxy x:Key="DataShowProxy" Data="{Binding}" />
  284. </DataGrid.Resources>
  285. <DataGrid.Columns>
  286. <DataGridTextColumn Header="Step" Width="50" IsReadOnly="True" Binding="{Binding Step,Mode=TwoWay}" CanUserSort="false" CanUserReorder="False" CanUserResize="False"/>
  287. <DataGridTextColumn Header="Time(sec)" Width="80" Binding="{Binding DurationSeconds,Mode=TwoWay,ValidatesOnDataErrors=True}" CanUserSort="false" CanUserReorder="False" CanUserResize="False" >
  288. </DataGridTextColumn>
  289. <DataGridTextColumn Header="Speed(rpm)" Width="85" Binding="{Binding RotationSpeed,Mode=TwoWay,ValidatesOnDataErrors=True}" CanUserSort="false" CanUserReorder="False" CanUserResize="False" >
  290. </DataGridTextColumn>
  291. </DataGrid.Columns>
  292. </DataGrid>
  293. </Grid>
  294. </GroupBox>
  295. <GroupBox Header="3.Extend Clean" Grid.Column="2" Padding="10" Grid.Row="0" Grid.RowSpan="2">
  296. <Grid>
  297. <Grid.RowDefinitions>
  298. <RowDefinition Height="45"></RowDefinition>
  299. <RowDefinition Height="45"></RowDefinition>
  300. <RowDefinition Height="45"></RowDefinition>
  301. <RowDefinition Height="200"></RowDefinition>
  302. </Grid.RowDefinitions>
  303. <Grid.ColumnDefinitions>
  304. <ColumnDefinition Width="300"></ColumnDefinition>
  305. </Grid.ColumnDefinitions>
  306. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Add Below" Height="25" Width="80" FontSize="10" Command="{Binding ExtendCleanAddBelowCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,10,-20,0"></Button>
  307. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Add Above" Height="25" Width="80" FontSize="10" Command="{Binding ExtendCleanAddAboveCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,80,-20,0"></Button>
  308. <Button Grid.Row="6" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Move Up" Height="25" Width="80" FontSize="10" Command="{Binding ExtendCleanMoveUpCommand}" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="0,150,-20,0"></Button>
  309. <Button Grid.Row="3" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Move Down" FontSize="10" Height="26" Width="80" Command="{Binding ExtendCleanMoveDownCommand}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,-20,-23"/>
  310. <Button Grid.Row="3" Style="{StaticResource SysBtnStyle}" IsEnabled="{Binding Enable}" Content="Delete" Height="24" Width="80" FontSize="10" Command="{Binding ExtendCleanDeleteCommand}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,-20,-57"></Button>
  311. <UserControls:GroupTextBoxControl Grid.Row="3" Title="Flow Set Ponit" Unit="L/min" MinValue="0" MaxValue="10" Width="120" Margin="1,3,199,123"
  312. IntValue="{Binding Recipe.ExtendCleanFlowSetPoint,Mode=TwoWay}"
  313. ValidResult="{Binding PropertyValidResultDic[ExtendCleanFlowSetPoint],Mode=TwoWay}" />
  314. <UserControls:GroupTextBoxControl Grid.Row="3" Title="Flow Warning" Unit="%" MinValue="0" MaxValue="100" Margin="100,2,105,122" Width="120"
  315. IntValue="{Binding Recipe.ExtendCleanFlowWarningPercent,Mode=TwoWay}"
  316. ValidResult="{Binding PropertyValidResultDic[ExtendCleanFlowWarningPercent],Mode=TwoWay}" />
  317. <UserControls:GroupTextBoxControl Grid.Row="3" Title="Flow Fault" Unit="%" MinValue="0" MaxValue="100" Margin="196,1,-16,122" Width="120"
  318. IntValue="{Binding Recipe.ExtendCleanFlowErrorPercent,Mode=TwoWay}"
  319. ValidResult="{Binding PropertyValidResultDic[ExtendCleanFlowErrorPercent],Mode=TwoWay}" />
  320. <GroupBox Grid.Row="0" IsEnabled="{Binding Enable}" Margin="0,10,0,0">
  321. <Grid>
  322. <Label Content="Drip Enable" Height="30" VerticalAlignment="Top" />
  323. <RadioButton Content="True" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  324. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.ExtendCleanDripEnable ,Mode=TwoWay}" Margin="158,-1,0,-6" ></RadioButton>
  325. <RadioButton Content="False" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  326. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.ExtendCleanDripEnable,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="220,-1,0,-6" ></RadioButton>
  327. </Grid>
  328. </GroupBox>
  329. <GroupBox Grid.Row="1" IsEnabled="{Binding Enable}" Margin="0,10,0,0">
  330. <Grid>
  331. <Label Content="Small Enable" Height="30" VerticalAlignment="Top" />
  332. <RadioButton Content="True" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  333. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.ExtendCleanSmallEnable ,Mode=TwoWay}" Margin="158,-1,0,-6" ></RadioButton>
  334. <RadioButton Content="False" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  335. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.ExtendCleanSmallEnable,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="220,-1,0,-6" ></RadioButton>
  336. </Grid>
  337. </GroupBox>
  338. <GroupBox Grid.Row="2" IsEnabled="{Binding Enable}" Margin="0,10,0,0">
  339. <Grid>
  340. <Label Content="Large" Height="30" VerticalAlignment="Top" />
  341. <RadioButton Content="True" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Left"
  342. Command="{Binding AutoCurrentBasedFalseCommand}" IsChecked="{Binding Recipe.ExtendCleanLargeEnable ,Mode=TwoWay}" Margin="158,-1,0,-6" ></RadioButton>
  343. <RadioButton Content="False" Height="30" Width="60" VerticalContentAlignment="Center" HorizontalAlignment="Center"
  344. Command="{Binding AutoCurrentBasedTrueCommand}" IsChecked="{Binding Recipe.ExtendCleanLargeEnable,Mode=TwoWay,Converter={StaticResource boolReverseConverter}}" Margin="220,-1,0,-6" ></RadioButton>
  345. </Grid>
  346. </GroupBox>
  347. <DataGrid x:Name="ExtendCleanRinseGrid" Width="215" MinRowHeight="27" Grid.Row="3" AutoGenerateColumns="False" CanUserAddRows="False" FontFamily="Arial" FontSize="14" Margin="12,93,73,-83"
  348. ItemsSource="{Binding Recipe.ExtendCleanRinseStep}" SelectionMode="Single" IsEnabled="{Binding Enable}" SelectedIndex="{Binding SelectedExtendCleanIndex,Mode=TwoWay}"
  349. ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Auto">
  350. <DataGrid.Resources>
  351. <extendedControls:BindingProxy x:Key="DataShowProxy" Data="{Binding}" />
  352. </DataGrid.Resources>
  353. <DataGrid.Columns>
  354. <DataGridTextColumn Header="Step" Width="50" IsReadOnly="True" Binding="{Binding Step,Mode=TwoWay}" CanUserSort="false" CanUserReorder="False" CanUserResize="False"/>
  355. <DataGridTextColumn Header="Time(sec)" Width="80" Binding="{Binding DurationSeconds,Mode=TwoWay,ValidatesOnDataErrors=True}" CanUserSort="false" CanUserReorder="False" CanUserResize="False" >
  356. </DataGridTextColumn>
  357. <DataGridTextColumn Header="Speed(rpm)" Width="85" Binding="{Binding RotationSpeed,Mode=TwoWay,ValidatesOnDataErrors=True}" CanUserSort="false" CanUserReorder="False" CanUserResize="False" >
  358. </DataGridTextColumn>
  359. </DataGrid.Columns>
  360. </DataGrid>
  361. </Grid>
  362. </GroupBox>
  363. </Grid>
  364. </Grid>
  365. </UserControl>