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
60b5457f
Commit
60b5457f
authored
Nov 26, 2024
by
zhouleilei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
临时方案下发,取消发送海信信号机
parent
72909caa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ControlCommandServiceImpl.java
...i/utc/hisense/service/impl/ControlCommandServiceImpl.java
+3
-3
No files found.
signal-utc-hisense-service/src/main/java/net/wanji/utc/hisense/service/impl/ControlCommandServiceImpl.java
View file @
60b5457f
...
@@ -319,8 +319,8 @@ public class ControlCommandServiceImpl implements ControlCommandService {
...
@@ -319,8 +319,8 @@ public class ControlCommandServiceImpl implements ControlCommandService {
messageContent
.
addElement
(
HttpConstants
.
SPLIT
).
setText
(
tempSchemeSendVO
.
getSplit
());
messageContent
.
addElement
(
HttpConstants
.
SPLIT
).
setText
(
tempSchemeSendVO
.
getSplit
());
//给海信发送http请求
//给海信发送http请求
String
post
=
OkHttpClientUtil
.
xmlPost
(
hisenseUrl
,
document
.
asXML
());
//
String post = OkHttpClientUtil.xmlPost(hisenseUrl, document.asXML());
/*
String post = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
String
post
=
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+
"<systemScription System=\"TCIP\" Version=\"1.0\">\n"
+
"<systemScription System=\"TCIP\" Version=\"1.0\">\n"
+
" <subSystem>Hisense</subSystem>\n"
+
" <subSystem>Hisense</subSystem>\n"
+
" <messageType>12</messageType>\n"
+
" <messageType>12</messageType>\n"
+
...
@@ -336,7 +336,7 @@ public class ControlCommandServiceImpl implements ControlCommandService {
...
@@ -336,7 +336,7 @@ public class ControlCommandServiceImpl implements ControlCommandService {
" <CoordCycleStatus>160</CoordCycleStatus>\n"
+
" <CoordCycleStatus>160</CoordCycleStatus>\n"
+
" <CoordSyncStatus>123</CoordSyncStatus>\n"
+
" <CoordSyncStatus>123</CoordSyncStatus>\n"
+
" </messageContent>\n"
+
" </messageContent>\n"
+
"</systemScription>";
*/
"</systemScription>"
;
JsonViewObject
jsonViewObject
=
JsonViewObject
.
newInstance
();
JsonViewObject
jsonViewObject
=
JsonViewObject
.
newInstance
();
if
(
StringUtils
.
isBlank
(
post
))
{
if
(
StringUtils
.
isBlank
(
post
))
{
log
.
error
(
"HTTP请求 5.16. 方案优化控制 失败"
);
log
.
error
(
"HTTP请求 5.16. 方案优化控制 失败"
);
...
...
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