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
4e36080c
Commit
4e36080c
authored
Nov 07, 2024
by
zhouleilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海信-适配系统 步进控制优化
parent
030d337e
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
140 additions
and
137 deletions
+140
-137
pom.xml
signal-control-service/pom.xml
+19
-19
ResourceServerConfig.java
.../main/java/net/wanji/web/config/ResourceServerConfig.java
+114
-113
bootstrap-docker.yaml
...-control-service/src/main/resources/bootstrap-docker.yaml
+1
-1
bootstrap.yaml
signal-control-service/src/main/resources/bootstrap.yaml
+1
-1
application-docker.properties
...-service/src/main/resources/application-docker.properties
+1
-1
ControlCommandServiceImpl.java
...i/utc/hisense/service/impl/ControlCommandServiceImpl.java
+2
-0
bootstrap.yaml
signal-utc-hisense-service/src/main/resources/bootstrap.yaml
+1
-1
bootstrap.yaml
signal-utc-service/src/main/resources/bootstrap.yaml
+1
-1
No files found.
signal-control-service/pom.xml
View file @
4e36080c
...
@@ -40,25 +40,25 @@
...
@@ -40,25 +40,25 @@
<groupId>
org.springframework.cloud
</groupId>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-oauth2
</artifactId>
<artifactId>
spring-cloud-starter-oauth2
</artifactId>
</dependency>
</dependency>
<!-- <dependency>--
>
<dependency
>
<!-- <groupId>com.wanji</groupId>--
>
<groupId>
com.wanji
</groupId
>
<!-- <artifactId>identity-client-starter</artifactId>--
>
<artifactId>
identity-client-starter
</artifactId
>
<!-- <version>1.2</version>--
>
<version>
1.2
</version
>
<!-- <exclusions>--
>
<exclusions
>
<!-- <exclusion>--
>
<exclusion
>
<!-- <artifactId>springfox-spring-web</artifactId>--
>
<artifactId>
springfox-spring-web
</artifactId
>
<!-- <groupId>io.springfox</groupId>--
>
<groupId>
io.springfox
</groupId
>
<!-- </exclusion>--
>
</exclusion
>
<!-- <exclusion>--
>
<exclusion
>
<!-- <artifactId>swagger-annotations</artifactId>--
>
<artifactId>
swagger-annotations
</artifactId
>
<!-- <groupId>io.swagger</groupId>--
>
<groupId>
io.swagger
</groupId
>
<!-- </exclusion>--
>
</exclusion
>
<!-- <exclusion>--
>
<exclusion
>
<!-- <artifactId>springfox-core</artifactId>--
>
<artifactId>
springfox-core
</artifactId
>
<!-- <groupId>io.springfox</groupId>--
>
<groupId>
io.springfox
</groupId
>
<!-- </exclusion>--
>
</exclusion
>
<!-- </exclusions>--
>
</exclusions
>
<!-- </dependency>--
>
</dependency
>
<!-- 鉴权包 end -->
<!-- 鉴权包 end -->
<dependency>
<dependency>
<groupId>
io.swagger
</groupId>
<groupId>
io.swagger
</groupId>
...
...
signal-control-service/src/main/java/net/wanji/web/config/ResourceServerConfig.java
View file @
4e36080c
This diff is collapsed.
Click to expand it.
signal-control-service/src/main/resources/bootstrap-docker.yaml
View file @
4e36080c
...
@@ -5,7 +5,7 @@ spring:
...
@@ -5,7 +5,7 @@ spring:
cloud
:
cloud
:
nacos
:
nacos
:
config
:
config
:
server-addr
:
173.17.0.1
:8848
server-addr
:
37.12.182.29
:8848
file-extension
:
yaml
file-extension
:
yaml
group
:
signal
group
:
signal
namespace
:
signal
namespace
:
signal
...
...
signal-control-service/src/main/resources/bootstrap.yaml
View file @
4e36080c
spring
:
spring
:
profiles
:
profiles
:
active
:
dev
active
:
docker
\ No newline at end of file
\ No newline at end of file
signal-feign-service/src/main/resources/application-docker.properties
View file @
4e36080c
utc.service.url
=
http://1
73.17.
0.1:32000/utc
utc.service.url
=
http://1
92.168.15
0.1:32000/utc
utc.dt.service.url
=
http://173.17.0.1:39002/utc-dt
utc.dt.service.url
=
http://173.17.0.1:39002/utc-dt
utc.hisense.service.url
=
http://192.168.150.1:39003/utc-hisense
utc.hisense.service.url
=
http://192.168.150.1:39003/utc-hisense
control.url
=
http://173.17.0.1:32001/web
control.url
=
http://173.17.0.1:32001/web
signal-utc-hisense-service/src/main/java/net/wanji/utc/hisense/service/impl/ControlCommandServiceImpl.java
View file @
4e36080c
...
@@ -77,6 +77,8 @@ public class ControlCommandServiceImpl implements ControlCommandService {
...
@@ -77,6 +77,8 @@ public class ControlCommandServiceImpl implements ControlCommandService {
JsonViewObject
jsonViewObject
=
JsonViewObject
.
newInstance
();
JsonViewObject
jsonViewObject
=
JsonViewObject
.
newInstance
();
//给海信发送http请求
//给海信发送http请求
for
(
int
i
=
0
;
i
<
stepNum
;
i
++)
{
for
(
int
i
=
0
;
i
<
stepNum
;
i
++)
{
//步进需要下发两次命令
OkHttpClientUtil
.
xmlPost
(
hisenseUrl
,
document
.
asXML
());
String
post
=
OkHttpClientUtil
.
xmlPost
(
hisenseUrl
,
document
.
asXML
());
String
post
=
OkHttpClientUtil
.
xmlPost
(
hisenseUrl
,
document
.
asXML
());
if
(
StringUtils
.
isNotBlank
(
post
))
{
if
(
StringUtils
.
isNotBlank
(
post
))
{
Document
postResult
=
DocumentHelper
.
parseText
(
post
);
Document
postResult
=
DocumentHelper
.
parseText
(
post
);
...
...
signal-utc-hisense-service/src/main/resources/bootstrap.yaml
View file @
4e36080c
spring
:
spring
:
profiles
:
profiles
:
active
:
dev
active
:
docker
\ No newline at end of file
\ No newline at end of file
signal-utc-service/src/main/resources/bootstrap.yaml
View file @
4e36080c
spring
:
spring
:
profiles
:
profiles
:
active
:
dev
active
:
docker
\ No newline at end of file
\ No newline at end of file
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