Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
7201cd54
Commit
7201cd54
authored
Dec 26, 2025
by
wujiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
ecf04911
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
LargeScreenImpl.java
...s/boot/module/jxiop/biz/service/impl/LargeScreenImpl.java
+12
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/LargeScreenImpl.java
View file @
7201cd54
...
@@ -1125,6 +1125,8 @@ public class LargeScreenImpl {
...
@@ -1125,6 +1125,8 @@ public class LargeScreenImpl {
values
.
add
(
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
vl
));
values
.
add
(
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
vl
));
}
}
if
(!
values
.
isEmpty
())
{
String
max
=
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
String
max
=
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
values
.
stream
().
mapToDouble
(
Double:
:
parseDouble
).
max
().
getAsDouble
());
values
.
stream
().
mapToDouble
(
Double:
:
parseDouble
).
max
().
getAsDouble
());
String
min
=
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
String
min
=
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
...
@@ -1138,6 +1140,16 @@ public class LargeScreenImpl {
...
@@ -1138,6 +1140,16 @@ public class LargeScreenImpl {
activePowerInfo
.
put
(
"minTime"
,
time
.
get
(
values
.
lastIndexOf
(
min
)));
activePowerInfo
.
put
(
"minTime"
,
time
.
get
(
values
.
lastIndexOf
(
min
)));
activePowerInfo
.
put
(
"load"
,
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
activePowerInfo
.
put
(
"load"
,
String
.
format
(
CommonConstans
.
Twodecimalplaces
,
Double
.
valueOf
(
values
.
get
(
values
.
size
()
-
1
))
/
installedCapacity
.
get
()));
Double
.
valueOf
(
values
.
get
(
values
.
size
()
-
1
))
/
installedCapacity
.
get
()));
}
else
{
activePowerInfo
.
put
(
"mean"
,
null
);
activePowerInfo
.
put
(
"max"
,
null
);
activePowerInfo
.
put
(
"min"
,
null
);
activePowerInfo
.
put
(
"maxTime"
,
null
);
activePowerInfo
.
put
(
"minTime"
,
null
);
activePowerInfo
.
put
(
"load"
,
null
);
}
List
<
Map
<
String
,
Object
>>
seriesData
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
seriesData
=
new
ArrayList
<>();
Map
<
String
,
Object
>
map3
=
new
HashMap
<>();
Map
<
String
,
Object
>
map3
=
new
HashMap
<>();
...
...
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