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
6537e55f
Commit
6537e55f
authored
Jul 24, 2024
by
yangyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/developer' into developer
parents
7d727f4a
a5498be6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
JXDZExecute.java
.../amos/boot/module/jxiop/biz/jxdz/factory/JXDZExecute.java
+8
-8
application-dev1.properties
...onitor-biz/src/main/resources/application-dev1.properties
+2
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/jxdz/factory/JXDZExecute.java
View file @
6537e55f
...
@@ -28,13 +28,13 @@ public class JXDZExecute {
...
@@ -28,13 +28,13 @@ public class JXDZExecute {
JXDZUtils
jxdzUtils
;
JXDZUtils
jxdzUtils
;
@Autowired
@Autowired
JXDZFactory
jxdzFactory
;
JXDZFactory
jxdzFactory
;
@Value
(
"${
s
cheduledEnable:false}"
)
@Value
(
"${
jxdzS
cheduledEnable:false}"
)
private
Boolean
s
cheduledEnable
;
private
Boolean
jxdzS
cheduledEnable
;
@Scheduled
(
cron
=
"0 0 */1 * * ?"
)
@Scheduled
(
cron
=
"0 0 */1 * * ?"
)
public
void
hourInterface
()
{
public
void
hourInterface
()
{
if
(!
s
cheduledEnable
)
{
if
(!
jxdzS
cheduledEnable
)
{
return
;
return
;
}
}
log
.
info
(
"开始执行小时任务"
);
log
.
info
(
"开始执行小时任务"
);
...
@@ -57,16 +57,16 @@ public class JXDZExecute {
...
@@ -57,16 +57,16 @@ public class JXDZExecute {
fdzsbjcService
.
backupData
(
windDeviceDataVOList
,
needDataVO
.
getDateTime
());
fdzsbjcService
.
backupData
(
windDeviceDataVOList
,
needDataVO
.
getDateTime
());
gfdzsbjcService
.
backupData
(
pvDeviceDataVOList
,
needDataVO
.
getDateTime
());
gfdzsbjcService
.
backupData
(
pvDeviceDataVOList
,
needDataVO
.
getDateTime
());
//发送请求
//发送请求
fdzjcService
.
sendData
(
JXDZAccessTypeEnum
.
CAIJI
.
getCode
(),
needDataVO
,
windStationDataVOList
);
//
fdzjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, windStationDataVOList);
gfdzjcService
.
sendData
(
JXDZAccessTypeEnum
.
CAIJI
.
getCode
(),
needDataVO
,
pvStationDataVOList
);
//
gfdzjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, pvStationDataVOList);
fdzsbjcService
.
sendData
(
JXDZAccessTypeEnum
.
CAIJI
.
getCode
(),
needDataVO
,
windDeviceDataVOList
);
//
fdzsbjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, windDeviceDataVOList);
gfdzsbjcService
.
sendData
(
JXDZAccessTypeEnum
.
CAIJI
.
getCode
(),
needDataVO
,
pvDeviceDataVOList
);
//
gfdzsbjcService.sendData(JXDZAccessTypeEnum.CAIJI.getCode(), needDataVO, pvDeviceDataVOList);
log
.
info
(
"小时任务执行成功"
);
log
.
info
(
"小时任务执行成功"
);
}
}
@Scheduled
(
cron
=
"0 0 1 * * ?"
)
@Scheduled
(
cron
=
"0 0 1 * * ?"
)
public
void
dayInterface
()
{
public
void
dayInterface
()
{
if
(!
s
cheduledEnable
)
{
if
(!
jxdzS
cheduledEnable
)
{
return
;
return
;
}
}
log
.
info
(
"开始执行天任务"
);
log
.
info
(
"开始执行天任务"
);
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/resources/application-dev1.properties
View file @
6537e55f
...
@@ -167,8 +167,8 @@ coreIp=iiet-jepcc.powerchina.cn:8088
...
@@ -167,8 +167,8 @@ coreIp=iiet-jepcc.powerchina.cn:8088
jxdzIp
=
122.70.153.215:9003
jxdzIp
=
122.70.153.215:9003
jxdzTokenUserName
=
jiangxi_epc
jxdzTokenUserName
=
jiangxi_epc
jxdzTokenPassword
=
123456
jxdzTokenPassword
=
123456
p
ublicKey
=
04508e9c4df8463c784df2dde2536e792851a8f3fd0e5ff29b7bf1a5d9e3f566aa49a7a5fe7683e3dc4dc30dd7bc8773838a9e4fbcf7dfac53461c8777a6aed691
jxdzP
ublicKey
=
04508e9c4df8463c784df2dde2536e792851a8f3fd0e5ff29b7bf1a5d9e3f566aa49a7a5fe7683e3dc4dc30dd7bc8773838a9e4fbcf7dfac53461c8777a6aed691
s
cheduledEnable
=
false
jxdzS
cheduledEnable
=
false
...
...
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