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
+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; }
}
}