개정판 da0d704e
dev issue #000 : ANGLE
Change-Id: I10f3e6621b241256727177995ab1a955c77b3256
DTI_PID/SPPIDConverter/BaseModel/Symbol.cs | ||
---|---|---|
53 | 53 |
if (value < gap) |
54 | 54 |
value = 0; |
55 | 55 |
else if (1.57 - gap < value && value < 1.57 + gap) |
56 |
value = 270 * Math.PI / 180;
|
|
56 |
value = 90 * Math.PI / 180;
|
|
57 | 57 |
else if (3.14 - gap < value && value < 3.14 + gap) |
58 | 58 |
value = Math.PI; |
59 | 59 |
else if (4.71 - gap < value && value < 4.71 + gap) |
60 |
value = 90 * Math.PI / 180;
|
|
60 |
value = 270 * Math.PI / 180;
|
|
61 | 61 |
|
62 |
value = -1 * value; |
|
62 | 63 |
_ANGLE = value; |
63 | 64 |
} |
64 | 65 |
} |
내보내기 Unified diff