wangxinhui
9 天以前 b466b3135cd7f3b08f570efda0ffb691daff5270
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core;
 
namespace WIDESEAWCS_DTO
{
    public class EPLightContent
    {
        /// <summary>
        /// 返回结果 0:成功;-1:失败
        /// </summary>
        public string Result { get; set; }
        /// <summary>
        /// 返回信息
        /// </summary>
        public string Msg { get; set; }
 
        public EPLightContent()
        {
        }
 
        public EPLightContent OK(string message = "")
        {
            Result = "0";
            Msg = message;
            return this;
        }
 
        public EPLightContent Error(string message = "")
        {
            Result = "-1";
            Msg = message;
            return this;
        }
    }
}