服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2025-01-09 c40ce123424183b2fce3bf9dfb24d859f3eacb52
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Security.Cryptography;
using System.Text;
 
namespace Tiger.Model.Sharetronic.Shelf
{
    /// <summary>
    /// 盘点操作 5 盘
    /// </summary>
    public class OperateConfigConfirmEntity
    {
        /// <summary>
        /// 货架槽位集合
        /// </summary>
        public List<ShelfLedAddress> shelfLedAddressList { get; set; } = new List<ShelfLedAddress>();
        /// <summary>
        /// 参数对象
        /// </summary>
        public Parameters parameters { get; set; }
        /// <summary>
        /// 指令类型,5 盘点
        /// </summary>
        public int operateType { get; set; }
    }
 
    /// <summary>
    /// 参数对象
    /// </summary>
    public class Parameters
    {
        /// <summary>
        /// 操作货架PDA的id
        /// </summary>
        public string pdaid { get; set; }
        /// <summary>
        /// 操作的单据号码
        /// </summary>
        public string orderCode { get; set; }
        /// <summary>
        /// 备用参数1
        /// </summary>
        public string userItem1 { get; set; }
        /// <summary>
        /// 备用参数2
        /// </summary>
        public string userItem2 { get; set; }
        /// <summary>
        /// 备用参数3
        /// </summary>
        public string userItem3 { get; set; }
        /// <summary>
        /// 备用参数4
        /// </summary>
        public string userItem4 { get; set; }
        /// <summary>
        /// 备用参数5
        /// </summary>
        public string userItem5 { get; set; }
    }
 
    /// <summary>
    ///  货架槽位对象
    /// </summary>
    public class ShelfLedAddress
    {
        /// <summary>
        /// 货架编号,Y1 是货架,F 是货架前侧,R 是后侧
        /// </summary>
        public string shelfNo { get; set; }
        /// <summary>
        /// 货架类型,sensor_shelf 感应式货架,led_shelf LED 灯架
        /// </summary>
        public string shelfType { get; set; }
        /// <summary>
        /// 灯位地址集合
        /// </summary>
        public List<LedAddress> ledAddressList { get; set; } = new List<LedAddress>();
    }
 
    /// <summary>
    /// 灯位地址对象
    /// </summary>
    public class LedAddress
    {
        /// <summary>
        /// 灯位地址
        /// </summary>
        public int ledAddress { get; set; }
        /// <summary>
        /// 物料唯一码
        /// </summary>
        public string uniqueNumber { get; set; }
    }
}