From 27f9d29760ee5457d7c0cb9e12cacab33c08eaea Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期四, 06 三月 2025 19:37:01 +0800 Subject: [PATCH] 更新WMS实体 --- Tiger.Model.Net/Entitys/WMS/Api/Output_Entitys.cs | 40 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 39 insertions(+), 1 deletions(-) diff --git a/Tiger.Model.Net/Entitys/WMS/Api/Output_Entitys.cs b/Tiger.Model.Net/Entitys/WMS/Api/Output_Entitys.cs index 27566f0..5750149 100644 --- a/Tiger.Model.Net/Entitys/WMS/Api/Output_Entitys.cs +++ b/Tiger.Model.Net/Entitys/WMS/Api/Output_Entitys.cs @@ -4,10 +4,49 @@ using System.Linq; using System.Text; using System.Threading.Tasks; +using Tiger.Model.Entitys.MES.Position; using Tiger.Model.Minsun; namespace Tiger.Model { + public class ScanOutput<T> + { + /// <summary> + /// 鎿嶄綔鎸囦护 + /// </summary> + public string Command { get; set; } + /// <summary> + /// Mqtt娑堟伅 + /// </summary> + public MQTT.Message MqttMsg { get; set; } + /// <summary> + /// 褰撳墠鎿嶄綔杩斿洖鐨勬暟鎹� + /// </summary> + public T Data { get; set; } + } + + public class ScanOutput : ScanOutput<object> + { + + } + + public class ScanShelfInfo + { + public string WarehouseCode { get; set; } + public string RegionCode { get; set; } + public string ShelfCode { get; set; } + public string LocationCode { get; set; } + public string RackCode => ShelfCode; + public bool IsSmartRack { get; set; } + public decimal Capacity { get; set; } + public int LotCount { get; set; } + public decimal MaxSize { get; set; } + public int ShelfType { get; set; } + public bool IsScanShelf { get; set; } + public WMS_SHELF Shelf { get; set; } + public WMS_LOCATION Location { get; set; } + } + public class DefaultScanItemOutput { public int ReqType { get; set; } @@ -24,7 +63,6 @@ public string ScanAfCut { get; set; } public string Unit { get; set; } public DateTime DateCode { get; set; } - public string Message { get; set; } } public class DefaultInStoreOutput -- Gitblit v1.9.3