|
@@ -34,10 +34,9 @@ namespace Venus_MainPages.Views
|
|
|
set { SetValue(WAInfoProperty, value); }
|
|
|
}
|
|
|
public static readonly DependencyProperty WAInfoProperty = DependencyProperty.Register("WAInfo", typeof(WaferAssociationInfo), typeof(WaferAssociationUnit));
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
private void cb_DropDownOpened(object sender, EventArgs e)
|
|
|
{
|
|
|
cb.ItemsSource= GetFilesNames(System.IO.Path.Combine(QueryDataClient.Instance.Service.GetData("GetRTPath").ToString(), "Recipes", "Sequence")).ToList();
|
|
@@ -52,5 +51,63 @@ namespace Venus_MainPages.Views
|
|
|
{
|
|
|
WAInfo.SequenceName = cb.SelectedValue.ToString();
|
|
|
}
|
|
|
+
|
|
|
+ private void preComboBox_DropDownOpened(object sender, EventArgs e)
|
|
|
+ {
|
|
|
+ List<string> cleanRecipes=new List<string>();
|
|
|
+ string installModules = (string)QueryDataClient.Instance.Service.GetConfig("System.InstalledModules");
|
|
|
+ if (installModules.Contains("PMA"))
|
|
|
+ {
|
|
|
+ cleanRecipes.AddRange(CommonFunction.GetFilesNames(System.IO.Path.Combine(QueryDataClient.Instance.Service.GetData("GetRTPath").ToString(), "Recipes", "PMA","Clean")).ToList());
|
|
|
+ }
|
|
|
+ if (installModules.Contains("PMB"))
|
|
|
+ {
|
|
|
+ cleanRecipes.AddRange(CommonFunction.GetFilesNames(System.IO.Path.Combine(QueryDataClient.Instance.Service.GetData("GetRTPath").ToString(), "Recipes", "PMB", "Clean")).ToList());
|
|
|
+ }
|
|
|
+ if (installModules.Contains("PMC"))
|
|
|
+ {
|
|
|
+ cleanRecipes.AddRange(CommonFunction.GetFilesNames(System.IO.Path.Combine(QueryDataClient.Instance.Service.GetData("GetRTPath").ToString(), "Recipes", "PMC", "Clean")).ToList());
|
|
|
+ }
|
|
|
+ if (installModules.Contains("PMD"))
|
|
|
+ {
|
|
|
+ cleanRecipes.AddRange(CommonFunction.GetFilesNames(System.IO.Path.Combine(QueryDataClient.Instance.Service.GetData("GetRTPath").ToString(), "Recipes", "PMD", "Clean")).ToList());
|
|
|
+ }
|
|
|
+ cleanRecipes.Add("");
|
|
|
+ preComboBox.ItemsSource = cleanRecipes.Distinct();
|
|
|
+ }
|
|
|
+
|
|
|
+ private void preComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
|
|
+ {
|
|
|
+ WAInfo.PreCleanRecipeName= preComboBox.SelectedValue.ToString();
|
|
|
+ }
|
|
|
+ private void postComboBox_DropDownOpened(object sender, EventArgs e)
|
|
|
+ {
|
|
|
+ List<string> cleanRecipes = new List<string>();
|
|
|
+ string installModules = (string)QueryDataClient.Instance.Service.GetConfig("System.InstalledModules");
|
|
|
+ if (installModules.Contains("PMA"))
|
|
|
+ {
|
|
|
+ cleanRecipes.AddRange(CommonFunction.GetFilesNames(System.IO.Path.Combine(QueryDataClient.Instance.Service.GetData("GetRTPath").ToString(), "Recipes", "PMA", "Clean")).ToList());
|
|
|
+ }
|
|
|
+ if (installModules.Contains("PMB"))
|
|
|
+ {
|
|
|
+ cleanRecipes.AddRange(CommonFunction.GetFilesNames(System.IO.Path.Combine(QueryDataClient.Instance.Service.GetData("GetRTPath").ToString(), "Recipes", "PMB", "Clean")).ToList());
|
|
|
+ }
|
|
|
+ if (installModules.Contains("PMC"))
|
|
|
+ {
|
|
|
+ cleanRecipes.AddRange(CommonFunction.GetFilesNames(System.IO.Path.Combine(QueryDataClient.Instance.Service.GetData("GetRTPath").ToString(), "Recipes", "PMC", "Clean")).ToList());
|
|
|
+ }
|
|
|
+ if (installModules.Contains("PMD"))
|
|
|
+ {
|
|
|
+ cleanRecipes.AddRange(CommonFunction.GetFilesNames(System.IO.Path.Combine(QueryDataClient.Instance.Service.GetData("GetRTPath").ToString(), "Recipes", "PMD", "Clean")).ToList());
|
|
|
+ }
|
|
|
+ cleanRecipes.Add("");
|
|
|
+ postComboBox.ItemsSource = cleanRecipes.Distinct();
|
|
|
+ }
|
|
|
+
|
|
|
+ private void postComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
|
|
+ {
|
|
|
+ WAInfo.PostCleanRecipeName = postComboBox.SelectedValue.ToString();
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
}
|