markus / ConvertService / ServiceBase / Markus.Service.StationController / Data / ConvertCOUNT.cs @ 2f07b70a
이력 | 보기 | 이력해설 | 다운로드 (1.46 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 | public ConvertCOUNT(string projectNO, int count) |
||
29 | { |
||
30 | Project_NO = projectNO; |
||
31 | Count = count; |
||
32 | } |
||
33 | |||
34 | private string _Project_NO; |
||
35 | public string Project_NO |
||
36 | { |
||
37 | get |
||
38 | { |
||
39 | return _Project_NO; |
||
40 | } |
||
41 | set |
||
42 | { |
||
43 | if (_Project_NO != value) |
||
44 | { |
||
45 | _Project_NO = value; |
||
46 | OnPropertyChanged("Project_NO"); |
||
47 | } |
||
48 | } |
||
49 | } |
||
50 | |||
51 | private int _Count; |
||
52 | public int Count |
||
53 | { |
||
54 | get |
||
55 | { |
||
56 | return _Count; |
||
57 | } |
||
58 | set |
||
59 | { |
||
60 | if (_Count != value) |
||
61 | { |
||
62 | _Count = value; |
||
63 | OnPropertyChanged("Count"); |
||
64 | } |
||
65 | } |
||
66 | } |
||
67 | |||
68 | |||
69 | |||
70 | } |
||
71 | } |