using Microsoft.AspNetCore.Http;
|
using Rhea.Common;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Net.Http;
|
using System.Text;
|
using System.Threading.Tasks;
|
using Tiger.Model;
|
|
namespace Tiger.IBusiness
|
{
|
public interface IWoContext
|
{
|
/// <summary>
|
/// 工单批次缓存字典
|
/// </summary>
|
/// <returns></returns>
|
public Dictionary<string, IWorkBatch> GetWoBatchDic();
|
|
/// 根据工单号和产线,增加一个工单对象到工单批次字典中
|
/// </summary>
|
/// <param name="workorder"></param>
|
/// <returns></returns>
|
public IWorkBatch AddWo(string workorder);
|
|
/// 根据工单号和产线,增加一个工单批次对象到工单批次字典中
|
/// </summary>
|
/// <param name="workorder"></param>
|
/// <param name="lineCode"></param>
|
/// <returns></returns>
|
public IWorkBatch AddBatch(string workorder, string linecode);
|
|
/// 从工单批次字典中删除一个工单批次对象
|
/// </summary>
|
/// <param name="batchNo"></param>
|
/// <param name="lineCode"></param>
|
/// <returns></returns>
|
public bool RemoveWo(string workorder);
|
|
/// 从工单批次字典中删除一个工单批次对象
|
/// </summary>
|
/// <param name="batchNo"></param>
|
/// <param name="lineCode"></param>
|
/// <returns></returns>
|
public bool RemoveBatch(string batchNo);
|
}
|
}
|