markus / ConvertService / ServiceController / Markus.Service.StationController / Data / DocInfo.cs @ 03960fa5
이력 | 보기 | 이력해설 | 다운로드 (2.79 KB)
1 | 919dee1b | semi | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.ComponentModel; |
||
4 | using System.Data.Entity.Core.Objects; |
||
5 | using System.Linq; |
||
6 | using System.Text; |
||
7 | using System.Threading.Tasks; |
||
8 | |||
9 | namespace Markus.Service.StationController.Data |
||
10 | { |
||
11 | public class DocInfo : INotifyPropertyChanged |
||
12 | { |
||
13 | public event PropertyChangedEventHandler PropertyChanged; |
||
14 | |||
15 | private void OnPropertyChanged(string propertyName) |
||
16 | { |
||
17 | if (PropertyChanged != null) |
||
18 | { |
||
19 | PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); |
||
20 | } |
||
21 | |||
22 | } |
||
23 | |||
24 | public DocInfo() |
||
25 | { |
||
26 | |||
27 | } |
||
28 | |||
29 | public DocInfo(string id, string original_file, string document_ID, int page_count, string project_no) |
||
30 | { |
||
31 | ID = id; |
||
32 | ORIGINAL_FILE = original_file; |
||
33 | DOCUMENT_ID = document_ID; |
||
34 | PAGE_COUNT = page_count; |
||
35 | PROJECT_NO = project_no; |
||
36 | } |
||
37 | |||
38 | private string _ID; |
||
39 | public string ID |
||
40 | { |
||
41 | get |
||
42 | { |
||
43 | return _ID; |
||
44 | } |
||
45 | set |
||
46 | { |
||
47 | if (_ID != value) |
||
48 | { |
||
49 | _ID = value; |
||
50 | OnPropertyChanged("ID"); |
||
51 | } |
||
52 | } |
||
53 | } |
||
54 | |||
55 | private string _ORIGINAL_FILE; |
||
56 | public string ORIGINAL_FILE |
||
57 | { |
||
58 | get |
||
59 | { |
||
60 | return _ORIGINAL_FILE; |
||
61 | } |
||
62 | set |
||
63 | { |
||
64 | if (_ORIGINAL_FILE != value) |
||
65 | { |
||
66 | _ORIGINAL_FILE = value; |
||
67 | OnPropertyChanged("ORIGINAL_FILE"); |
||
68 | } |
||
69 | } |
||
70 | } |
||
71 | |||
72 | |||
73 | private string _DOCUMENT_ID; |
||
74 | public string DOCUMENT_ID |
||
75 | { |
||
76 | get |
||
77 | { |
||
78 | return _DOCUMENT_ID; |
||
79 | } |
||
80 | set |
||
81 | { |
||
82 | if (_DOCUMENT_ID != value) |
||
83 | { |
||
84 | _DOCUMENT_ID = value; |
||
85 | OnPropertyChanged("DOCUMENT_ID"); |
||
86 | } |
||
87 | } |
||
88 | } |
||
89 | |||
90 | private int _PAGE_COUNT; |
||
91 | public int PAGE_COUNT |
||
92 | { |
||
93 | get |
||
94 | { |
||
95 | return _PAGE_COUNT; |
||
96 | } |
||
97 | set |
||
98 | { |
||
99 | if (_PAGE_COUNT != value) |
||
100 | { |
||
101 | _PAGE_COUNT = value; |
||
102 | OnPropertyChanged("PAGE_COUNT"); |
||
103 | } |
||
104 | } |
||
105 | } |
||
106 | |||
107 | private string _PROJECT_NO; |
||
108 | public string PROJECT_NO |
||
109 | { |
||
110 | get |
||
111 | { |
||
112 | return _PROJECT_NO; |
||
113 | } |
||
114 | set |
||
115 | { |
||
116 | if (_PROJECT_NO != value) |
||
117 | { |
||
118 | _PROJECT_NO = value; |
||
119 | OnPropertyChanged("PROJECT_NO"); |
||
120 | } |
||
121 | } |
||
122 | } |
||
123 | } |
||
124 | } |