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
a0364038
Commit
a0364038
authored
Sep 16, 2025
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 扫托盘 上料 测试
parent
025b3b12
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
NettyUdpServerHandler.java
...om/zehong/system/netty/handler/NettyUdpServerHandler.java
+4
-0
No files found.
zhmes-agecal-system/src/main/java/com/zehong/system/netty/handler/NettyUdpServerHandler.java
View file @
a0364038
...
@@ -140,12 +140,16 @@ public class NettyUdpServerHandler extends SimpleChannelInboundHandler<DatagramP
...
@@ -140,12 +140,16 @@ public class NettyUdpServerHandler extends SimpleChannelInboundHandler<DatagramP
// 处理指令完成
// 处理指令完成
if
(
status
.
isFullyIdle
())
{
if
(
status
.
isFullyIdle
())
{
log
.
info
(
"status.isFullyIdle 了 吗? "
);
CommandExecution
execution
=
currentCommands
.
get
(
sender
);
CommandExecution
execution
=
currentCommands
.
get
(
sender
);
log
.
info
(
"currentCommands.get(sender) = "
+
execution
);
if
(
execution
!=
null
)
{
if
(
execution
!=
null
)
{
robotArmCommandService
.
completeCommand
(
execution
.
commandId
);
robotArmCommandService
.
completeCommand
(
execution
.
commandId
);
currentCommands
.
remove
(
sender
);
currentCommands
.
remove
(
sender
);
log
.
info
(
"指令完成: {}"
,
execution
.
commandId
);
log
.
info
(
"指令完成: {}"
,
execution
.
commandId
);
}
}
}
else
{
log
.
info
(
"status.isFullyIdle() = false"
);
}
}
// 记录详细状态
// 记录详细状态
...
...
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