SequenceRecipeView.xaml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <UserControl xmlns:Control="clr-namespace:MECF.Framework.UI.Core.Control;assembly=MECF.Framework.UI.Core"
  2. xmlns:UserControls="clr-namespace:CyberX8_Themes.UserControls;assembly=CyberX8_Themes"
  3. x:Class="CyberX8_MainPages.Views.SequenceRecipeView"
  4. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  5. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  6. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  7. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  8. xmlns:local="clr-namespace:CyberX8_MainPages.Views"
  9. xmlns:prism="http://prismlibrary.com/"
  10. xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
  11. xmlns:converters="clr-namespace:CyberX8_MainPages.Converters"
  12. prism:ViewModelLocator.AutoWireViewModel="True"
  13. mc:Ignorable="d"
  14. d:DesignHeight="700" d:DesignWidth="1800" Loaded="UserControl_Loaded">
  15. <UserControl.Resources>
  16. <converters:BoolReverseConverter x:Key="boolReverseConverter"/>
  17. </UserControl.Resources>
  18. <Grid>
  19. <Grid.RowDefinitions>
  20. <RowDefinition Height="100"></RowDefinition>
  21. <RowDefinition/>
  22. </Grid.RowDefinitions>
  23. <Grid.ColumnDefinitions>
  24. <ColumnDefinition Width="50"></ColumnDefinition>
  25. <ColumnDefinition Width="400"></ColumnDefinition>
  26. <ColumnDefinition Width="700"></ColumnDefinition>
  27. <ColumnDefinition Width="500"></ColumnDefinition>
  28. <ColumnDefinition/>
  29. </Grid.ColumnDefinitions>
  30. <UserControls:RecipeFileLoadControl Grid.Row="1" Grid.Column="1" Title="Seq Recipe" RecipeNodes="{Binding RecipeNodes}" OperationCommand="{Binding OperationCommand}"
  31. RecipeLocation="{Binding CurrentNode.RecipeLocation}" EditEnable="{Binding EditEnable}" CreateEnable="{Binding CreateEnable}" RecipeFileName="{Binding CurrentNode.FileName}"
  32. CreateCommand="{Binding CreateCommand}" EditCommand="{Binding EditCommand}"/>
  33. <Grid Grid.Row="1" Grid.Column="2">
  34. <Grid.RowDefinitions>
  35. <RowDefinition Height="70"></RowDefinition>
  36. <RowDefinition Height="70"></RowDefinition>
  37. <RowDefinition Height="70"></RowDefinition>
  38. <RowDefinition/>
  39. </Grid.RowDefinitions>
  40. <GroupBox Header="PPID" Grid.Row="0">
  41. <TextBlock Text="{Binding Recipe.Ppid}" FontSize="20" VerticalAlignment="Center" TextAlignment="Center">
  42. </TextBlock>
  43. </GroupBox>
  44. <GroupBox Header="Description" Grid.Row="1">
  45. <TextBlock Text="{Binding Recipe.Description}" FontSize="18" VerticalAlignment="Center" TextAlignment="Center">
  46. </TextBlock>
  47. </GroupBox>
  48. <Grid Grid.Row="2">
  49. <Grid.ColumnDefinitions>
  50. <ColumnDefinition/>
  51. <ColumnDefinition/>
  52. <ColumnDefinition/>
  53. </Grid.ColumnDefinitions>
  54. <GroupBox Header="Author" Grid.Column="0">
  55. <TextBlock Text="{Binding Recipe.Author}" VerticalAlignment="Center" TextAlignment="Center"/>
  56. </GroupBox>
  57. <GroupBox Header="CreateDate" Grid.Column="1">
  58. <TextBlock Text="{Binding Recipe.CreateDate,StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}" VerticalAlignment="Center" TextAlignment="Center"/>
  59. </GroupBox>
  60. <GroupBox Header="CreateDate" Grid.Column="2">
  61. <TextBlock Text="{Binding Recipe.SaveDate,StringFormat={}{0:yyyy-MM-dd HH:mm:ss}}" VerticalAlignment="Center" TextAlignment="Center"/>
  62. </GroupBox>
  63. </Grid>
  64. <Grid Grid.Row="3">
  65. <Grid.ColumnDefinitions>
  66. <ColumnDefinition Width="200"></ColumnDefinition>
  67. <ColumnDefinition Width="100"></ColumnDefinition>
  68. <ColumnDefinition/>
  69. </Grid.ColumnDefinitions>
  70. <GroupBox Header="Process Sequece" Grid.Column="0">
  71. <Border BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  72. <ListBox ItemsSource="{Binding ProcessRecipes,Mode=TwoWay}" SelectedIndex="{Binding SelectedProcessRecipeIndex,Mode=TwoWay}" SelectedItem="{Binding SelectedProcessRecipe}">
  73. </ListBox>
  74. </Border>
  75. </GroupBox>
  76. <Grid Grid.Column="1" IsEnabled="{Binding Enable}">
  77. <Button Style="{StaticResource SysBtnStyle}" Content="Add Recipe" Height="35" Margin="2,62,2,294" Command="{Binding AddRecipeCommand}"></Button>
  78. <Button Style="{StaticResource SysBtnStyle}" Content="Remove Recipe" Height="35" Margin="2,121,2,234" Command="{Binding RemoveRecipeCommand}"></Button>
  79. <Button Style="{StaticResource SysBtnStyle}" Content="Move Up" Height="35" Margin="2,220,2,135" Command="{Binding MoveUpCommand}"></Button>
  80. <Button Style="{StaticResource SysBtnStyle}" Content="Move Down" Height="35" Margin="2,272,2,83" Command="{Binding MoveDownCommand}"></Button>
  81. </Grid>
  82. <GroupBox Header="Avaible Recipes" Grid.Column="2">
  83. <Grid>
  84. <Grid.RowDefinitions>
  85. <RowDefinition Height="50"></RowDefinition>
  86. <RowDefinition></RowDefinition>
  87. <RowDefinition Height="50"></RowDefinition>
  88. <RowDefinition/>
  89. </Grid.RowDefinitions>
  90. <Label Grid.Row="0" Content="Recipe Types" VerticalAlignment="Center"></Label>
  91. <Label Grid.Row="2" Content="Recipes" VerticalAlignment="Center"></Label>
  92. <Border Grid.Row="1" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,1" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  93. <ListBox ItemsSource="{Binding AvaibleRecipeTypeLst}" SelectedItem="{Binding SelectedAvaibleRecipeType}">
  94. </ListBox>
  95. </Border>
  96. <Border Grid.Row="3" BorderBrush="{DynamicResource Table_BD}" BorderThickness="1,1,1,0" Background="{DynamicResource Table_BG_Content}" Padding="5,1">
  97. <ListBox ItemsSource="{Binding SubRecipeNodes}" SelectedItem="{Binding SelectedSubRecipe}">
  98. </ListBox>
  99. </Border>
  100. </Grid>
  101. </GroupBox>
  102. </Grid>
  103. </Grid>
  104. <Grid Grid.Row="1" Grid.Column="3">
  105. <Grid.RowDefinitions>
  106. <RowDefinition Height="70"></RowDefinition>
  107. <RowDefinition Height="70"></RowDefinition>
  108. <RowDefinition Height="70"></RowDefinition>
  109. <RowDefinition/>
  110. </Grid.RowDefinitions>
  111. <Grid Grid.Row="0" IsEnabled="{Binding Enable}">
  112. <Grid.ColumnDefinitions>
  113. <ColumnDefinition/>
  114. <ColumnDefinition/>
  115. <ColumnDefinition/>
  116. </Grid.ColumnDefinitions>
  117. <Button Grid.Column="0" Style="{StaticResource SysBtnStyle}" Content="Save" Height="35" Width="100" Command="{Binding SaveRecipeCommand}"></Button>
  118. <Button Grid.Column="1" Style="{StaticResource SysBtnStyle}" Content="SaveAs" Height="35" Width="100" Command="{Binding SaveAsRecipeCommand}"></Button>
  119. </Grid>
  120. <Grid Grid.Row="3">
  121. <Grid.RowDefinitions>
  122. <RowDefinition Height="70"></RowDefinition>
  123. <RowDefinition Height="70"></RowDefinition>
  124. <RowDefinition Height="70"></RowDefinition>
  125. <RowDefinition Height="70"></RowDefinition>
  126. <RowDefinition/>
  127. </Grid.RowDefinitions>
  128. <GroupBox Header="Substrate Size" IsEnabled="{Binding Enable}">
  129. <ComboBox Height="30" Margin="0,0,20,0" ItemsSource="{Binding WaferSizeLst}" SelectedItem="{Binding Recipe.SubstrateSize}">
  130. </ComboBox>
  131. </GroupBox>
  132. <GroupBox Grid.Row="1" Header="LS Type" IsEnabled="{Binding Enable}">
  133. <ComboBox Height="30" Margin="0,0,20,0" ItemsSource="{Binding CrsTypeLst}" SelectedItem="{Binding Recipe.CrsType}">
  134. </ComboBox>
  135. </GroupBox>
  136. <GroupBox Grid.Row="2" Header="Single Wafer shuttle Side" IsEnabled="{Binding Enable}">
  137. <Grid>
  138. <Grid.ColumnDefinitions>
  139. <ColumnDefinition Width="23*"/>
  140. <ColumnDefinition Width="221*"/>
  141. </Grid.ColumnDefinitions>
  142. <RadioButton Content="SideB" Height="35" Width="100" VerticalContentAlignment="Center" Margin="71,6,271,7" IsChecked="{Binding Recipe.LastSingleWaferToSideB}" Grid.Column="1"></RadioButton>
  143. <RadioButton Content="SideA" Height="35" Width="100" VerticalContentAlignment="Center" Margin="207,6,135,7" IsChecked="{Binding Recipe.LastSingleWaferToSideB,Converter={StaticResource boolReverseConverter}}" Grid.Column="1"></RadioButton>
  144. </Grid>
  145. </GroupBox>
  146. <UserControls:GroupTextBoxControl Grid.Row="3" Title="Alignment Angle" MinValue="0" MaxValue="360" IntValue="{Binding Recipe.AlignmentAngle,Mode=TwoWay}" ValidResult="{Binding PropertyValidResultDic[AlignmentAngle],Mode=TwoWay}" Unit="deg" />
  147. </Grid>
  148. </Grid>
  149. </Grid>
  150. </UserControl>