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.
32 lines
851 B
C#
32 lines
851 B
C#
using DS.WMS.Core.TaskInteraction.Entity;
|
|
using DS.WMS.Core.TaskInteraction.Interface;
|
|
|
|
namespace DS.WMS.Core.TaskInteraction.Dtos
|
|
{
|
|
/// <summary>
|
|
/// 动作执行上下文
|
|
/// </summary>
|
|
public class ActionExecutionContext
|
|
{
|
|
/// <summary>
|
|
/// 动作执行管理器
|
|
/// </summary>
|
|
public IActionManagerService ActionManager { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务信息
|
|
/// </summary>
|
|
public BusinessTask TaskInfo { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// DI容器
|
|
/// </summary>
|
|
public IServiceProvider ServiceProvider { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// 任务参数
|
|
/// </summary>
|
|
public IDictionary<string, object?> AdditionalData { get; set; } = new Dictionary<string, object?>();
|
|
}
|
|
}
|