프로젝트

일반

사용자정보

통계
| 개정판:

hytos / DTI_PID / SPPIDConverter / SPPIDModel / SPPID_PipeRunPropSetting.cs @ d1dc77a3

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

1
using System;
2
using System.Collections.Generic;
3
using System.Data;
4
using System.Linq;
5
using System.Text;
6
using System.Threading.Tasks;
7

    
8
namespace Converter.SPPID.Model
9
{
10
    public class SPPID_PipeRunPropSetting
11
    {
12
        public string UID { get; set; }
13
        public int ShowType { get; set; }
14
        public string Name { get; set; }
15
        public string DisplayName { get; set; }
16
        public string TableName { get; set; }
17
        public string DataType { get; set; }
18
        public string Value { get; set; }
19
        public string Cond1_Name { get; set; }
20
        public string Cond1_DisplayName { get; set; }
21
        public string Cond1_TableName { get; set; }
22
        public string Cond1_DataType { get; set; }
23
        public string Cond1_Value { get; set; }
24
        public string Cond2_Name { get; set; }
25
        public string Cond2_DisplayName { get; set; }
26
        public string Cond2_TableName { get; set; }
27
        public string Cond2_DataType { get; set; }
28
        public string Cond2_Value { get; set; }
29
        public int SortOrder { get; set; }
30

    
31
        public SPPID_PipeRunPropSetting()
32
        {
33
        }
34

    
35
        public SPPID_PipeRunPropSetting(DataRow dr)
36
        {   
37
            UID                 = dr["UID"              ].ToString();
38
            ShowType            = Convert.ToInt32(dr["ShowType"].ToString());
39
            Name                = dr["Name"             ].ToString();
40
            DisplayName         = dr["DisplayName"      ].ToString();
41
            TableName           = dr["TableName"        ].ToString();
42
            DataType            = dr["DataType"         ].ToString();            
43
            Value               = dr["Value"            ].ToString();
44
            Cond1_Name          = dr["Cond1_Name"       ].ToString();
45
            Cond1_DisplayName   = dr["Cond1_DisplayName"].ToString();
46
            Cond1_TableName     = dr["Cond1_TableName"  ].ToString();
47
            Cond1_DataType      = dr["Cond1_DataType"   ].ToString();            
48
            Cond1_Value         = dr["Cond1_Value"      ].ToString();
49
            Cond2_Name          = dr["Cond2_Name"       ].ToString();
50
            Cond2_DisplayName   = dr["Cond2_DisplayName"].ToString();
51
            Cond2_TableName     = dr["Cond2_TableName"  ].ToString();
52
            Cond2_DataType      = dr["Cond2_DataType"   ].ToString();
53
            Cond2_Value         = dr["Cond2_Value"      ].ToString();
54
            SortOrder           = Convert.ToInt32(dr["SortOrder"].ToString());
55
        }
56
    }
57
}
클립보드 이미지 추가 (최대 크기: 500 MB)