개정판 32954c7f
dev issue #1225 : fix line get set
Change-Id: Ic7dd7a187f61a0c2ca6396ae51b08b5fda5995a5
DTI_PID/APIDConverter/Model/PlantItem/Line.cs | ||
---|---|---|
21 | 21 |
private string _TYPEUID; |
22 | 22 |
private string _STARTPOINT; |
23 | 23 |
private string _ENDPOINT; |
24 |
public double Start_X { get; set; } |
|
25 |
public double Start_Y { get; set; } |
|
26 |
public double End_X { get; set; } |
|
27 |
public double End_Y { get; set; } |
|
24 | 28 |
private string _TYPE; |
25 | 29 |
private string _AREA; |
26 | 30 |
private string _THICKNESS; |
... | ... | |
32 | 36 |
private List<Attribute> _ATTRIBUTES = new List<Attribute>(); |
33 | 37 |
|
34 | 38 |
public string OWNER { get => _OWNER; set => _OWNER = value; } |
35 |
public string UID { get => _UID; set => _UID = value; } |
|
36 |
public string STARTPOINT { get => _STARTPOINT; set => _STARTPOINT = value; } |
|
37 |
public string ENDPOINT { get => _ENDPOINT; set => _ENDPOINT = value; } |
|
39 |
public string STARTPOINT |
|
40 |
{ |
|
41 |
get |
|
42 |
{ |
|
43 |
return _STARTPOINT; |
|
44 |
} |
|
45 |
set |
|
46 |
{ |
|
47 |
_STARTPOINT = value; |
|
48 |
double x = 0, y = 0; |
|
49 |
APIDUtils.ConvertPointBystring(_STARTPOINT, ref x, ref y); |
|
50 |
Start_X = x; |
|
51 |
Start_Y = y; |
|
52 |
} |
|
53 |
} |
|
54 |
public string ENDPOINT |
|
55 |
{ |
|
56 |
get |
|
57 |
{ |
|
58 |
return _ENDPOINT; |
|
59 |
} |
|
60 |
set |
|
61 |
{ |
|
62 |
_ENDPOINT = value; |
|
63 |
double x = 0, y = 0; |
|
64 |
APIDUtils.ConvertPointBystring(_ENDPOINT, ref x, ref y); |
|
65 |
End_X = x; |
|
66 |
End_Y = y; |
|
67 |
} |
|
68 |
} |
|
38 | 69 |
public string TYPE { get => _TYPE; set => _TYPE = value; } |
39 | 70 |
public string AREA { get => _AREA; set => _AREA = value; } |
40 | 71 |
public string THICKNESS { get => _THICKNESS; set => _THICKNESS = value; } |
내보내기 Unified diff