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
d3b38e63
Commit
d3b38e63
authored
Aug 22, 2025
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 调试
parent
8dcea44a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
RobotArmCommandServiceImpl.java
...ehong/system/service/impl/RobotArmCommandServiceImpl.java
+4
-0
RobotArmCommandMapper.xml
...rc/main/resources/mapper/system/RobotArmCommandMapper.xml
+10
-1
No files found.
zhmes-agecal-system/src/main/java/com/zehong/system/service/impl/RobotArmCommandServiceImpl.java
View file @
d3b38e63
...
...
@@ -95,6 +95,7 @@ public class RobotArmCommandServiceImpl implements IRobotArmCommandService
// sendCommand(loadingCommands.get(0), "LOAD");
// return;
// }
log
.
info
(
"开始处理上料指令: {}"
,
loadingCommands
.
get
(
0
));
sendCommand
(
loadingCommands
.
get
(
0
),
"LOAD"
);
}
...
...
@@ -122,6 +123,9 @@ public class RobotArmCommandServiceImpl implements IRobotArmCommandService
// 发送UDP指令
SocketAddress
address
=
getRobotAddress
();
log
.
info
(
"开始发送UDP指令了啊,可不能为空: {}"
,
command
.
getCommand
());
udpCommandSender
.
sendCommandWithId
(
address
,
command
.
getCommand
()
...
...
zhmes-agecal-system/src/main/resources/mapper/system/RobotArmCommandMapper.xml
View file @
d3b38e63
...
...
@@ -16,7 +16,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql
id=
"selectRobotArmCommandVo"
>
select f_robot_arm_command_id, f_tray_code, f_storey_code, f_type, f_status, f_start_execution_time, f_end_execution_time, f_create_time, f_command from t_robot_arm_command
select f_robot_arm_command_id,
f_tray_code,
f_storey_code,
f_type,
f_status,
f_start_execution_time,
f_end_execution_time,
f_create_time,
f_command
from t_robot_arm_command
</sql>
<select
id=
"findByType"
parameterType=
"string"
resultMap=
"RobotArmCommandResult"
>
...
...
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