markus / ConvertService / ServiceBase / Markus.Service.StationController / Data / ConvertCOUNT.cs @ 80391351
이력 | 보기 | 이력해설 | 다운로드 (1.92 KB)
1 | 2f07b70a | semi | 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 | 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 | 80391351 | semi | public ConvertCOUNT(string projectNO, int count, int exception_count) |
29 | 2f07b70a | semi | { |
30 | Project_NO = projectNO; |
||
31 | Count = count; |
||
32 | 80391351 | semi | ExceptionCount = exception_count; |
33 | 2f07b70a | semi | } |
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 | 80391351 | semi | private int _ExceptionCount; |
53 | public int 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 | 2f07b70a | semi | private int _Count; |
70 | public int 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 | } |