CleanRecipeView.xaml 6.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <UserControl x:Class="Venus_MainPages.Views.CleanRecipeView"
  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. xmlns:prism="http://prismlibrary.com/"
  8. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  9. prism:ViewModelLocator.AutoWireViewModel="True"
  10. xmlns:unity="clr-namespace:Venus_MainPages.Unity"
  11. xmlns:customControls="clr-namespace:Venus_Themes.CustomControls;assembly=Venus_Themes"
  12. mc:Ignorable="d"
  13. d:DesignHeight="450" d:DesignWidth="800">
  14. <Canvas>
  15. <RadioButton Content="Manual" FontSize="15" Width="150" Height="33" Canvas.Left="500" Canvas.Top="200" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding IsEnableCleanRecipe,Converter={StaticResource BoolToBool},Mode=TwoWay}" Command="{Binding EnableCleanRecipeCommand}" CommandParameter="true"/>
  16. <RadioButton Content="Auto" FontSize="15" Width="150" Height="33" Canvas.Left="700" Canvas.Top="200" Style="{StaticResource Button_RadioButton}" IsChecked="{Binding IsEnableCleanRecipe,Mode=TwoWay}" Command="{Binding EnableCleanRecipeCommand}" CommandParameter="false"/>
  17. <TextBox Width="140" Height="30" Text="Clean Recipe:" Canvas.Left="500" Canvas.Top="260" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="15" IsReadOnly="True" Background="Transparent"/>
  18. <Border Width="210" Height="28" Canvas.Left="640" Canvas.Top="261" BorderBrush="Black" BorderThickness=".7">
  19. <ComboBox ItemsSource="{Binding CurrentModuleRecipes}" SelectedItem="{Binding SelectedCleanRecipe}" IsEnabled="{Binding IsAutoMode}" Style="{StaticResource customeComboBoxStyle}" BorderBrush="White" FontSize="15">
  20. <i:Interaction.Triggers>
  21. <i:EventTrigger EventName="DropDownOpened">
  22. <i:InvokeCommandAction Command="{Binding LoadRecipeCommand}"/>
  23. </i:EventTrigger>
  24. </i:Interaction.Triggers>
  25. </ComboBox>
  26. </Border>
  27. <customControls:PathButton Width="120" Height="30" Content="Start" Canvas.Left="880" Canvas.Top="261" IsEnabled="{Binding IsEnableCleanRecipe,Converter={StaticResource BoolToBool}}" Command="{Binding RunRecipeCommand}"/>
  28. <StackPanel Canvas.Left="500" Canvas.Top="310" Orientation="Horizontal">
  29. <TextBlock Text="PM Idle During Time:" FontSize="18"/>
  30. <TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding IdleDuringTime, StringFormat=hh\\:mm\\:ss}" FontSize="18" Padding="10,0,0,0"/>
  31. </StackPanel>
  32. <StackPanel Canvas.Left="500" Canvas.Top="360" Orientation="Horizontal">
  33. <TextBlock Text="Runned Wafer Count:" FontSize="18"/>
  34. <TextBlock Grid.Row="4" Grid.Column="1" Text="0" FontSize="18" Padding="10,0,0,0"/>
  35. </StackPanel>
  36. <Grid Canvas.Left="500" Canvas.Top="410" Width="540" Height="175" unity:GridOptions.ShowBorder="True" unity:GridOptions.LineBrush="#afb4db" unity:GridOptions.LineThickness="2">
  37. <Grid.ColumnDefinitions>
  38. <ColumnDefinition Width="2*"/>
  39. <ColumnDefinition />
  40. <ColumnDefinition />
  41. <ColumnDefinition />
  42. </Grid.ColumnDefinitions>
  43. <Grid.RowDefinitions>
  44. <RowDefinition/>
  45. <RowDefinition/>
  46. <RowDefinition/>
  47. <RowDefinition/>
  48. <RowDefinition/>
  49. </Grid.RowDefinitions>
  50. <TextBlock Grid.Column="1" Text="Current Value" FontSize="15" Padding="8,8,0,0"/>
  51. <TextBlock Grid.Column="2" Text="New Value" FontSize="15" Padding="20,8,0,0"/>
  52. <TextBlock Grid.Column="3" Text="Set" FontSize="15" Padding="40,8,0,0"/>
  53. <TextBlock Grid.Row="1" Grid.Column="0" Text="Idle Clean Recipe" FontSize="15" Padding="5,8,0,0"/>
  54. <TextBlock Grid.Row="2" Grid.Column="0" Text="Idle Clean Time" FontSize="15" Padding="5,8,0,0"/>
  55. <TextBlock Grid.Row="3" Grid.Column="0" Text="Idle Clean Wafer Count" FontSize="15" Padding="5,8,0,0"/>
  56. <TextBlock Grid.Row="4" Grid.Column="0" Text="Mode" FontSize="15" Padding="5,8,0,0"/>
  57. <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding CleanRecipeFeedback}" FontSize="15" Padding="5,8,0,0"/>
  58. <TextBlock Grid.Row="2" Grid.Column="1" Text="{Binding IdleCleanTimeFeedback}" FontSize="15" Padding="5,8,0,0"/>
  59. <TextBlock Grid.Row="3" Grid.Column="1" Text="{Binding IdleCleanWaferCountFeedback}" FontSize="15" Padding="5,8,0,0"/>
  60. <TextBlock Grid.Row="4" Grid.Column="1" Text="{Binding IdleCleanModeFeedback}" FontSize="15" Padding="5,8,0,0"/>
  61. <ComboBox Grid.Row="1" Grid.Column="2" ItemsSource="{Binding CurrentModuleRecipes}" SelectedItem="{Binding CleanRecipeSetpoint}" Style="{StaticResource customeComboBoxStyle}" BorderBrush="White" FontSize="15">
  62. <i:Interaction.Triggers>
  63. <i:EventTrigger EventName="DropDownOpened">
  64. <i:InvokeCommandAction Command="{Binding LoadRecipeCommand}"/>
  65. </i:EventTrigger>
  66. </i:Interaction.Triggers>
  67. </ComboBox>
  68. <TextBox Grid.Row="2" Grid.Column="2" Text="{Binding IdleCleanTimeSetpoint,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
  69. <TextBox Grid.Row="3" Grid.Column="2" Text="{Binding IdleCleanWaferCountSetpoint,UpdateSourceTrigger=PropertyChanged}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center"/>
  70. <ComboBox Grid.Row="4" Grid.Column="2" ItemsSource="{Binding IdleCleanModes}" SelectedItem="{Binding IdleCleanModeSetpoint,UpdateSourceTrigger=PropertyChanged}" Style="{StaticResource customeComboBoxStyle}" BorderBrush="White" FontSize="15">
  71. </ComboBox>
  72. <Button Grid.Row="1" Grid.Column="3" Content="Set" Margin="1" Command="{Binding SetCommand}" CommandParameter="0"/>
  73. <Button Grid.Row="2" Grid.Column="3" Content="Set" Margin="1" Command="{Binding SetCommand}" CommandParameter="1"/>
  74. <Button Grid.Row="3" Grid.Column="3" Content="Set" Margin="1" Command="{Binding SetCommand}" CommandParameter="2"/>
  75. <Button Grid.Row="4" Grid.Column="3" Content="Set" Margin="1" Command="{Binding SetCommand}" CommandParameter="3"/>
  76. </Grid>
  77. </Canvas>
  78. </UserControl>