markus / ConvertService / ServiceBase / Markus.Service.StationController / Data / ConvertCOUNT.cs @ 95e7bd84
이력 | 보기 | 이력해설 | 다운로드 (2.36 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.ComponentModel; |
4 |
using System.Linq; |
5 |
using System.Text; |
6 |
using System.Threading.Tasks; |
7 |
|
8 |
namespace Markus.Service.StationController.Data |
9 |
{ |
10 |
public class ConvertCOUNT : INotifyPropertyChanged |
11 |
{ |
12 |
public event PropertyChangedEventHandler PropertyChanged; |
13 |
|
14 |
private void OnPropertyChanged(string propertyName) |
15 |
{ |
16 |
if (PropertyChanged != null) |
17 |
{ |
18 |
PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); |
19 |
} |
20 |
|
21 |
} |
22 |
|
23 |
public ConvertCOUNT() |
24 |
{ |
25 |
|
26 |
} |
27 |
|
28 |
public ConvertCOUNT(string projectNO, double count, double exception_count) |
29 |
{ |
30 |
Project_NO = projectNO; |
31 |
Count = count; |
32 |
ExceptionCount = exception_count; |
33 |
StringCount = count + " / "; |
34 |
} |
35 |
|
36 |
private string _Project_NO; |
37 |
public string Project_NO |
38 |
{ |
39 |
get |
40 |
{ |
41 |
return _Project_NO; |
42 |
} |
43 |
set |
44 |
{ |
45 |
if (_Project_NO != value) |
46 |
{ |
47 |
_Project_NO = value; |
48 |
OnPropertyChanged("Project_NO"); |
49 |
} |
50 |
} |
51 |
} |
52 |
|
53 |
private double _ExceptionCount; |
54 |
public double ExceptionCount |
55 |
{ |
56 |
get |
57 |
{ |
58 |
return _ExceptionCount; |
59 |
} |
60 |
set |
61 |
{ |
62 |
if (_ExceptionCount != value) |
63 |
{ |
64 |
_ExceptionCount = value; |
65 |
OnPropertyChanged("ExceptionCount"); |
66 |
} |
67 |
} |
68 |
} |
69 |
|
70 |
private double _Count; |
71 |
public double Count |
72 |
{ |
73 |
get |
74 |
{ |
75 |
return _Count; |
76 |
} |
77 |
set |
78 |
{ |
79 |
if (_Count != value) |
80 |
{ |
81 |
_Count = value; |
82 |
OnPropertyChanged("Count"); |
83 |
} |
84 |
} |
85 |
} |
86 |
|
87 |
|
88 |
private string _StringCount; |
89 |
public string StringCount |
90 |
{ |
91 |
get |
92 |
{ |
93 |
return _StringCount; |
94 |
} |
95 |
set |
96 |
{ |
97 |
if (_StringCount != value) |
98 |
{ |
99 |
_StringCount = value; |
100 |
OnPropertyChanged("StringCount"); |
101 |
} |
102 |
} |
103 |
} |
104 |
|
105 |
} |
106 |
} |