프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceBase / IServiceBase / ConvertItem.cs @ 949d5058

이력 | 보기 | 이력해설 | 다운로드 (2.99 KB)

1 53c9637d taeseongkim
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Runtime.Serialization;
5
using System.Text;
6
using System.Threading.Tasks;
7
8
namespace Markus.Service.Interface
9
{
10
    [DataContract]
11
    public class ConvertItem
12
    {
13
        public ConvertItem(string ProjectNo , string ID)
14
        {
15
            this._projectNumber = ProjectNo;
16
            this._convertID = ID;
17
        }
18
19
        public ConvertItem(string key, string ProjectNo, string ID, string originfilePath)
20
        {
21
            this._uniqueKey = key;
22
            this._projectNumber = ProjectNo;
23
            this._convertID = ID;
24
            this._originfilePath = originfilePath;
25
        }
26
27
        public ConvertItem(string key, string ProjectNo, string ID,string originfilePath,string convertPath)
28
        {
29
            this._uniqueKey = key;
30
            this._projectNumber = ProjectNo;
31
            this._convertID = ID;
32
            this._originfilePath = originfilePath;
33
            this._convertPath = convertPath;
34
        }
35
36
        public ConvertItem(string key, string ProjectNo, string ID, string originfilePath, string convertPath,string Status,int currentPageNo,int totalPage,string exception)
37
        {
38
            this._uniqueKey = key;
39
            this._projectNumber = ProjectNo;
40
            this._convertID = ID;
41
            this._originfilePath = originfilePath;
42
            this._convertPath = convertPath;
43
            this._convertState = Status;
44
            this._currentPageNo = currentPageNo;
45
            this._totalPage = totalPage;
46
            this._exception = exception;
47
        }
48
49
50
        string _uniqueKey;
51
        string _projectNumber;
52
        string _convertID;
53
        string _originfilePath;
54
        string _convertPath;
55
        string _convertState;
56
        int _currentPageNo;
57
        int _totalPage;
58
        string _exception;
59
60
61
        DateTime _createtime;
62
63
        [DataMember]
64
        public string ConvertID { get => _convertID; set => _convertID = value; }
65
66
        [DataMember]
67
        public string OriginfilePath { get => _originfilePath; set => _originfilePath = value; }
68
69
        [DataMember]
70
        public string ConvertPath { get => _convertPath; set => _convertPath = value; }
71
72
        [DataMember]
73
        public string ConvertState { get => _convertState; set => _convertState = value; }
74
75
        [DataMember]
76
        public string ProjectNumber { get => _projectNumber; set => _projectNumber = value; }
77
78
        [DataMember]
79
        public int TotalPage { get => _totalPage; set => _totalPage = value; }
80
81
        [DataMember]
82
        public int CurrentPageNo { get => _currentPageNo; set => _currentPageNo = value; }
83
84
        [DataMember]
85
        public DateTime CreateTime { get => _createtime; set => _createtime = value; }
86
87
        [DataMember]
88
        public string UniqueKey { get => _uniqueKey; set => _uniqueKey = value; }
89
90
91
        [DataMember]
92
        public string Exception { get => _exception; set => _exception = value; }
93
94
        [DataMember]
95
        public Int64 ProcessorAffinity { get; set; }
96
    }
97
}
클립보드 이미지 추가 (최대 크기: 500 MB)