221 lines
5.8 KiB
C#
221 lines
5.8 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Epost.Model
|
|
{
|
|
#region 生成任务
|
|
|
|
#endregion
|
|
public class TaskModel
|
|
{
|
|
public TaskData data { get; set; }
|
|
}
|
|
|
|
public class TaskData
|
|
{
|
|
public List<TaskHeader> header { get; set; }
|
|
}
|
|
|
|
public class TaskHeader
|
|
{
|
|
public string warehouseId { get; set; }
|
|
public string wmsDocNo { get; set; }
|
|
public string priority { get; set; }
|
|
public string taskType { get; set; }
|
|
public string userId { get; set; }
|
|
public string userName { get; set; }
|
|
public string notes { get; set; }
|
|
public string udf01 { get; set; }
|
|
public string udf02 { get; set; }
|
|
public string udf03 { get; set; }
|
|
public string udf04 { get; set; }
|
|
public string udf05 { get; set; }
|
|
public string udf06 { get; set; }
|
|
public List<TaskDetail> details { get; set; }
|
|
public List<TaskDetails2> details2 { get; set; }
|
|
}
|
|
|
|
public class TaskDetail
|
|
{
|
|
public string groupTaskId { get; set; }
|
|
public string palletId { get; set; }
|
|
public string spositionCode { get; set; }
|
|
public string dpositionCode { get; set; }
|
|
public string notes { get; set; }
|
|
public string udf01 { get; set; }
|
|
public string udf02 { get; set; }
|
|
public string udf03 { get; set; }
|
|
public string udf04 { get; set; }
|
|
public string udf05 { get; set; }
|
|
public string udf06 { get; set; }
|
|
}
|
|
|
|
public class TaskDetails2
|
|
{
|
|
public string groupTaskId { get; set; }
|
|
public string palletId { get; set; }
|
|
public string sku { get; set; }
|
|
public string skuDescr1 { get; set; }
|
|
public string qty { get; set; }
|
|
public string lotatt01 { get; set; }
|
|
public string lotatt02 { get; set; }
|
|
public string lotatt04 { get; set; }
|
|
public string lotatt07 { get; set; }
|
|
public string lotatt08 { get; set; }
|
|
public string notes { get; set; }
|
|
public string udf01 { get; set; }
|
|
public string udf02 { get; set; }
|
|
public string udf03 { get; set; }
|
|
public string udf04 { get; set; }
|
|
public string udf05 { get; set; }
|
|
public string udf06 { get; set; }
|
|
}
|
|
|
|
|
|
#region 接口返回
|
|
|
|
public class RetMesModel
|
|
{
|
|
public ResponseModel Response { get; set; }
|
|
}
|
|
|
|
public class ResponseModel
|
|
{
|
|
public ReturnRes returnnode { get; set; }
|
|
}
|
|
|
|
public class ReturnRes
|
|
{
|
|
public string returnCode { get; set; }
|
|
public string returnDesc { get; set; }
|
|
public string returnFlag { get; set; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region 取消任务
|
|
|
|
public class AgvCancleModel
|
|
{
|
|
public CancleData data { get; set; }
|
|
}
|
|
|
|
public class CancleData
|
|
{
|
|
public List<CancleHeader> header { get; set; }
|
|
}
|
|
|
|
public class CancleHeader
|
|
{
|
|
public string warehouseId { get; set; }
|
|
public string groupTaskId { get; set; }
|
|
public string palletId { get; set; }
|
|
public string userId { get; set; }
|
|
public string userName { get; set; }
|
|
public string notes { get; set; }
|
|
public string reason { get; set; }
|
|
public string udf01 { get; set; }
|
|
public string udf02 { get; set; }
|
|
public string udf03 { get; set; }
|
|
public string udf04 { get; set; }
|
|
public string udf05 { get; set; }
|
|
public string udf06 { get; set; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region 绑定解绑
|
|
|
|
public class agvBindPodModel
|
|
{
|
|
public agvBindData data { get; set; }
|
|
}
|
|
|
|
public class agvBindData
|
|
{
|
|
public List<agvBindHeader> header { get; set; }
|
|
}
|
|
|
|
public class agvBindHeader
|
|
{
|
|
public string warehouseId { get; set; }
|
|
public string indBind { get; set; }
|
|
public string palletId { get; set; }
|
|
public string positionCode { get; set; }
|
|
public string userId { get; set; }
|
|
public string userName { get; set; }
|
|
public string notes { get; set; }
|
|
public string udf01 { get; set; }
|
|
public string udf02 { get; set; }
|
|
public string udf03 { get; set; }
|
|
public string udf04 { get; set; }
|
|
public string udf05 { get; set; }
|
|
public string udf06 { get; set; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
#region 任务执行通知接口
|
|
|
|
public class wmsCallbackModel
|
|
{
|
|
public callback data { get; set; }
|
|
}
|
|
|
|
public class callback
|
|
{
|
|
public List<callbackHeader> header { get; set; }
|
|
}
|
|
|
|
public class callbackHeader
|
|
{
|
|
public string warehouseId { get; set; }
|
|
public string groupTaskId { get; set; }
|
|
public string wmsDocNo { get; set; }
|
|
public string reqCode { get; set; }
|
|
public string reqTime { get; set; }
|
|
public string method { get; set; }
|
|
public string currentPositionCode { get; set; }
|
|
public string robotCode { get; set; }
|
|
public string taskCode { get; set; }
|
|
}
|
|
|
|
#endregion
|
|
|
|
#region 告警
|
|
|
|
public class agvexTaskReq
|
|
{
|
|
public agvexTaskData data { get; set; }
|
|
}
|
|
|
|
public class agvexTaskData
|
|
{
|
|
public List<agvexTaskHeader> header { get; set; }
|
|
}
|
|
|
|
public class agvexTaskHeader
|
|
{
|
|
public string reqCode { get; set; }
|
|
public string reqTime { get; set; }
|
|
public string clientCode { get; set; }
|
|
public string tokenCode { get; set; }
|
|
public string notes { get; set; }
|
|
public List<agvexTaskList> list { get; set; }
|
|
}
|
|
|
|
public class agvexTaskList
|
|
{
|
|
public string robotCode { get; set; }
|
|
public string taskCode { get; set; }
|
|
public string beginDate { get; set; }
|
|
public string warnContent { get; set; }
|
|
}
|
|
|
|
#endregion
|
|
}
|