You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.3 KiB
41 lines
1.3 KiB
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
|
|
namespace Warehouse.Models.whMS
|
|
{
|
|
|
|
//ZX□_□□□□ □□□□_□□□_****
|
|
//① ② ③ ④ ⑤
|
|
//①ZX为组件产地标示
|
|
//②部门
|
|
//③打包年月+流水码(四位);流水号:从数字“0001”开始顺延。
|
|
//④订单名称:“YD12”代表生产印度12号。此处为随机位数(需手动输入),根据实际情况进行增递,但是只可使用订单名称首字母且必须大写。
|
|
//⑤组件功率:如“320”代表320W组件 ……
|
|
//ZX1_19080001 _320_YD12
|
|
//年+18,月+12
|
|
public class ContainerNo
|
|
{
|
|
//产地
|
|
public string OriginPalce { get; set; }
|
|
//部门
|
|
public string Department { get; set; }
|
|
//打包年月
|
|
public string Date { get; set; }
|
|
//流水码
|
|
public string Sequence { get; set; }
|
|
//订单
|
|
public string SaleOrder { get; set; }
|
|
//功率
|
|
public string Power { get; set; }
|
|
}
|
|
|
|
public class ContainerCodeRules
|
|
{
|
|
public string Part1 { get; set; }
|
|
public string Part2 { get; set; }
|
|
public string Part3 { get; set; }
|
|
public string Part4 { get; set; }
|
|
}
|
|
}
|