添加项目文件。
This commit is contained in:
54
WPFWCSDemo/API/Task/StockIn/StockIn_Receive.cs
Normal file
54
WPFWCSDemo/API/Task/StockIn/StockIn_Receive.cs
Normal file
@@ -0,0 +1,54 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WPFWCSDemo.API.Task.StockIn
|
||||
{
|
||||
/// <summary>
|
||||
/// 接收WMS推送的*入库*任务
|
||||
/// </summary>
|
||||
public class StockIn_Receive
|
||||
{
|
||||
/// <summary>
|
||||
/// 流水号
|
||||
/// </summary>
|
||||
public string JobId { get; set; }
|
||||
/// <summary>
|
||||
/// 任务号
|
||||
/// </summary>
|
||||
public string TaskId { get; set; }
|
||||
/// <summary>
|
||||
/// 托盘编号
|
||||
/// </summary>
|
||||
public string PalletId { get; set; }
|
||||
/// <summary>
|
||||
/// 任务类型 1-入库 2-出库 3-移库
|
||||
/// </summary>
|
||||
public int TaskType { get; set; }
|
||||
/// <summary>
|
||||
/// 源站点
|
||||
/// </summary>
|
||||
public string SourceLocation { get; set; }
|
||||
/// <summary>
|
||||
/// 目标站点
|
||||
/// </summary>
|
||||
public string TargetLocation { get; set; }
|
||||
/// <summary>
|
||||
/// 优先级 1→3 高→低
|
||||
/// </summary>
|
||||
public int Priority { get; set; }
|
||||
/// <summary>
|
||||
/// 任务状态
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public string TaskCode { get; set; }
|
||||
/// <summary>
|
||||
/// 调度状态
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public string ScheduleCode { get; set; }
|
||||
}
|
||||
}
|
||||
27
WPFWCSDemo/API/Task/StockIn/StockIn_ReceiveResponse.cs
Normal file
27
WPFWCSDemo/API/Task/StockIn/StockIn_ReceiveResponse.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WPFWCSDemo.API.Task.StockIn
|
||||
{
|
||||
/// <summary>
|
||||
/// 【接收*入库*推送后】向wms反馈消息
|
||||
/// </summary>
|
||||
public class StockIn_ReceiveResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 作业号
|
||||
/// </summary>
|
||||
public string JobId { get; set; }
|
||||
/// <summary>
|
||||
/// 反馈信息
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
/// <summary>
|
||||
/// 返回结果 0-正常 1-异常
|
||||
/// </summary>
|
||||
public int Result { get; set; }
|
||||
}
|
||||
}
|
||||
42
WPFWCSDemo/API/Task/StockIn/StockIn_Request.cs
Normal file
42
WPFWCSDemo/API/Task/StockIn/StockIn_Request.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WPFWCSDemo.API.Task.StockIn
|
||||
{
|
||||
/// <summary>
|
||||
/// wcs主动向wms请求*入库*任务
|
||||
/// </summary>
|
||||
public class StockIn_Request
|
||||
{
|
||||
/// <summary>
|
||||
/// 接口名称
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public string Name { get; set; }
|
||||
/// <summary>
|
||||
/// 任务号
|
||||
/// </summary>
|
||||
public string TaskId { get; set; }
|
||||
/// <summary>
|
||||
/// 托盘号
|
||||
/// </summary>
|
||||
public string PalletId { get; set; }
|
||||
/// <summary>
|
||||
/// 任务类型
|
||||
/// </summary>
|
||||
public string TaskType { get; set; }
|
||||
/// <summary>
|
||||
/// 源站点
|
||||
/// </summary>
|
||||
public string SourceLocation { get; set; }
|
||||
/// <summary>
|
||||
/// 发送结果
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public string Result { get; set; }
|
||||
}
|
||||
}
|
||||
27
WPFWCSDemo/API/Task/StockIn/StockIn_RequestResponse.cs
Normal file
27
WPFWCSDemo/API/Task/StockIn/StockIn_RequestResponse.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WPFWCSDemo.API.Task.StockIn
|
||||
{
|
||||
/// <summary>
|
||||
/// 【向wms请求*入库*后】wms的返回消息
|
||||
/// </summary>
|
||||
public class StockIn_RequestResponse
|
||||
{
|
||||
/// <summary>
|
||||
/// 作业号
|
||||
/// </summary>
|
||||
public string JobId { get; set; }
|
||||
/// <summary>
|
||||
/// 反馈信息
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
/// <summary>
|
||||
/// 返回结果 0-正常 1-异常
|
||||
/// </summary>
|
||||
public int Result { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user