markus / ConvertService / ServiceBase / IServiceBase / ConvertItem.cs @ 06f13e11
이력 | 보기 | 이력해설 | 다운로드 (3.25 KB)
1 |
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 _serviceID; |
54 |
int _reConverter; |
55 |
string _originfilePath; |
56 |
string _convertPath; |
57 |
string _convertState; |
58 |
int _currentPageNo; |
59 |
int _totalPage; |
60 |
string _exception; |
61 |
|
62 |
|
63 |
DateTime _createtime; |
64 |
|
65 |
[DataMember] |
66 |
public string ConvertID { get => _convertID; set => _convertID = value; } |
67 |
|
68 |
[DataMember] |
69 |
public string ServiceID { get => _serviceID; set => _serviceID = value; } |
70 |
|
71 |
[DataMember] |
72 |
public int ReConverter { get => _reConverter; set => _reConverter = value; } |
73 |
|
74 |
[DataMember] |
75 |
public string OriginfilePath { get => _originfilePath; set => _originfilePath = value; } |
76 |
|
77 |
[DataMember] |
78 |
public string ConvertPath { get => _convertPath; set => _convertPath = value; } |
79 |
|
80 |
[DataMember] |
81 |
public string ConvertState { get => _convertState; set => _convertState = value; } |
82 |
|
83 |
[DataMember] |
84 |
public string ProjectNumber { get => _projectNumber; set => _projectNumber = value; } |
85 |
|
86 |
[DataMember] |
87 |
public int TotalPage { get => _totalPage; set => _totalPage = value; } |
88 |
|
89 |
[DataMember] |
90 |
public int CurrentPageNo { get => _currentPageNo; set => _currentPageNo = value; } |
91 |
|
92 |
[DataMember] |
93 |
public DateTime CreateTime { get => _createtime; set => _createtime = value; } |
94 |
|
95 |
[DataMember] |
96 |
public string UniqueKey { get => _uniqueKey; set => _uniqueKey = value; } |
97 |
|
98 |
|
99 |
[DataMember] |
100 |
public string Exception { get => _exception; set => _exception = value; } |
101 |
|
102 |
[DataMember] |
103 |
public Int64 ProcessorAffinity { get; set; } |
104 |
} |
105 |
} |