using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;
namespace Aitex.Triton160.Common.Interface
{
[ServiceContract]
public interface IRecipeService
{
[OperationContract]
string LoadRecipe(ModuleName chamId, string recipeName);
///
/// 调取当前反应腔的工艺程序信息
///
///
/// recipeName + recipeContent
[OperationContract]
Tuple LoadRunTimeRecipeInfo(ModuleName chamId);
///
/// Get a list of all recipe names.
///
///
///
///
[OperationContract]
IEnumerable GetRecipes(ModuleName chamId, bool includeUsedRecipe);
///
/// Get recipe list in xml format
///
///
///
///
[OperationContract]
string GetXmlRecipeList(ModuleName chamId, bool includeUsedRecipe);
///
/// delete a existed recipe by recipe name
///
///
///
///
[OperationContract]
bool DeleteRecipe(ModuleName chamId, string recipeName);
///
/// delete an existed folder
///
///
///
///
[OperationContract]
bool DeleteFolder(ModuleName chamId, string folderName);
///
/// SaveAs recipe by recipe name and recipe data
///
///
///
///
///
[OperationContract]
bool SaveAsRecipe(ModuleName chamId, string recipeName, string recipeContent);
///
/// Save recipe by recipe name and recipe data
///
///
///
///
///
[OperationContract]
bool SaveRecipe(ModuleName chamId, string recipeName, string recipeContent);
///
/// Save recipe by recipe name and recipe data
///
///
///
///
[OperationContract]
bool CreateFolder(ModuleName chamId, string folderName);
///
/// Move recipe by recipe name and recipe data
///
///
///
///
///
[OperationContract]
bool MoveRecipeFile(ModuleName chamId, string folderName, string tragetFolderName);
///
/// Rename recipe file
///
///
///
///
///
[OperationContract]
bool RenameRecipe(ModuleName chamId, string oldName, string newName);
///
/// Rename recipe folder
///
///
///
///
///
[OperationContract]
bool RenameFolder(ModuleName chamId, string oldName, string newName);
///
/// get reactor's recipe format define file
///
///
///
[OperationContract]
string GetRecipeFormatXml(ModuleName chamId);
///
/// get reactor's template recipe file
///
///
///
[OperationContract]
string GetRecipeTemplate(ModuleName chamId);
[OperationContract]
string GetRecipeByBarcode(ModuleName chamId, string barcode);
}
}