You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.5 KiB
C#

using AUCMA.STORE.Entity.DAO;
using AUCMA.STORE.Entity.DTO;
using AUCMA.STORE.Entity.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AUCMA.STORE.Business.Interface
{
/// <summary>
/// 出入库任务队列接口
/// </summary>
public interface IBaseTaskQueueBusiness
{
/// <summary>
/// 写入任务队列
/// </summary>
/// <param name="baseTaskQueue"></param>
Task<int> WriteTaskQueue(TaskDTO taskDTO );
/// <summary>
/// 获取任务队列
/// </summary>
/// <param name="baseTaskQueue"></param>
/// <returns></returns>
Task<BaseTaskQueue> GetTaskQueue(LocationArea locationArea, TaskType taskType,OperationType operationType);
/// <summary>
/// 清除任务队列
/// </summary>
/// <param name="baseTaskQueue"></param>
/// <returns></returns>
Task<bool> DeleteTaskQueue(BaseTaskQueue baseTaskQueue);
/// <summary>
/// 清除指定任务
/// </summary>
/// <param name="taskCode"></param>
/// <returns></returns>
Task<bool> DeleteAssignTask(string taskCode);
/// <summary>
/// 获取所有符合条件的任务集合
/// </summary>
/// <param name="locationArea"></param>
/// <param name="taskType"></param>
/// <returns></returns>
Task<List<BaseTaskQueue>> GetTaskQueueList();
}
}