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