<fix>[important]修复json序列化不正确的问题
This commit is contained in:
parent
60fa5d7c97
commit
93d720f595
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Text.Json.Serialization;
|
using Newtonsoft.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
||||||
|
|
||||||
|
|
@ -20,25 +21,25 @@ public class ApplyInRequest
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 申请点位
|
/// 申请点位
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("point")]
|
[JsonProperty("point")]
|
||||||
public string? Point { get; set; }
|
public string? Point { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 载具号
|
/// 载具号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("vehicleNo")]
|
[JsonProperty("vehicleNo")]
|
||||||
public string? VehicleNo { get; set; }
|
public string? VehicleNo { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 条码信息
|
/// 条码信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("codeMessage")]
|
[JsonProperty("codeMessage")]
|
||||||
public string? CodeMessage { get; set; }
|
public string? CodeMessage { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 备注
|
/// 备注
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("remark")]
|
[JsonProperty("remark")]
|
||||||
public string? Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Text.Json.Serialization;
|
using Newtonsoft.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
||||||
|
|
||||||
|
|
@ -10,31 +11,31 @@ public class SendWmsTaskStatusRequest
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 任务号
|
/// 任务号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("taskId")]
|
[JsonProperty("taskId")]
|
||||||
public string? TaskId { get; set; }
|
public string? TaskId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 任务状态
|
/// 任务状态
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("taskStatus")]
|
[JsonProperty("taskStatus")]
|
||||||
public int? TaskStatus { get; set; }
|
public int? TaskStatus { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 任务类型
|
/// 任务类型
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("destination")]
|
[JsonProperty("destination")]
|
||||||
public string? Destination { get; set; }
|
public string? Destination { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 载具号
|
/// 载具号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("vehicleNo")]
|
[JsonProperty("vehicleNo")]
|
||||||
public string? VehicleNo { get; set; }
|
public string? VehicleNo { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 信息
|
/// 信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("message")]
|
[JsonProperty("message")]
|
||||||
public string? Message { get; set; }
|
public string? Message { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Text.Json.Serialization;
|
using Newtonsoft.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
||||||
|
|
||||||
|
|
@ -10,18 +11,18 @@ public class UploadPickStandRequest
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 载具号
|
/// 载具号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("vehicleNo")]
|
[JsonProperty("vehicleNo")]
|
||||||
public string? VehicleNo { get; set; }
|
public string? VehicleNo { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 拣选站台
|
/// 拣选站台
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("pickStand")]
|
[JsonProperty("pickStand")]
|
||||||
public string? PickStand { get; set; }
|
public string? PickStand { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 备注
|
/// 备注
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("remark")]
|
[JsonProperty("remark")]
|
||||||
public string? Remark { get; set; }
|
public string? Remark { get; set; }
|
||||||
}
|
}
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Text.Json.Serialization;
|
using Newtonsoft.Json;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
namespace WcsMain.ApiClient.DataEntity.WmsEntity;
|
||||||
|
|
||||||
|
|
@ -7,12 +8,12 @@ public class WmsResponse
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 代码
|
/// 代码
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("code")]
|
[JsonProperty("code")]
|
||||||
public int? Code { get; set; }
|
public int? Code { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 信息
|
/// 信息
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("message")]
|
[JsonProperty("message")]
|
||||||
public string? Message { get; set; }
|
public string? Message { get; set; }
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user