| | |
| | | for (ActionGroupReq actionGroupReq : routePointReq.getActionGroupList()) { |
| | | for (PointActionReq action : actionGroupReq.getActions()) { |
| | | if (action.getZoom() != null){ |
| | | action.setZoom(multiple_23(action.getZoom())); |
| | | action.setZoom(multiple23(action.getZoom())); |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | public static Double multiple_23(Double zoom){ |
| | | public static Double multiple23(Double zoom){ |
| | | return zoom * CHANSI_H20T; |
| | | } |
| | | |
| | | public static Double divided_23(Double zoom){ |
| | | public static Double divided23(Double zoom){ |
| | | return zoom / CHANSI_H20T; |
| | | } |
| | | |
| | |
| | | |
| | | ardRouteChange.setPoints(points); |
| | | } |
| | | |
| | | // private ArdRoutePoints buildArdRoutePoints(){ |
| | | // ArdRoutePoints ardRoutePoints1 = new ArdRoutePoints(); |
| | | // ardRoutePoints1.setDampingDistance(0); |
| | | // ardRoutePoints1.setFlightPathMode(1); |
| | | // ardRoutePoints1.setGroupIndex(0); |
| | | // ardRoutePoints1.setHeading(0); |
| | | // ardRoutePoints1.setHeadingMode(0); |
| | | // ardRoutePoints1.setHeight(50); |
| | | // ardRoutePoints1.setInterestIndex(0); |
| | | // ardRoutePoints1.setLat(31.11339916); |
| | | // ardRoutePoints1.setLon(103.75851462); |
| | | // ardRoutePoints1.setSafeGohomeFlag(0); |
| | | // ardRoutePoints1.setSpeed(8); |
| | | // } |
| | | |
| | | // private ArdRouteActions buildArdRouteActions(){ |
| | | // ArdRouteActions ardRouteActions0 = new ArdRouteActions(); |
| | | // ardRouteActions0.setParam(10); |
| | | // ardRouteActions0.setSpeakInfo(""); |
| | | // ardRouteActions0.setType(1); |
| | | // ardRouteActions0.setWaitTime(2); |
| | | // ArdRouteActions ardRouteActions1 = new ArdRouteActions(); |
| | | // ardRouteActions1.setParam(10); |
| | | // ardRouteActions1.setSpeakInfo(""); |
| | | // ardRouteActions1.setType(1); |
| | | // ardRouteActions1.setWaitTime(2); |
| | | // ArdRouteActions ardRouteActions2 = new ArdRouteActions(); |
| | | // ardRouteActions2.setParam(10); |
| | | // ardRouteActions2.setSpeakInfo(""); |
| | | // ardRouteActions2.setType(1); |
| | | // ardRouteActions2.setWaitTime(2); |
| | | // } |
| | | |
| | | } |