hytos / DTI_PID / SPPIDConverter / SPPIDModel / AttributeMapping.cs @ 87726616
이력 | 보기 | 이력해설 | 다운로드 (1.42 KB)
1 |
using System; |
---|---|
2 |
using System.Collections.Generic; |
3 |
using System.Linq; |
4 |
using System.Text; |
5 |
using System.Threading.Tasks; |
6 |
|
7 |
namespace Converter.SPPID.Model |
8 |
{ |
9 |
[Flags] |
10 |
public enum Location |
11 |
{ |
12 |
None = 0, |
13 |
Left = 1, |
14 |
Right = 2, |
15 |
Down = 4, |
16 |
Up = 8, |
17 |
Center = 16, |
18 |
LeftUp = Left | Up, |
19 |
LeftCenter = Left | Center, |
20 |
LeftDown = Left | Down, |
21 |
CenterUp = Center | Up, |
22 |
CenterDown = Center | Down, |
23 |
RightUp = Right | Up, |
24 |
RightCenter = Right | Center, |
25 |
RightDown = Right | Down |
26 |
} |
27 |
public class AttributeMapping |
28 |
{ |
29 |
private string _UID; |
30 |
private string _DisplayAttribute; |
31 |
private string _Type; |
32 |
private string _SPPIDATTRIBUTENAME; |
33 |
private string _SPPIDSYMBOLNAME; |
34 |
private Location _Location; |
35 |
private bool _LeaderLine; |
36 |
|
37 |
public string UID { get => _UID; set => _UID = value; } |
38 |
public string DisplayAttribute { get => _DisplayAttribute; set => _DisplayAttribute = value; } |
39 |
public string Type { get => _Type; set => _Type = value; } |
40 |
public string SPPIDATTRIBUTENAME { get => _SPPIDATTRIBUTENAME; set => _SPPIDATTRIBUTENAME = value; } |
41 |
public string SPPIDSYMBOLNAME { get => _SPPIDSYMBOLNAME; set => _SPPIDSYMBOLNAME = value; } |
42 |
public Location Location { get; set; } |
43 |
public bool LeaderLine { get => _LeaderLine; set => _LeaderLine = value; } |
44 |
} |
45 |
} |