|
@@ -1352,12 +1352,14 @@ namespace FurnaceUI.Views.Recipes
|
|
|
{
|
|
|
UIGlobalVariable.Instance.ProcessModifiedRecipe[CurrentFileNode.FullPath] = $"Rename Recipe from [{CurrentFileNode.FullPath}] to [{recipeName}] {DateTime.Now}";
|
|
|
}
|
|
|
- CurrentRecipe.Name = dialog.FileName;
|
|
|
+ CurrentRecipe.Name = newName;
|
|
|
CurrentRecipe.Description = dialog.Comment;
|
|
|
- this.CurrentRecipe.LastReviseBy = BaseApp.Instance.UserContext.LoginName;
|
|
|
- this.CurrentRecipe.PrefixPath = prefix;
|
|
|
+ this.CurrentRecipe.PrefixPath = CurrentChamberType + "\\" + CurrentProcessType; ;
|
|
|
this.CurrentRecipe.LastRevisionTime = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
|
|
|
- _recipeProvider.SaveRecipe(CurrentRecipe.PrefixPath, CurrentRecipe.Name, CurrentRecipe.GetXmlString());
|
|
|
+ this.CurrentRecipe.LastReviseBy = BaseApp.Instance.UserContext.LoginName;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
//ReloadRecipeFileList(CurrentChamberType, CurrentProcessType, newName, false);
|
|
|
ProcessTypeFileItem item = ProcessTypeFileList.FirstOrDefault(x => x.ProcessType == CurrentProcessType);
|
|
|
item.FileListByProcessType = RecipeSequenceTreeBuilder.GetFileNodeParameterList($"{ChamberType[ChamberTypeIndexSelection]}\\{item.ProcessType}");// RecipeSequenceTreeBuilder.BuildFileNode(prefix, selectedFile, selectionIsFolder, recipes)[0].Files;
|