mes集成增加MesCallResult

This commit is contained in:
liming 蔡
2026-07-14 16:09:25 +08:00
parent 5d2c7afb9c
commit 2ecfd549b3
12 changed files with 198 additions and 49 deletions
+1 -19
View File
@@ -9,26 +9,8 @@ namespace JY.MES.MES
/// <summary>
/// 产品进站响应信息
/// </summary>
public class RespArrivalStation
public class RespArrivalStation : RespBase
{
/// <summary>
/// 错误代码,成功不返回
/// </summary>
public string Code { get; set; }
/// <summary>
/// 成功标识,false失败 true 成功
/// </summary>
public bool Success { get; set; }
/// <summary>
/// 数据处理消息,成功不返回
/// </summary>
public string Message { get; set; }
/// <summary>
/// 报错消息类型 A:停线、B:排出、C:忽略(需警示)
/// </summary>
public string Category { get; set; }
}
}
+34
View File
@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JY.MES.MES
{
/// <summary>
/// 1440项目对应MES响应消息基类
/// </summary>
public abstract class RespBase
{
/// <summary>
/// 错误代码,成功不返回
/// </summary>
public string Code { get; set; }
/// <summary>
/// 成功标识,false失败 true 成功
/// </summary>
public bool Success { get; set; }
/// <summary>
/// 数据处理消息,成功不返回
/// </summary>
public string Message { get; set; }
/// <summary>
/// 报错消息类型 A:停线、B:排出、C:忽略(需警示)
/// </summary>
public string Category { get; set; }
}
}
+1 -1
View File
@@ -9,7 +9,7 @@ namespace JY.MES.MES
/// <summary>
/// 产品出站响应信息
/// </summary>
public sealed class RespExitStation : RespArrivalStation
public sealed class RespExitStation : RespBase
{
}
}
+15
View File
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JY.MES.MES
{
/// <summary>
/// 结果加工参数响应信息
/// </summary>
public class RespProductResult : RespBase
{
}
}