70 lines
1.5 KiB
C#
70 lines
1.5 KiB
C#
|
|
using DataCheck;
|
|||
|
|
using System.Text.Json.Serialization;
|
|||
|
|
|
|||
|
|
namespace WcsMain.ApiServe.Controllers.Dto.WMSEntity.WmsTask;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// SetStackerTask 接口的请求类
|
|||
|
|
/// 对应方法名称为 GetStackerTask ---- WMS向WCS发送堆垛机任务
|
|||
|
|
/// </summary>
|
|||
|
|
public class GetStackerRequest
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 任务ID
|
|||
|
|
/// </summary>
|
|||
|
|
[DataRules]
|
|||
|
|
[JsonPropertyName("taskId")]
|
|||
|
|
public string? TaskId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 任务类型
|
|||
|
|
/// </summary>
|
|||
|
|
[DataRules]
|
|||
|
|
[JsonPropertyName("taskType")]
|
|||
|
|
public int? TaskType { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 任务起点
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("origin")]
|
|||
|
|
public string? Origin { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 优先级
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("priority")]
|
|||
|
|
public int? Priority { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 中间点
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("midpoint")]
|
|||
|
|
public string? Midpoint { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 任务终点
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("destination")]
|
|||
|
|
public string? Destination { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 载具号
|
|||
|
|
/// </summary>
|
|||
|
|
[DataRules]
|
|||
|
|
[JsonPropertyName("vehicleNo")]
|
|||
|
|
public string? VehicleNo { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 载具尺寸
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("vehicleSize")]
|
|||
|
|
public int? VehicleSize { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 载具重量
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonPropertyName("weight")]
|
|||
|
|
public decimal? Weight { get; set; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|