Files
KinginfoGateway/src/ThingsGateway.Foundation/Foundation/Common/IOperResult.cs

32 lines
1.0 KiB
C#
Raw Normal View History

2023-05-23 23:54:28 +08:00
#region copyright
//------------------------------------------------------------------------------
// 此代码版权声明为全文件覆盖,如有原作者特别声明,会在下方手动补充
// 此代码版权除特别声明外的代码归作者本人Diego所有
// 源代码使用协议遵循本仓库的开源协议及附加协议
2023-07-16 17:41:52 +08:00
// Gitee源代码仓库https://gitee.com/dotnetchina/ThingsGateway
2023-05-23 23:54:28 +08:00
// Github源代码仓库https://github.com/kimdiego2098/ThingsGateway
2023-07-16 17:32:49 +08:00
// 使用文档https://diego2098.gitee.io/thingsgateway/
2023-05-23 23:54:28 +08:00
// QQ群605534569
//------------------------------------------------------------------------------
#endregion
2023-06-06 19:37:04 +08:00
namespace ThingsGateway.Foundation;
/// <summary>
/// 操作接口
/// </summary>
public interface IOperResult
2023-03-04 18:41:11 +08:00
{
2023-03-31 16:25:33 +08:00
/// <summary>
2023-06-06 19:37:04 +08:00
/// 是否成功
/// </summary>
bool IsSuccess { get; }
/// <summary>
/// 返回消息
/// </summary>
string Message { get; set; }
/// <summary>
/// 操作代码
2023-03-31 16:25:33 +08:00
/// </summary>
2023-06-06 19:37:04 +08:00
ResultCode ResultCode { get; set; }
2023-03-04 18:41:11 +08:00
}