|
@@ -279,22 +279,22 @@ public class TGdbhGdServiceImpl implements ITGdbhGdService {
|
|
|
writetilt = "0.100000000000000006";
|
|
|
// writeheading = heading;
|
|
|
} else {
|
|
|
- Double dr = Math.abs(dr_mr - dr_hou);
|
|
|
- if (dr > 10 && dr < 160) {
|
|
|
- writetilt = "0.100000000000000006";
|
|
|
-// writeheading = heading;
|
|
|
- } else if (dr > 160) {
|
|
|
-// writetilt = (360 - Double.parseDouble(tilt)) + "";
|
|
|
-// if ("180.0".equals(writeheading)) {
|
|
|
-// writeheading = "0.000001";
|
|
|
-// } else {
|
|
|
-// writeheading = "180.0";
|
|
|
-// }
|
|
|
- writetilt = tilt;
|
|
|
- } else {
|
|
|
+// Double dr = Math.abs(dr_mr - dr_hou);
|
|
|
+// if (dr > 10 && dr < 160) {
|
|
|
+// writetilt = "0.100000000000000006";
|
|
|
+//// writeheading = heading;
|
|
|
+// } else if (dr > 160) {
|
|
|
+//// writetilt = (360 - Double.parseDouble(tilt)) + "";
|
|
|
+//// if ("180.0".equals(writeheading)) {
|
|
|
+//// writeheading = "0.000001";
|
|
|
+//// } else {
|
|
|
+//// writeheading = "180.0";
|
|
|
+//// }
|
|
|
+// writetilt = tilt;
|
|
|
+// } else {
|
|
|
writetilt = tilt;
|
|
|
// writeheading = heading;
|
|
|
- }
|
|
|
+// }
|
|
|
}
|
|
|
}
|
|
|
String height = dto.getHeight();
|