shjung 2 lat temu
rodzic
commit
7264cdb785

+ 2 - 2
src/main/java/com/its/op/entity/its/scrs/TbScSgnlCtlr.java

@@ -236,7 +236,7 @@ public class TbScSgnlCtlr implements Serializable {
             }
             if (5 == dto.getDirA()) {
                 dto.setDegAI(dto.getDegAI() + 90);
-                dto.setDegAO(dto.getDegAO() + 180)
+                dto.setDegAO(dto.getDegAI() + 180);
                 if (dto.getDegAI() > 360) {
                     dto.setDegAI(dto.getDegAI() - 360);
                 }
@@ -258,7 +258,7 @@ public class TbScSgnlCtlr implements Serializable {
             }
             if (5 == dto.getDirB()) {
                 dto.setDegBI(dto.getDegBI() + 90);
-                dto.setDegBO(dto.getDegBO() + 180);
+                dto.setDegBO(dto.getDegBI() + 180);
                 if (dto.getDegBI() > 360) {
                     dto.setDegBI(dto.getDegBI() - 360);
                 }