From 9e4d2ea113f6d5631f78aa85bbe39481fd701b72 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期四, 27 二月 2025 10:47:39 +0800 Subject: [PATCH] 雅达-扩展和改进半成品入库和打印标签功能 --- 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