From 64ec1a7fb55389d8db371d112e49f741de866796 Mon Sep 17 00:00:00 2001 From: lss <Lss@HanInfo> Date: 星期三, 18 六月 2025 16:41:26 +0800 Subject: [PATCH] 业务开发与优化 --- HH.WCS.Mobox3/HH.WCS.Mobox3.DaYang/api/ApiModel.cs | 81 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 78 insertions(+), 3 deletions(-) diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.DaYang/api/ApiModel.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.DaYang/api/ApiModel.cs index 702bd89..5e49840 100644 --- a/HH.WCS.Mobox3/HH.WCS.Mobox3.DaYang/api/ApiModel.cs +++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.DaYang/api/ApiModel.cs @@ -82,6 +82,14 @@ { public string TaskNo { get; set; } } + + /// <summary> + /// 鍙犵洏鏈虹姸鎬佸垏鎹�+ /// </summary> + public class MoboxChangeStatus + { + public string Type { get; set; } + } /// <summary> /// mobox 鎺ュ彛杩斿洖 /// </summary> @@ -175,7 +183,7 @@ /// <summary> /// 鎵樼洏缂栫爜 /// </summary> - public string CntrCode { get; set; } + public string ItemCode { get; set; } } @@ -339,6 +347,9 @@ [JsonProperty("cntrNo")] public string CntrNo { get; set; } } + + + #endregion #region 澶ф磱绔嬪簱鎺ュ彛鎺ユ敹杩斿洖鍙傛暟 @@ -346,13 +357,25 @@ /// <summary> /// 璁惧淇℃伅杩斿洖 /// </summary> - public partial class Result<T> + public partial class Results<T> { [JsonProperty("code")] public long Code { get; set; } [JsonProperty("data")] public List<T> Data { get; set; } + + [JsonProperty("msg")] + public string Msg { get; set; } + } + + public partial class Result<T> + { + [JsonProperty("code")] + public int Code { get; set; } + + [JsonProperty("data")] + public T Data { get; set; } [JsonProperty("msg")] public string Msg { get; set; } @@ -392,11 +415,63 @@ [JsonProperty("workStatus")] public int WorkStatus { get; set; } } - + + /// <summary> + /// 鐢宠缁堢偣 + /// </summary> + public partial class ApplyDestModel + { + /// <summary> + /// 鐢宠绫诲瀷锛�锛氬爢鍨涙満鏀捐揣寮傚父鐢宠鏂扮粓鐐癸紱2锛氳緭閫佺嚎鍒拌揪鎺ラ┏浣嶇敵璇风粓鐐癸紱 + /// </summary> + [JsonProperty("applyType")] + public long ApplyType { get; set; } + + /// <summary> + /// 褰撳墠浣嶇疆锛寃cs鑷鎺у埗鎵樼洏鍒扮壒瀹氱殑鍏ュ彛鏃讹紝wms鏍规嵁浣嶇疆璁$畻缁堢偣 + /// </summary> + [JsonProperty("loc")] + public string Loc { get; set; } + + /// <summary> + /// 浠诲姟鍙�+ /// </summary> + [JsonProperty("taskNo")] + public string TaskNo { get; set; } + } + + /// <summary> + /// 鐢宠缁堢偣杩斿洖 + /// </summary> + public partial class ReseltApplyDestModel + { + [JsonProperty("loc")] + public string Loc { get; set; } + } public partial class Empty { } + + /// <summary> + /// 璁惧鐘舵�鍒囨崲 + /// </summary> + public partial class ChangeStatusModel + { + /// <summary> + /// 璁惧缂栫爜 + /// </summary> + [JsonProperty("deviceNo")] + public string DeviceNo { get; set; } + + /// <summary> + /// 妯″紡绫诲瀷锛�锛氬彔鎵樻ā寮�2锛氭媶鎵樻ā寮�+ /// 鍙犳墭妯″紡锛屼笉闇�鎷嗗垎鎵樼洏鍒板叆搴撳彛銆�+ /// 鎷嗘墭妯″紡锛岄渶瑕佹媶鍒嗘墭鐩樺埌鍏ュ簱鍙�+ /// </summary> + [JsonProperty("Type")] + public string Type { get; set; } + } #endregion } -- Gitblit v1.9.1