|
@@ -106,9 +106,9 @@ public class TeDataServiceImpl implements TeDataService {
|
106
|
106
|
//todo 第二次待打点
|
107
|
107
|
|
108
|
108
|
//计算以粮面为基准面的高
|
109
|
|
- System.out.println("直径和高是:"+diameter+"****"+high);
|
110
|
109
|
double zHeight = Algorithm.zHeight(teData.getRotationxy(), diameter, high);
|
111
|
|
- System.out.println("以粮面为基准面的高是:"+zHeight+"diameter直径是:"+diameter);
|
|
110
|
+ logger.info("zHeight {} ,diameter {}",zHeight,diameter);
|
|
111
|
+
|
112
|
112
|
//打点
|
113
|
113
|
String rotationxy = Algorithm.getAveragePosition(diameter, zHeight);
|
114
|
114
|
teData.setRotationxy(rotationxy);
|