Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
signal
traffic-signal-platform
Commits
567886d7
Commit
567886d7
authored
Apr 15, 2023
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[update] 信号服务
parent
2f796965
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
SystemServiceStatusTask.java
...main/java/net/wanji/web/task/SystemServiceStatusTask.java
+7
-3
No files found.
signal-control-service/src/main/java/net/wanji/web/task/SystemServiceStatusTask.java
View file @
567886d7
...
...
@@ -25,12 +25,16 @@ import java.util.stream.Collectors;
@Slf4j
public
class
SystemServiceStatusTask
{
private
static
final
String
LOCAL_IP
=
"172.17.0.1"
;
private
static
final
String
HIK_LOCAL_IP
=
"10.102.1.183"
;
public
static
final
List
<
SystemServiceStatusDTO
>
sysList
=
new
ArrayList
<
SystemServiceStatusDTO
>();
static
{
sysList
.
add
(
new
SystemServiceStatusDTO
(
"MYSQL"
,
"10.102.1.182"
,
3306
,
30000
,
0
,
null
,
null
));
sysList
.
add
(
new
SystemServiceStatusDTO
(
"UTC"
,
"10.102.1.182"
,
32000
,
30000
,
0
,
null
,
null
));
sysList
.
add
(
new
SystemServiceStatusDTO
(
"海康"
,
"10.102.1.176"
,
80
,
30000
,
0
,
null
,
null
));
sysList
.
add
(
new
SystemServiceStatusDTO
(
"MYSQL"
,
LOCAL_IP
,
3306
,
30000
,
0
,
null
,
null
));
sysList
.
add
(
new
SystemServiceStatusDTO
(
"UTC"
,
LOCAL_IP
,
32000
,
30000
,
0
,
null
,
null
));
sysList
.
add
(
new
SystemServiceStatusDTO
(
"海康"
,
HIK_LOCAL_IP
,
80
,
30000
,
0
,
null
,
null
));
}
@Scheduled
(
fixedRate
=
1
*
60
*
1000
)
...
...
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