Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PRMS
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengfunan
PRMS
Commits
fe4977b6
Commit
fe4977b6
authored
Dec 21, 2020
by
gaozhentao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除调试代码
parent
521dd7ee
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
Manager.java
src/main/java/com/yingxin/prms/service/business/Manager.java
+1
-3
No files found.
src/main/java/com/yingxin/prms/service/business/Manager.java
View file @
fe4977b6
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment