generated from wenjy/SlnMesnac
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.
62 lines
1.6 KiB
C#
62 lines
1.6 KiB
C#
using SlnMesnac.Model.AirportApiEntity;
|
|
using SlnMesnac.Model.domain;
|
|
using SlnMesnac.Model.Enum;
|
|
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(AgvType AgvType);
|
|
|
|
/// <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> UpdateOrAddRecords(List<AGVState> records);
|
|
|
|
/// <summary>
|
|
/// 删除AGV状态信息
|
|
/// </summary>
|
|
/// <param name="id"></param>
|
|
/// <returns></returns>
|
|
bool DeleteAGVStateByID(int id);
|
|
|
|
/// <summary>
|
|
/// 查询指定AGV状态
|
|
/// </summary>
|
|
/// <param name="AGVguid"></param>
|
|
/// <returns></returns>
|
|
AGVState GetSingleAGVState(string AGVguid);
|
|
|
|
/// <summary>
|
|
/// 重置AGV计数
|
|
/// </summary>
|
|
/// <param name="AGVguid"></param>
|
|
/// <returns></returns>
|
|
bool ResetAGVStackCount(string AGVguid);
|
|
|
|
}
|
|
} |