using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace HH.WCS.JiaTong.LISTA.process { public class HttpModel { /// /// 任务上报 /// public class Reportback { /// /// 任务号 /// public string taskNum { get; set; } /// /// 单号 /// public string orderNum { get; set; } /// /// 任务状态 /// public int taskStatus { get; set; } } /// /// 安全请求 /// public class TaskAccess { /// /// 任务号 /// public string taskNum { get; set; } /// /// 单号 /// public string orderNum { get; set; } /// /// 点位 /// public string station { get; set; } /// /// 类型 /// public int type { get; set; } /// /// 任务状态 /// public int taskStatus { get; set; } } public class GzTaskAccess { /// /// 任务号 /// public string task_no { get; set; } /// /// 货位 /// public string loc_code { get; set; } /// /// 类型 /// public string type { get; set; } } /// /// 空托返回 /// public class Traystacker { /// /// 货位编码,起点位置编码 /// public string station { get; set; } /// /// 物料号 /// public int taskSource { get; set; } /// /// 数量 /// public int Qty { get; set; } /// /// 请求类型 /// public int dpType { get; set; } } /// /// 空托返回 /// public class Traystackermobox { /// /// 货位编码,起点位置编码 /// public string LocationCode { get; set; } /// /// 物料号 /// public string PartNumber { get; set; } public string CntrCode { get; set; } /// /// 数量 /// public int Qty { get; set; } } /// /// mes任务回报 /// public partial class StatusArrive { /// /// 库位编号 /// [JsonProperty("locationNum")] public string LocationNum { get; set; } /// /// 取消信息 /// [JsonProperty("message")] public string Message { get; set; } = "1"; /// /// 状态 /// [JsonProperty("status")] public string Status { get; set; } /// /// 任务号 /// [JsonProperty("taskNumber")] public string TaskNumber { get; set; } /// /// 状态变更时间 /// [JsonProperty("time")] public string Time { get; set; } } public partial class iteminfoArrive { /// /// 到货时间 /// [JsonProperty("arricalTime")] public string ArricalTime { get; set; } /// /// 库位编号 /// [JsonProperty("locationNum")] public string LocationNum { get; set; } [JsonProperty("lotList")] public List LotList { get; set; } /// /// 物料描述 /// [JsonProperty("partDesc")] public string PartDesc { get; set; } /// /// 物料编号 /// [JsonProperty("partNumber")] public string PartNumber { get; set; } /// /// 工装编号 /// [JsonProperty("rfid")] public string Rfid { get; set; } /// /// 任务号 /// [JsonProperty("taskNumber")] public string TaskNumber { get; set; } } public partial class LotListh { /// /// 物料批次信息 /// [JsonProperty("lotNumber")] public string LotNumber { get; set; } /// /// 重量 /// [JsonProperty("weight")] public double? Weight { get; set; } } /// /// 物料回报数据模型 /// public partial class MesItemBackModel { /// /// 到货时间 /// [JsonProperty("arricalTime")] public string ArricalTime { get; set; } /// /// 库位编号 /// [JsonProperty("locationNum")] public string LocationNum { get; set; } /// /// /// [JsonProperty("result")] public string Result { get; set; } /// /// mes任务号 /// [JsonProperty("taskNumber")] public string TaskNumber { get; set; } /// ///Wms任务号 /// [JsonProperty("wmsTaskNumber")] public string WmsTaskNumber { get; set; } /// /// 工装编号 /// [JsonProperty("rfid")] public string Rfid { get; set; } [JsonProperty("list")] public List List { get; set; } } /// /// 物料到位回报明细 /// public partial class MesItemBackInfoModel { /// /// 子库 /// [JsonProperty("subpool")] public string Subpool { get; set; } /// /// wms /// [JsonProperty("wmsLot")] public string WmsLot { get; set; } /// /// 收获批次 /// [JsonProperty("receiveLot")] public string ReceiveLot { get; set; } /// /// 重量 /// [JsonProperty("qty")] public string Qty { get; set; } /// ///供应商 /// [JsonProperty("supplier")] public string Supplier { get; set; } /// /// 轮型 /// [JsonProperty("tyreType")] public string TyreType { get; set; } /// /// 生产时间 /// [JsonProperty("produceTime")] public string ProduceTime { get; set; } /// /// 物料编码 /// [JsonProperty("partNumber")] public string PartNumber { get; set; } /// /// 工装编号 /// [JsonProperty("rfid")] public string Rfid { get; set; } /// /// 物料批次信息 /// [JsonProperty("lotNumber")] public string LotNumber { get; set; } /// /// 物料等级 /// [JsonProperty("level")] public string Level { get; set; } } /// /// 任务上报 /// public class GTWMSData { /// /// 仓库编码 /// public string wh_code { get; set; } /// /// 单号 /// public string task_no { get; set; } /// /// 任务状态 /// public int status { get; set; } } /// /// GTWMS任务回报 /// public class GTWMS { /// /// 仓库编码 /// public string application { get; set; } = ""; /// /// 单号 /// public string code { get; set; } public GTWMSData data { get; set; } } } }