using MECF.Framework.Common.SubstrateTrackings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace MECF.Framework.Common.WaferHolder
{
    [ServiceContract]
    public interface IWaferHolderDataService
    {
        /// 
        /// 获取所有载具数据
        /// 
        /// 
        [OperationContract]
        List GetAllWaferHolderDatas();
        /// 
        /// 根据Location获取WaferHolder信息
        /// 
        /// 
        [OperationContract]
        WaferHolderInfo GetWaferHolderDataByLocation(string location);
        /// 
        /// 更新载具可用性
        /// 
        /// 
        /// 
        [OperationContract]
        int UpdateWaferHolderEnable(string waferHolderId, bool enable);
        /// 
        /// 新增
        /// 
        /// 
        /// 
        /// 
        [OperationContract]
        int AddWaferHolderData(int bufferId, WaferHolderInfo waferHolderInfo);
        /// 
        /// 更新
        /// 
        /// 
        /// 
        /// 
        [OperationContract]
        int UpdateWaferHolderData(string waferHolderId, WaferHolderInfo info,bool sync);
        /// 
        /// 删除
        /// 
        /// 
        /// 
        [OperationContract]
        int DeleteWaferHolderData(string waferHolderId);
    }
}