using Kean.Domain.Task.Commands; namespace Kean.Domain.Task.SharedServices { /// /// 上架 /// public sealed class BypassHithum { private readonly ICommandBus _commandBus; /// /// 依赖注入 /// public BypassHithum(ICommandBus commandBus) => _commandBus = commandBus; /// /// 处理程序 /// /// 库房 /// 条码 /// 负载规格 /// 操作位置 /// 目标位置 /// 优先级 /// 操作者 /// 标签 /// 前序连接 public System.Threading.Tasks.Task Handler( string barcode, object original) => _commandBus.Execute(new BypassHithumCommand { Barcode = barcode, Original = original }); } }