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.

59 lines
1.6 KiB
C#

using SlnMesnac.Model.domain;
using SlnMesnac.Repository.service.@base;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace SlnMesnac.Repository.service
{
public interface IAirportTaskService : IBaseService<AirportTask>
{
/// <summary>
/// 获取所有任务信息
/// </summary>
/// <returns></returns>
List<AirportTask> GetTaskInfos();
/// <summary>
/// 获取所有任务信息
/// </summary>
/// <returns></returns>
List<AirportTask> GetTaskInfos(Expression<Func<AirportTask, bool>> expression);
/// <summary>
/// 获取AGV任务信息
/// </summary>
/// <returns></returns>
List<AirportTask> GetAGVTaskInfos();
/// <summary>
/// 根据站台号查询任务列表
/// </summary>
/// <returns></returns>
Task<List<AirportTask>> GetTaskInfoListAsync(string ConveyorNo);
/// <summary>
/// 更新任务信息
/// </summary>
/// <param name="record"></param>
/// <returns></returns>
Task<bool> UpdateTaskAsync(AirportTask record);
/// <summary>
/// 新增任务信息
/// </summary>
/// <param name="record"></param>
/// <returns></returns>
Task<bool> AddTaskAsync(AirportTask record);
/// <summary>
/// 删除任务信息
/// </summary>
/// <param name="record"></param>
/// <returns></returns>
Task<bool> DeleteTaskAsync(AirportTask record);
}
}