VpwRecipeView.xaml 34 KB

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