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

32 lines
960 B

using Kean.Application.Command.ViewModels;
using Kean.Domain.Wcs.Commands;
using System.Threading.Tasks;
namespace Kean.Application.Command.Interfaces
{
/// <summary>
/// 表示控制交互聚合颗粒
/// </summary>
partial interface IAggregateGrain
{
/// <summary>
/// 串行接受输入指令
/// </summary>
/// <param name="command">命令</param>
/// <returns>降级指令及失败信息</returns>
Task<(AcceptInputCommand Fallback, Failure Failure)> AcceptInput(AcceptInputCommand command);
/// <summary>
/// 串行同步输出指令
/// </summary>
/// <param name="command">命令</param>
Task<Failure> SyncOutput(SyncOutputCommand command);
/// <summary>
/// 串行同步站台
/// </summary>
/// <param name="command">命令</param>
Task<Failure> SyncStation(SyncStationCommand command);
}
}