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; }
|
}
|
}
|