You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DS.Module.Core
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 返回结果枚举
|
|
|
|
|
/// </summary>
|
|
|
|
|
public enum ResultCode
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 成功结果类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("操作成功")]
|
|
|
|
|
Success = 0,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作取消或操作没引发任何变化
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("操作没引发任何变化")]
|
|
|
|
|
NoChanged = 1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 失败结果类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("操作失败")]
|
|
|
|
|
Fail = -1,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 异常结果类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("操作异常")]
|
|
|
|
|
Error = -2,
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 其他
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Description("其他")]
|
|
|
|
|
Other = -3,
|
|
|
|
|
}
|
|
|
|
|
}
|