프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / ConvertService / ServiceBase / Markus.Service.StationController / Data / ProjectName.cs @ 05eeeae3

이력 | 보기 | 이력해설 | 다운로드 (2.07 KB)

1 e139272d 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
    public class ProjectName : 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 ProjectName()
24
        {
25
26
        }
27
28
        public ProjectName(string projectNO, string projectname)
29
        {
30
            Project_NO = projectNO;
31
            Project_Name = projectname;
32
            Project_NOAndProject_Name = Project_NO + " : " + Project_Name;
33
        }
34
35
        private string _Project_NOAndProject_Name;
36
        public string Project_NOAndProject_Name
37
        {
38
            get
39
            {
40
                return _Project_NOAndProject_Name;
41
            }
42
            set
43
            {
44
                if (_Project_NOAndProject_Name != value)
45
                {
46
                    _Project_NOAndProject_Name = value;
47
                    OnPropertyChanged("Project_NOAndProject_Name");
48
                }
49
            }
50
        }
51
52
        private string _Project_NO;
53
        public string Project_NO
54
        {
55
            get
56
            {
57
                return _Project_NO;
58
            }
59
            set
60
            {
61
                if (_Project_NO != value)
62
                {
63
                    _Project_NO = value;
64
                    OnPropertyChanged("Project_NO");
65
                }
66
            }
67
        }
68
69
        private string _Project_Name;
70
        public string Project_Name
71
        {
72
            get
73
            {
74
                return _Project_Name;
75
            }
76
            set
77
            {
78
                if (_Project_Name != value)
79
                {
80
                    _Project_Name = value;
81
                    OnPropertyChanged("Project_Name");
82
                }
83
            }
84
        }
85
    }
86
}
클립보드 이미지 추가 (최대 크기: 500 MB)