服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-04-15 080741e0b917dc382ecba31c4b19fca1aa772bfd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
using System;
using System.Collections.Generic;
using System.ComponentModel;
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 double Capacity { get; set; }
        public int LotCount { get; set; }
        public double 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; }
        public string ReqNo { get; set; }
        public bool isExceed { get; set; }
        public bool isCutting { get; set; }
        public string SN { get; set; }
        public string ItemCode { get; set; }
        public string MaterialName { get; set; }
        public double Qty { get; set; }
        public double CutQty { get; set; }
        public string regionCode { get; set; }
        public string locationCode { get; set; }
        public string ScanAfCut { get; set; }
        public string Unit { get; set; }
        public DateTime DateCode { get; set; }
    }
 
    public class DefaultInStoreOutput
    {
        public string Barcode { get; set; }
        public string MaterialCode { get; set; }
        public string MaterialName { get; set; }
        public double CurrentQty { get; set; }
        public string Unit { get; set; }
        public DateTime DateCode { get; set; }
        public string WarehouseCode { get; set; }
        public string RegionCode { get; set; }
        public string ShelfCode { get; set; }
        public string LocationCode { get; set; }
        public object OrderInfo { get; set; }
    }
}