|
@@ -1210,8 +1210,9 @@ namespace FurnaceUI.Views.Recipes
|
|
|
public string RecipeType { get; set; }
|
|
|
|
|
|
private RecipeProcessEditView view1;
|
|
|
+ private int _tableIndex;
|
|
|
|
|
|
- public RecipeProcessEditViewModel(string strPrefixPath, string strRecipeName, string permission = "")
|
|
|
+ public RecipeProcessEditViewModel(string strPrefixPath, string strRecipeName, string permission = "", int tableIndex = 1)
|
|
|
{
|
|
|
|
|
|
PumpDict.Clear();
|
|
@@ -1231,6 +1232,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
CurrentRecipe.PrefixPath = strPrefixPath;
|
|
|
CurrentRecipe.Name = strRecipeName;
|
|
|
CurrentRecipe.RecipePermission = permission;
|
|
|
+ _tableIndex = tableIndex;
|
|
|
}
|
|
|
protected override void OnViewLoaded(object view)
|
|
|
{
|
|
@@ -1283,7 +1285,7 @@ namespace FurnaceUI.Views.Recipes
|
|
|
return;
|
|
|
}
|
|
|
// CurrentRecipe.RecipeChamberType = "OriginChamber";
|
|
|
- CurrentRecipe.InitData(CurrentRecipe.PrefixPath, CurrentRecipe.Name, recipeContent, "PM1");
|
|
|
+ CurrentRecipe.InitData(CurrentRecipe.PrefixPath, CurrentRecipe.Name, recipeContent, "PM1",_tableIndex);
|
|
|
if (CurrentRecipe.Steps.Count > 0)
|
|
|
{
|
|
|
if (!string.IsNullOrEmpty(SelectedStepName))
|