395 lines
8.4 KiB
C#
395 lines
8.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Epost.Model
|
|
{
|
|
public class JobModel
|
|
{
|
|
private string _OrderID = string.Empty;
|
|
private string _ID = string.Empty;
|
|
|
|
private string _BatchId = string.Empty;
|
|
private string _Tolocation = string.Empty;
|
|
private string _Sku = string.Empty;
|
|
private string _GoodsName = string.Empty;
|
|
private string _Discount = string.Empty;//规格
|
|
private string _LotNo = string.Empty;//批号
|
|
private string _ProdArea = string.Empty;//产地
|
|
private int _Quantity = 0;//拣货数量
|
|
private int _CheckQuantity = 0;//拣货箱数量
|
|
private string _GoodsType = string.Empty;//商品类型
|
|
|
|
private string _ControlIP = string.Empty;//控制器IP
|
|
private string _ControlID = string.Empty;//控制器ID
|
|
private string _Address = string.Empty;//设备地址
|
|
private string _Bkaddress = string.Empty;//总线
|
|
private string _Addresstype = string.Empty;//类型
|
|
private string _Block = string.Empty;//大区
|
|
private string _Area = string.Empty;//小区
|
|
private string _Way = string.Empty;//通道
|
|
private int state;//任务状态
|
|
private int _TaskArea;//当前执行任务区域
|
|
private int _TaskBlock;//当前执行任务区域
|
|
private string _ShopID = string.Empty;
|
|
private string _BoxCode = string.Empty;
|
|
private string _Slist = string.Empty;
|
|
private string _Layer = string.Empty;
|
|
private int _ManyState = 0;
|
|
private DateTime _DisplayTime;
|
|
private string _ColorCode = string.Empty;
|
|
private int _TaskType = 1;
|
|
private string _Matchid = string.Empty;
|
|
private string _Zone = string.Empty;
|
|
private string _TrayCode = string.Empty;
|
|
private string _WholeUnit = string.Empty;//大单位
|
|
private string _Unit = string.Empty;//小单位
|
|
private string _UserCode = string.Empty;//工号
|
|
private string _no = string.Empty;//任务序号
|
|
public string BatchId
|
|
{
|
|
get
|
|
{
|
|
return _BatchId;
|
|
}
|
|
|
|
set
|
|
{
|
|
_BatchId = value;
|
|
}
|
|
}
|
|
|
|
public string Tolocation
|
|
{
|
|
get
|
|
{
|
|
return _Tolocation;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Tolocation = value;
|
|
}
|
|
}
|
|
|
|
public string Sku
|
|
{
|
|
get
|
|
{
|
|
return _Sku;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Sku = value;
|
|
}
|
|
}
|
|
|
|
public string GoodsName
|
|
{
|
|
get
|
|
{
|
|
return _GoodsName;
|
|
}
|
|
|
|
set
|
|
{
|
|
_GoodsName = value;
|
|
}
|
|
}
|
|
|
|
//public string Discount
|
|
//{
|
|
// get
|
|
// {
|
|
// return _Discount;
|
|
// }
|
|
|
|
// set
|
|
// {
|
|
// _Discount = value;
|
|
// }
|
|
//}
|
|
|
|
//public string LotNo
|
|
//{
|
|
// get
|
|
// {
|
|
// return _LotNo;
|
|
// }
|
|
|
|
// set
|
|
// {
|
|
// _LotNo = value;
|
|
// }
|
|
//}
|
|
|
|
//public int ProdArea
|
|
//{
|
|
// get
|
|
// {
|
|
// return _ProdArea;
|
|
// }
|
|
|
|
// set
|
|
// {
|
|
// _ProdArea = value;
|
|
// }
|
|
//}
|
|
|
|
public int Quantity
|
|
{
|
|
get
|
|
{
|
|
return _Quantity;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Quantity = value;
|
|
}
|
|
}
|
|
|
|
public string GoodsType
|
|
{
|
|
get
|
|
{
|
|
return _GoodsType;
|
|
}
|
|
|
|
set
|
|
{
|
|
_GoodsType = value;
|
|
}
|
|
}
|
|
|
|
public string ControlIP
|
|
{
|
|
get
|
|
{
|
|
return _ControlIP;
|
|
}
|
|
|
|
set
|
|
{
|
|
_ControlIP = value;
|
|
}
|
|
}
|
|
|
|
public string ControlID
|
|
{
|
|
get
|
|
{
|
|
return _ControlID;
|
|
}
|
|
|
|
set
|
|
{
|
|
_ControlID = value;
|
|
}
|
|
}
|
|
|
|
public string Address
|
|
{
|
|
get
|
|
{
|
|
return _Address;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Address = value;
|
|
}
|
|
}
|
|
|
|
public string Block
|
|
{
|
|
get
|
|
{
|
|
return _Block;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Block = value;
|
|
}
|
|
}
|
|
|
|
public string Area
|
|
{
|
|
get
|
|
{
|
|
return _Area;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Area = value;
|
|
}
|
|
}
|
|
|
|
public string Way
|
|
{
|
|
get
|
|
{
|
|
return _Way;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Way = value;
|
|
}
|
|
}
|
|
|
|
public string Bkaddress
|
|
{
|
|
get
|
|
{
|
|
return _Bkaddress;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Bkaddress = value;
|
|
}
|
|
}
|
|
|
|
public string Addresstype
|
|
{
|
|
get
|
|
{
|
|
return _Addresstype;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Addresstype = value;
|
|
}
|
|
}
|
|
|
|
public int State
|
|
{
|
|
get
|
|
{
|
|
return state;
|
|
}
|
|
|
|
set
|
|
{
|
|
state = value;
|
|
}
|
|
}
|
|
|
|
public int TaskArea
|
|
{
|
|
get
|
|
{
|
|
return _TaskArea;
|
|
}
|
|
|
|
set
|
|
{
|
|
_TaskArea = value;
|
|
}
|
|
}
|
|
|
|
public string OrderID
|
|
{
|
|
get
|
|
{
|
|
return _OrderID;
|
|
}
|
|
|
|
set
|
|
{
|
|
_OrderID = value;
|
|
}
|
|
}
|
|
|
|
public string ShopID
|
|
{
|
|
get
|
|
{
|
|
return _ShopID;
|
|
}
|
|
|
|
set
|
|
{
|
|
_ShopID = value;
|
|
}
|
|
}
|
|
|
|
public string BoxCode
|
|
{
|
|
get
|
|
{
|
|
return _BoxCode;
|
|
}
|
|
|
|
set
|
|
{
|
|
_BoxCode = value;
|
|
}
|
|
}
|
|
|
|
public string Slist
|
|
{
|
|
get
|
|
{
|
|
return _Slist;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Slist = value;
|
|
}
|
|
}
|
|
|
|
public string Layer
|
|
{
|
|
get
|
|
{
|
|
return _Layer;
|
|
}
|
|
|
|
set
|
|
{
|
|
_Layer = value;
|
|
}
|
|
}
|
|
|
|
public int ManyState
|
|
{
|
|
get
|
|
{
|
|
return _ManyState;
|
|
}
|
|
|
|
set
|
|
{
|
|
_ManyState = value;
|
|
}
|
|
}
|
|
|
|
public string LotNo { get => _LotNo; set => _LotNo = value; }
|
|
public string Discount { get => _Discount; set => _Discount = value; }
|
|
public string ProdArea { get => _ProdArea; set => _ProdArea = value; }
|
|
public DateTime DisplayTime { get => _DisplayTime; set => _DisplayTime = value; }
|
|
public string ColorCode { get => _ColorCode; set => _ColorCode = value; }
|
|
public int TaskType { get => _TaskType; set => _TaskType = value; }
|
|
public int TaskBlock { get => _TaskBlock; set => _TaskBlock = value; }
|
|
public string Matchid { get => _Matchid; set => _Matchid = value; }
|
|
public string Zone { get => _Zone; set => _Zone = value; }
|
|
public int CheckQuantity { get => _CheckQuantity; set => _CheckQuantity = value; }
|
|
public string TrayCode { get => _TrayCode; set => _TrayCode = value; }
|
|
public string WholeUnit { get => _WholeUnit; set => _WholeUnit = value; }
|
|
public string Unit { get => _Unit; set => _Unit = value; }
|
|
public string UserCode { get => _UserCode; set => _UserCode = value; }
|
|
public string No { get => _no; set => _no = value; }
|
|
public string ID { get => _ID; set => _ID = value; }
|
|
}
|
|
}
|
|
|