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
43624c5a
Commit
43624c5a
authored
Sep 20, 2024
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改电站监控BUG
parent
691e403e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
SofarRequestUtil.java
...yeejoin/amos/api/householdapi/Utils/SofarRequestUtil.java
+2
-0
SunlightUtil.java
...com/yeejoin/amos/api/householdapi/Utils/SunlightUtil.java
+4
-6
SunlightServiceImpl.java
...i/householdapi/face/service/impl/SunlightServiceImpl.java
+4
-2
No files found.
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/Utils/SofarRequestUtil.java
View file @
43624c5a
...
...
@@ -128,6 +128,7 @@ public class SofarRequestUtil {
}
while
(
true
);
}
catch
(
Exception
exception
)
{
exception
.
printStackTrace
();
return
result
;
}
return
result
;
}
...
...
@@ -157,6 +158,7 @@ public class SofarRequestUtil {
}
}
catch
(
Exception
exception
)
{
exception
.
printStackTrace
();
return
result
;
}
return
result
;
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/Utils/SunlightUtil.java
View file @
43624c5a
...
...
@@ -260,9 +260,8 @@ public class SunlightUtil {
}
}
while
(
true
);
}
catch
(
Exception
e
)
{
log
.
error
(
"失败,msg={}"
,
e
.
getMessage
());
e
.
printStackTrace
();
throw
new
RuntimeException
(
e
.
getMessage
());
log
.
error
(
"失败,msg["
+
e
.
getMessage
()+
"]"
,
e
);
return
resultData
;
}
return
resultData
;
...
...
@@ -299,9 +298,8 @@ public class SunlightUtil {
return
resultData
;
}
catch
(
Exception
e
)
{
log
.
error
(
"失败,msg={}"
,
e
.
getMessage
());
e
.
printStackTrace
();
throw
new
RuntimeException
(
e
.
getMessage
());
log
.
error
(
"失败,msg["
+
e
.
getMessage
()+
"]"
,
e
);
return
new
JSONObject
();
}
...
...
amos-boot-data/amos-boot-data-housepvapi/src/main/java/com/yeejoin/amos/api/householdapi/face/service/impl/SunlightServiceImpl.java
View file @
43624c5a
...
...
@@ -465,7 +465,7 @@ public class SunlightServiceImpl implements SunlightService {
}
if
(
listd
!=
null
)
{
this
.
collectorDetail
(
listd
,
jpStation
);
this
.
collectorDetail
(
listd
tx
,
jpStation
);
}
// 电站报表
...
...
@@ -625,6 +625,8 @@ public class SunlightServiceImpl implements SunlightService {
jpInverter
.
setModel
(
device
.
getDevice_model_code
());
jpInverter
.
setCapacity
(
jpStation
.
getCapacity
());
jpInverter
.
setCurrentPower
(
jpStation
.
getRealTimePower
());
jpInverter
.
setRatedPower
(
jpStation
.
getRatedPower
());
jpInverter
.
setFisTimeStr
(
device
.
getGrid_connection_date
());
if
(
devicestx
!=
null
)
{
...
...
@@ -999,7 +1001,7 @@ public class SunlightServiceImpl implements SunlightService {
// 出场日期
// jpCollector.setDischargeDate(new Date(collectorDetailDto.getFactoryTime()));
// //生产日期
// jpCollector.setProductDate(new Date(collectorDetailDto.getFactoryTime()));
// jpCollector.setProductDate(new Date(collectorDetailDto.getFactor
d
yTime()));
// //数据上传间隔
// jpCollector.setDataPeriod(collectorDetailDto.getDataUploadCycle());
// //本次上电时间
...
...
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