hytos / DTI_PID / SPPIDConverter / SPPIDModel / AttributeMapping.cs @ 410794c9
이력 | 보기 | 이력해설 | 다운로드 (1.46 KB)
1 | bca86986 | gaqhf | using System; |
---|---|---|---|
2 | using System.Collections.Generic; |
||
3 | using System.Linq; |
||
4 | using System.Text; |
||
5 | using System.Threading.Tasks; |
||
6 | |||
7 | b8e2644e | gaqhf | namespace Converter.SPPID.Model |
8 | bca86986 | gaqhf | { |
9 | 1a3a74a8 | gaqhf | [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 | 1efc25a3 | gaqhf | public class AttributeMapping |
28 | bca86986 | gaqhf | { |
29 | private string _UID; |
||
30 | private string _DisplayAttribute; |
||
31 | private string _Type; |
||
32 | private string _SPPIDATTRIBUTENAME; |
||
33 | private string _SPPIDSYMBOLNAME; |
||
34 | 1a3a74a8 | gaqhf | private Location _Location; |
35 | 1ba9c671 | gaqhf | private bool _LeaderLine; |
36 | bca86986 | gaqhf | |
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 | 1a3a74a8 | gaqhf | public Location Location { get; set; } |
43 | 1ba9c671 | gaqhf | public bool LeaderLine { get => _LeaderLine; set => _LeaderLine = value; } |
44 | 1ecaaba8 | gaqhf | public bool IsText { get; set; } |
45 | bca86986 | gaqhf | } |
46 | } |