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 JY.MES.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JY.MES.Entity
{
public class MesCallResult<T>
{
public bool IsSuccess { get; set; }
/// <summary>
/// 错误类型枚举
/// </summary>
public MesErrorType ErrorType { get; set; }
/// <summary>
/// 错误描述
/// </summary>
public string ErrorMessage { get; set; }
/// <summary>
/// mes实际返回的响应
/// </summary>
public T OriResponse { get; set; }
/// <summary>
/// mes实际返回的响应json字符串
/// </summary>
public string OriRespJsonStr { get; set; }
}
}