ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
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
97
98
99
100
101
102
using Admin.NET.Core.Helper.ExcelHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace iWare.Wms.Application
{
    public class WmsPlaceExcel
    {
        /// <summary>
        /// 编码
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "库位编号", ColumnIndex = 0)]
        public string Placecode { get; set; }
 
        /// <summary>
        /// 所在库区
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "所在库区", ColumnIndex = 1)]
        public string AreaName
        {
            get
            {
                return "A区";
            }
        }
 
        /// <summary>
        /// 排
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "排", ColumnIndex = 2)]
        public int Rowno { get; set; }
 
        /// <summary>
        /// 列
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "列", ColumnIndex = 3)]
        public int Columnno { get; set; }
 
        /// <summary>
        /// 层
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "层", ColumnIndex = 4)]
        public int Layerno { get; set; }
 
        /// <summary>
        /// 进深号
        /// </summary>
        public int Deepcellno { get; set; }
 
        /// <summary>
        /// 进深号
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "进深号", ColumnIndex = 5)]
        public string DeepcellnoName {
            get
            {
                switch (Deepcellno)
                {
                    case 1:
                        return "远伸";
                    case 0:
                        return "近伸";
                    default:
                        return "";
                }
            }
        }
 
        /// <summary>
        /// 巷道
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "巷道", ColumnIndex = 6)]
        public int Aisle { get; set; }
 
        /// <summary>
        /// 是否锁定
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "是否锁定", ColumnIndex = 7)]
        public iWare.Wms.Core.YesOrNot Islock { get; set; }
 
        /// <summary>
        /// 库位长度
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "库位长度", ColumnIndex = 8)]
        public decimal Length { get; set; }
 
        /// <summary>
        /// 库位宽度
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "库位宽度", ColumnIndex = 9)]
        public decimal Width { get; set; }
 
        /// <summary>
        /// 库位高度
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "库位高度", ColumnIndex = 10)]
        public decimal Height { get; set; }
    }
}