markus / ConvertService / ServiceBase / Markus.Service.StationController / Data / ConvertCOUNT.cs @ c7955b40
이력 | 보기 | 이력해설 | 다운로드 (1.94 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, int count, int exception_count) |
29 |
{ |
30 |
Project_NO = projectNO; |
31 |
Count = count; |
32 |
ExceptionCount = exception_count; |
33 |
} |
34 |
|
35 |
private string _Project_NO; |
36 |
public string Project_NO |
37 |
{ |
38 |
get |
39 |
{ |
40 |
return _Project_NO; |
41 |
} |
42 |
set |
43 |
{ |
44 |
if (_Project_NO != value) |
45 |
{ |
46 |
_Project_NO = value; |
47 |
OnPropertyChanged("Project_NO"); |
48 |
} |
49 |
} |
50 |
} |
51 |
|
52 |
private double _ExceptionCount; |
53 |
public double ExceptionCount |
54 |
{ |
55 |
get |
56 |
{ |
57 |
return _ExceptionCount; |
58 |
} |
59 |
set |
60 |
{ |
61 |
if (_ExceptionCount != value) |
62 |
{ |
63 |
_ExceptionCount = value; |
64 |
OnPropertyChanged("ExceptionCount"); |
65 |
} |
66 |
} |
67 |
} |
68 |
|
69 |
private double _Count; |
70 |
public double Count |
71 |
{ |
72 |
get |
73 |
{ |
74 |
return _Count; |
75 |
} |
76 |
set |
77 |
{ |
78 |
if (_Count != value) |
79 |
{ |
80 |
_Count = value; |
81 |
OnPropertyChanged("Count"); |
82 |
} |
83 |
} |
84 |
} |
85 |
|
86 |
|
87 |
|
88 |
} |
89 |
} |