개정판 77a869a8
dev issue #000 : fix angle and attribute
Change-Id: I9c2956abdc9e493d715b8a3a59a3aba8fa0a8aab
DTI_PID/SPPIDConverter/BaseModel/Text.cs | ||
---|---|---|
58 | 58 |
if (value < gap) |
59 | 59 |
value = 0; |
60 | 60 |
else if (1.57 - gap < value && value < 1.57 + gap) |
61 |
value = 90 * Math.PI / 180;
|
|
61 |
value = 270 * Math.PI / 180;
|
|
62 | 62 |
else if (3.14 - gap < value && value < 3.14 + gap) |
63 | 63 |
value = Math.PI; |
64 | 64 |
else if (4.71 - gap < value && value < 4.71 + gap) |
65 |
value = 270 * Math.PI / 180;
|
|
65 |
value = 90 * Math.PI / 180;
|
|
66 | 66 |
|
67 | 67 |
_ANGLE = value; |
68 | 68 |
} |
내보내기 Unified diff