109 lines
2.4 KiB
C#
109 lines
2.4 KiB
C#
using Newtonsoft.Json;
|
|
|
|
namespace WcsMain.ApiClient.AGV.Dto;
|
|
|
|
/// <summary>
|
|
/// 向 AGV 发送任务模板数据
|
|
/// </summary>
|
|
public class AGVTaskRequest<T> where T : class, new()
|
|
{
|
|
/// <summary>
|
|
/// 上游任务号,唯一标识
|
|
/// </summary>
|
|
[JsonProperty("robotJobId")]
|
|
public string? RobotJobId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 仓库编号
|
|
/// </summary>
|
|
[JsonProperty("warehouseId")]
|
|
public long? WareHouseId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务组号
|
|
/// </summary>
|
|
[JsonProperty("robotJobGroupId")]
|
|
public string? RobotJobGroupId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务组序号
|
|
/// </summary>
|
|
[JsonProperty("sequence")]
|
|
public int? Sequence { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务组数量
|
|
/// </summary>
|
|
[JsonProperty("robotJobGroupNum")]
|
|
public int? RobotJobGroupNum { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务优先级
|
|
/// </summary>
|
|
[JsonProperty("jobPriority")]
|
|
public int? JobPriority { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务优先级类型
|
|
/// </summary>
|
|
[JsonProperty("jobProorytyType")]
|
|
public int? JobProorytyType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 截至时间
|
|
/// </summary>
|
|
[JsonProperty("deadline")]
|
|
public string? Deadline { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务类型
|
|
/// </summary>
|
|
[JsonProperty("agvType")]
|
|
public string? AGVType { get; set; }
|
|
|
|
/// <summary>
|
|
/// AGV 放下对象后移动的地点
|
|
/// </summary>
|
|
[JsonProperty("agvEndPoint")]
|
|
public string? AGVEndPoint { get; set; }
|
|
|
|
/// <summary>
|
|
/// 是否需要实操
|
|
/// </summary>
|
|
[JsonProperty("needOperation")]
|
|
public bool? NeedOperation { get; set; }
|
|
|
|
/// <summary>
|
|
/// 机器人编号
|
|
/// </summary>
|
|
[JsonProperty("agvCode")]
|
|
public string? AGVCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务解锁倒计时
|
|
/// </summary>
|
|
[JsonProperty("taskCountDown")]
|
|
public int? TaskCountDown { get; set; }
|
|
|
|
/// <summary>
|
|
/// 业务类型
|
|
/// </summary>
|
|
[JsonProperty("businessType")]
|
|
public string? BusinessType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务类型
|
|
/// </summary>
|
|
[JsonProperty("jobType")]
|
|
public string? JobType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务数据
|
|
/// </summary>
|
|
[JsonProperty("jobData")]
|
|
public T? JobData { get; set; }
|
|
|
|
|
|
|
|
}
|