Commit fe4977b6 authored by gaozhentao's avatar gaozhentao

删除调试代码

parent 521dd7ee
...@@ -263,14 +263,12 @@ public class Manager { ...@@ -263,14 +263,12 @@ public class Manager {
} }
//阶数为4,固定值 //阶数为4,固定值
JSONObject jsonResult = CurveFittingMethod.run(x, y,4,xFlag); JSONObject jsonResult = CurveFittingMethod.run(x, y,4,xFlag);
System.out.println(x[0]);
//横坐标 //横坐标
map.put("abscissa",xResult); map.put("abscissa",xResult);
//纵坐标 //纵坐标
map.put("ordinate",yResult); map.put("ordinate",yResult);
//纵坐标预测值 //纵坐标预测值
map.put("ordinateForecast",jsonResult.getString("y_data_array")); map.put("ordinateForecast",jsonResult.getString("y_data_array"));
System.out.println("我瞅瞅:"+jsonResult.getString("y_data_array"));
}else{ }else{
map.put("abscissa",xResult); map.put("abscissa",xResult);
map.put("ordinate",yResult); map.put("ordinate",yResult);
...@@ -338,7 +336,7 @@ public class Manager { ...@@ -338,7 +336,7 @@ public class Manager {
currDate = TimeUtil.PreviousDay(currDate); currDate = TimeUtil.PreviousDay(currDate);
Calendar calendar = Calendar.getInstance(); Calendar calendar = Calendar.getInstance();
calendar.setTime(currDate); calendar.setTime(currDate);
int number = pointNumber+ 1; int number = pointNumber + 1;
switch (flag){ switch (flag){
case("one"): case("one"):
calendar.set(Calendar.MINUTE, calendar.set(Calendar.MINUTE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment