Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zhmes-agecal
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
耿迪迪
zhmes-agecal
Commits
cddda129
Commit
cddda129
authored
Sep 23, 2025
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 测试 501 502 503 端口号
parent
439a952c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
TStoreyInfoServiceImpl.java
...om/zehong/system/service/impl/TStoreyInfoServiceImpl.java
+4
-1
No files found.
zhmes-agecal-system/src/main/java/com/zehong/system/service/impl/TStoreyInfoServiceImpl.java
View file @
cddda129
...
@@ -18,6 +18,7 @@ import com.zehong.system.service.IRobotArmCommandService;
...
@@ -18,6 +18,7 @@ import com.zehong.system.service.IRobotArmCommandService;
import
com.zehong.system.service.ITStoreyInfoService
;
import
com.zehong.system.service.ITStoreyInfoService
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
@@ -49,6 +50,9 @@ public class TStoreyInfoServiceImpl implements ITStoreyInfoService
...
@@ -49,6 +50,9 @@ public class TStoreyInfoServiceImpl implements ITStoreyInfoService
@Resource
@Resource
private
DeviceStatusReaderAndTimeSetter
deviceStatusReaderAndTimeSetter
;
private
DeviceStatusReaderAndTimeSetter
deviceStatusReaderAndTimeSetter
;
@Autowired
private
ModbusResultHandler
modbusResultHandler
;
private
final
ExecutorService
executorService
=
Executors
.
newFixedThreadPool
(
10
);
private
final
ExecutorService
executorService
=
Executors
.
newFixedThreadPool
(
10
);
/**
/**
...
@@ -338,7 +342,6 @@ public class TStoreyInfoServiceImpl implements ITStoreyInfoService
...
@@ -338,7 +342,6 @@ public class TStoreyInfoServiceImpl implements ITStoreyInfoService
}
else
{
}
else
{
registerOffset
=
Arrays
.
asList
(
55
,
56
,
57
,
58
,
59
,
60
,
61
,
62
,
63
,
64
,
65
,
66
,
67
,
68
,
69
,
70
,
71
,
72
);
registerOffset
=
Arrays
.
asList
(
55
,
56
,
57
,
58
,
59
,
60
,
61
,
62
,
63
,
64
,
65
,
66
,
67
,
68
,
69
,
70
,
71
,
72
);
}
}
ModbusResultHandler
modbusResultHandler
=
new
ModbusResultHandler
();
deviceStatusReaderAndTimeSetter
.
startMultiDeviceMonitoring
(
split
[
0
],
Integer
.
parseInt
(
split
[
1
]),
registerOffset
,
modbusResultHandler
,
ModbusResultHandler
.
createDefaultStopCondition
());
deviceStatusReaderAndTimeSetter
.
startMultiDeviceMonitoring
(
split
[
0
],
Integer
.
parseInt
(
split
[
1
]),
registerOffset
,
modbusResultHandler
,
ModbusResultHandler
.
createDefaultStopCondition
());
...
...
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