개정판 39a2a688
dev issue #000 : item mapping
Change-Id: I25661ee253628059f352c9776bacaf6e31f3daa6
DTI_PID/BaseModel/Model/Document.cs | ||
---|---|---|
13 | 13 |
{ |
14 | 14 |
private string _DWGNAME; |
15 | 15 |
private string _SIZE; |
16 |
private double _SIZE_WIDTH; |
|
17 |
private double _SIZE_HEIGHT; |
|
16 | 18 |
private List<Symbol> _SYMBOLS = new List<Symbol>(); |
17 | 19 |
private List<Text> _TEXTINFOS = new List<Text>(); |
18 | 20 |
private List<Note> _NOTES = new List<Note>(); |
... | ... | |
28 | 30 |
public List<Line> LINES { get => _LINES; set => _LINES = value; } |
29 | 31 |
public List<LineNumber> LINENUMBERS { get => _LINENUMBERS; set => _LINENUMBERS = value; } |
30 | 32 |
public string DWGNAME { get => _DWGNAME; set => _DWGNAME = value; } |
31 |
public string SIZE { get => _SIZE; set => _SIZE = value; } |
|
33 |
public string SIZE |
|
34 |
{ |
|
35 |
get |
|
36 |
{ |
|
37 |
return _SIZE; |
|
38 |
} |
|
39 |
set |
|
40 |
{ |
|
41 |
_SIZE = value; |
|
42 |
string[] pointArr = _SIZE.Split(new char[] { ',' }); |
|
43 |
if (pointArr.Length == 2) |
|
44 |
{ |
|
45 |
_SIZE_WIDTH = Convert.ToDouble(pointArr[0]); |
|
46 |
_SIZE_HEIGHT = Convert.ToDouble(pointArr[1]); |
|
47 |
} |
|
48 |
} |
|
49 |
} |
|
50 |
public double SIZE_WIDTH { get => _SIZE_WIDTH; } |
|
51 |
public double SIZE_HEIGHT { get => _SIZE_HEIGHT; } |
|
32 | 52 |
|
33 | 53 |
public Document(string xmlPath) |
34 | 54 |
{ |
내보내기 Unified diff