using MECF.Framework.Common.RecipeCenter; using System; using System.Collections.Generic; using System.Collections.ObjectModel; namespace CyberX8_MainPages.PMs { interface IUiRecipeManager { string LoadRecipe(string chamId, string receipeName); Tuple LoadRunTimeRecipeInfo(string chamId); IEnumerable GetRecipes(string chamId, bool includeUsedRecipe); ObservableCollection GetRecipesByType(string recipeType); bool DeleteRecipe(string chamId, string recipeName); bool SaveAsRecipe(string chamId, string recipeName, string recipeContent); bool SaveRecipe(string chamId, string recipeName, string recipeContent); bool RenameRecipe(string chamId, string oldName, string newName); bool CreateFolder(string chamId, string folderName); bool MoveRecipeFile(string chamId, string folderName, string tragetFolderName); bool DeleteFolder(string chamId, string foldName); string GetXmlRecipeList(string chamId, bool includingUsedRecipe); bool RenameFolder(string chamId, string oldName, string newName); string GetRecipeFormatXml(string chamId); string GetRecipeTemplate(string chamId); } }