개정판 6b298450
dev issue #000 : text, note modeling && Branch line bug fix
Change-Id: Id6292a903cfe144a0f35839a74fc769feaff8849
DTI_PID/BaseModel/Model/Text.cs | ||
---|---|---|
17 | 17 |
private string _WIDTH; |
18 | 18 |
private string _HEIGHT; |
19 | 19 |
private string _AREA; |
20 |
private SPPIDSymbolInfo _SPPID; |
|
20 | 21 |
|
21 | 22 |
public string UID { get => _UID; set => _UID = value; } |
22 | 23 |
public string ATTRIBUTEVALUE { get => _ATTRIBUTEVALUE; set => _ATTRIBUTEVALUE = value; } |
23 | 24 |
public string NAME { get => _NAME; set => _NAME = value; } |
24 | 25 |
public string LOCATION { get => _LOCATION; set => _LOCATION = value; } |
25 | 26 |
public string VALUE { get => _VALUE; set => _VALUE = value; } |
26 |
public double ANGLE { get => _ANGLE; set => _ANGLE = value; } |
|
27 |
public double ANGLE |
|
28 |
{ |
|
29 |
get |
|
30 |
{ |
|
31 |
return _ANGLE; |
|
32 |
} |
|
33 |
set |
|
34 |
{ |
|
35 |
if (value == 1.57) |
|
36 |
value = 90 * Math.PI / 180; |
|
37 |
else if (value == 3.14) |
|
38 |
value = Math.PI; |
|
39 |
else if (value == 4.71) |
|
40 |
value = 270 * Math.PI / 180; |
|
41 |
|
|
42 |
_ANGLE = value; |
|
43 |
} |
|
44 |
} |
|
27 | 45 |
public string WIDTH { get => _WIDTH; set => _WIDTH = value; } |
28 | 46 |
public string HEIGHT { get => _HEIGHT; set => _HEIGHT = value; } |
29 | 47 |
public string AREA { get => _AREA; set => _AREA = value; } |
48 |
public SPPIDSymbolInfo SPPID { get => _SPPID; set => _SPPID = value; } |
|
30 | 49 |
} |
31 | 50 |
} |
내보내기 Unified diff