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
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 WmsContainerExcel
    {
        /// <summary>
        /// 编号
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "小车编号", ColumnIndex = 0)]
        public string Containercode { get; set; }
 
        /// <summary>
        /// 小车类型编码
        /// </summary>
        public string ContainerTypeCode { get; set; }
 
        /// <summary>
        /// 小车类型名称
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "小车类型名称", ColumnIndex = 1)]
        public string ContainerTypeName {
            get
            {
                switch (ContainerTypeCode)
                {
                    case "H1400":
                        return "高1400";
                    case "H2100":
                        return "高2100";
                    case "H2300":
                        return "高2300";
                    case "H2600":
                        return "高2600";
                    case "HMAX":
                        return "高MAX";
                    default:
                        return "";
                }
            }
        }
 
        /// <summary>
        /// 长度
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "长度", ColumnIndex = 2)]
        public decimal Speclength { get; set; }
 
        /// <summary>
        /// 宽度
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "宽度", ColumnIndex = 3)]
        public decimal Specwidth { get; set; }
 
        /// <summary>
        /// 高度
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "高度", ColumnIndex = 4)]
        public decimal Specheight { get; set; }
 
        /// <summary>
        /// 绑定库位
        /// </summary>
        [ExcelDataOptionAttribute(DisplayName = "绑定库位", ColumnIndex = 5)]
        public string RealLocationCode { get; set; }
    }
}