128 lines
3.0 KiB
C#
128 lines
3.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Epost.Model
|
|
{
|
|
public class ResultModel
|
|
{
|
|
private string _result = string.Empty;
|
|
private string _msg = string.Empty;
|
|
|
|
public string result
|
|
{
|
|
get
|
|
{
|
|
return _result;
|
|
}
|
|
|
|
set
|
|
{
|
|
_result = value;
|
|
}
|
|
}
|
|
|
|
public string msg
|
|
{
|
|
get
|
|
{
|
|
return _msg;
|
|
}
|
|
|
|
set
|
|
{
|
|
_msg = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
public class SerResultModel
|
|
{
|
|
private string _resultCode = string.Empty;
|
|
private string _resultMsg = string.Empty;
|
|
|
|
public string resultCode { get => _resultCode; set => _resultCode = value; }
|
|
public string resultMsg { get => _resultMsg; set => _resultMsg = value; }
|
|
}
|
|
|
|
public class TaskReqModel
|
|
{
|
|
private string matchid = string.Empty;
|
|
private string orderid = string.Empty;
|
|
private string sku = string.Empty;
|
|
private string tolocation = string.Empty;
|
|
private string originalBatch = string.Empty;
|
|
private string block = string.Empty;
|
|
private string area = string.Empty;
|
|
private string _id = string.Empty;
|
|
public string Matchid { get => matchid; set => matchid = value; }
|
|
public string Orderid { get => orderid; set => orderid = value; }
|
|
public string Sku { get => sku; set => sku = value; }
|
|
public string Tolocation { get => tolocation; set => tolocation = value; }
|
|
public string OriginalBatch { get => originalBatch; set => originalBatch = value; }
|
|
public string Block { get => block; set => block = value; }
|
|
public string Area { get => area; set => area = value; }
|
|
public string id { get => _id; set => _id = value; }
|
|
}
|
|
|
|
|
|
|
|
public class ResultLightModel
|
|
{
|
|
private string _resultCode = string.Empty;
|
|
private string _resultMsg = string.Empty;
|
|
|
|
public string resultCode
|
|
{
|
|
get
|
|
{
|
|
return _resultCode;
|
|
}
|
|
|
|
set
|
|
{
|
|
_resultCode = value;
|
|
}
|
|
}
|
|
|
|
public string resultMsg
|
|
{
|
|
get
|
|
{
|
|
return _resultMsg;
|
|
}
|
|
|
|
set
|
|
{
|
|
_resultMsg = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public class reqmodel
|
|
{
|
|
public string wallNo { get; set; }
|
|
public string lightType { get; set; }
|
|
public string lightColor { get; set; }
|
|
public string status { get; set; }
|
|
}
|
|
|
|
|
|
|
|
public class DisplayjobModelReq
|
|
{
|
|
public string wallNo { get; set; }
|
|
public string location { get; set; }
|
|
public string lightColor { get; set; }
|
|
public string lightType { get; set; }
|
|
public string brightness { get; set; }
|
|
}
|
|
|
|
}
|