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.
33 lines
985 B
C#
33 lines
985 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Sln.Wcs.ElevatorSdk.Dto;
|
|
|
|
namespace Sln.Wcs.ElevatorSdk
|
|
{
|
|
public interface IElevatorSdk
|
|
{
|
|
/// <summary>
|
|
/// 获取所有提升机的实时状态
|
|
/// </summary>
|
|
/// <returns>提升机状态集合</returns>
|
|
Task<List<ElevatorStatus>> GetElevatorStatusListAsync();
|
|
|
|
/// <summary>
|
|
/// 下发提升机任务
|
|
/// </summary>
|
|
/// <param name="request">任务下发请求</param>
|
|
/// <returns>任务下发结果</returns>
|
|
Task<ElevatorTaskResponse> DispatchTaskAsync(ElevatorTaskRequest request);
|
|
|
|
/// <summary>
|
|
/// 获取提升机任务执行反馈
|
|
/// </summary>
|
|
/// <param name="taskId">任务编号</param>
|
|
/// <returns>任务反馈信息</returns>
|
|
Task<ElevatorTaskFeedback> GetTaskFeedbackAsync(string taskId);
|
|
}
|
|
}
|