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.

40 lines
1.0 KiB
C#

using SlnMesnac.Model.AirportApiEntity;
using SlnMesnac.Model.domain;
using SlnMesnac.Repository.service.@base;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SlnMesnac.Repository.service
{
public interface IAGVStateService: IBaseService<AGVState>
{
/// <summary>
/// 查询AGV状态
/// </summary>
/// <returns></returns>
List<AGVState> GetAgvState();
/// <summary>
/// 更新AGV设备状态信息
/// </summary>
/// <param name="record"></param>
/// <returns></returns>
Task<bool> UpdateAsync(AGVState record);
/// <summary>
/// 查询所有AGV状态
/// </summary>
/// <returns></returns>
List<AGVState> GetAllAGVState();
/// <summary>
/// 根据响应数据插入或更新数据
/// </summary>
/// <param name="response"></param>
/// <returns></returns>
Task<bool> UpdateOrAddByResponse(AGVStateResponseEntity response);
}
}