2024-10-07 09:51:55 +08:00
|
|
|
|
using DataCheck;
|
|
|
|
|
|
using System.Text.Json.Serialization;
|
|
|
|
|
|
|
2024-11-15 11:37:55 +08:00
|
|
|
|
namespace WcsMain.ApiServe.Dto.WMSEntity.WmsTask;
|
2024-10-07 09:51:55 +08:00
|
|
|
|
|
|
|
|
|
|
/// <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; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|