| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 | 
							- using System;
 
- using System.Collections.Generic;
 
- using System.Collections.ObjectModel;
 
- using System.ServiceModel;
 
- using MECF.Framework.Common.CommonData;
 
- using MECF.Framework.Common.Equipment;
 
- namespace MECF.Framework.Common.RecipeCenter
 
- {
 
-     [ServiceContract]
 
-     public interface IRecipeService
 
-     {
 
-         [OperationContract]
 
-         string LoadRecipe(ModuleName chamId, string recipeName);
 
-         /// <summary>
 
-         /// 
 
-         /// </summary>
 
-         /// <param name="chamId"></param>
 
-         /// <returns> recipeName + recipeContent </returns>
 
-         [OperationContract]
 
-         Tuple<string, string> LoadRunTimeRecipeInfo(ModuleName chamId);
 
-         [OperationContract]
 
-         IEnumerable<string> GetRecipes(ModuleName chamId, bool includeUsedRecipe);
 
-         [OperationContract]
 
-         string GetXmlRecipeList(ModuleName chamId, bool includeUsedRecipe);
 
-         [OperationContract]
 
-         bool DeleteRecipe(ModuleName chamId, string recipeName);
 
-         [OperationContract]
 
-         bool DeleteFolder(ModuleName chamId, string folderName);
 
-         [OperationContract]
 
-         bool SaveAsRecipe(ModuleName chamId, string recipeName, string recipeContent);
 
-         [OperationContract]
 
-         bool SaveRecipe(ModuleName chamId, string recipeName, string recipeContent);
 
-         [OperationContract]
 
-         bool CreateFolder(ModuleName chamId, string folderName);
 
-         [OperationContract]
 
-         bool RenameRecipe(ModuleName chamId, string oldName, string newName);
 
-         [OperationContract]
 
-         bool BackupRecipe(string fileOriginalPath, string fileDestinationPath, bool isSaveLinkRecipe, List<string> recipeNames);
 
-         [OperationContract]
 
-         bool CheckBackRecipeIsLinkRecipe(string fileOriginalPath, List<string> recipeNames);
 
-         [OperationContract]
 
-         string GetXmlRestoreRecipeList(string fileType, bool includeUsedRecipe);
 
-         [OperationContract]
 
-         string LoadRestoreRecipe(string pathName, string recipeName);
 
-         [OperationContract]
 
-         List<string> RestoreRecipeFolderList();
 
-         [OperationContract]
 
-         bool RestoreRecipe(string chamId,bool isSaveLink, List<string> recipeNames);
 
-         [OperationContract]
 
-         bool CheckRestoreRecipeIsLinkRecipe(string fileOriginalPath, List<string> recipeNames);
 
-         [OperationContract]
 
-         bool SigRestoreRecipe(string chamId, List<string> recipeNames);
 
-         [OperationContract]
 
-         bool RenameFolder(ModuleName chamId, string oldName, string newName);
 
-         [OperationContract]
 
-         string GetRecipeFormatXml(ModuleName chamId);
 
-         [OperationContract]
 
-         Dictionary<string, ObservableCollection<RecipeTemplateColumnBase>> GetGroupRecipeTemplate();
 
-         [OperationContract]
 
-         string GetRecipeTemplate(ModuleName chamId);
 
-         [OperationContract]
 
-         string GetRecipeByBarcode(ModuleName chamId, string barcode);
 
-         [OperationContract]
 
-         List<string> CheckRecipe(string prefix, string recipeName);
 
-         [OperationContract]
 
-         bool GetRecipeChecked(string prefix, string recipeName);
 
-         [OperationContract]
 
-         List<FileNodeItem> GetFileNodeParameterListByPath(string pathName);
 
-         #region Sequence
 
-         [OperationContract]
 
-         string GetXmlSequenceList(ModuleName chamId);
 
-         [OperationContract]
 
-         string GetSequence(string sequenceName);
 
-         [OperationContract]
 
-         List<string> GetSequenceNameList();
 
-         [OperationContract]
 
-         bool DeleteSequence(string sequenceName);
 
-         [OperationContract]
 
-         bool SaveSequence(string sequenceName, string sequenceContent);
 
-         [OperationContract]
 
-         bool SaveAsSequence(string sequenceName, string sequenceContent);
 
-         [OperationContract]
 
-         bool RenameSequence(string oldName, string newName);
 
-         [OperationContract]
 
-         string GetSequenceFormatXml();
 
-         [OperationContract]
 
-         bool RenameSequenceFolder(string oldName, string newName);
 
-         [OperationContract]
 
-         bool CreateSequenceFolder(string folderName);
 
-         [OperationContract]
 
-         bool DeleteSequenceFolder(string folderName);
 
-         #endregion
 
-         #region extended recipe interface
 
-         [OperationContract]
 
-         string LoadRecipeByPath(string pathName, string recipeName);
 
-         [OperationContract]
 
-         Tuple<string, string> LoadRunTimeRecipeInfoByPath(string pathName);
 
-         [OperationContract]
 
-         IEnumerable<string> GetRecipesByPath(string pathName, bool includeUsedRecipe);
 
-         [OperationContract]
 
-         string GetXmlRecipeListByPath(string pathName, bool includeUsedRecipe);
 
-         [OperationContract]
 
-         bool DeleteRecipeByPath(string pathName, string recipeName);
 
-         [OperationContract]
 
-         bool DeleteFolderByPath(string pathName, string folderName);
 
-         [OperationContract]
 
-         bool SaveAsRecipeByPath(string pathName, string recipeName, string recipeContent);
 
-         [OperationContract]
 
-         bool SaveRecipeByPath(string pathName, string recipeName, string recipeContent);
 
-         [OperationContract]
 
-         bool CreateFolderByPath(string pathName, string folderName);
 
-         [OperationContract]
 
-         string LoadRecipeByFullPath(string fullPath);
 
-         [OperationContract]
 
-         bool RenameRecipeByPath(string pathName, string oldName, string newName);
 
-         [OperationContract]
 
-         bool RenameFolderByPath(string pathName, string oldName, string newName);
 
-         [OperationContract]
 
-         string GetRecipeFormatXmlByPath(string pathName);
 
-         [OperationContract]
 
-         string GetRecipeTemplateByPath(string pathName);
 
-         [OperationContract]
 
-         string GetRecipeByBarcodeByPath(string pathName, string barcode);
 
-         [OperationContract]
 
-         List<RecipeFileNode> GetRecipeByPathFileNodes(string prefix, string recipeName);
 
-         #endregion
 
-     }
 
- }
 
 
  |