Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wcs-server-v8-nansha
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
heli_wms
wcs-server-v8-nansha
Commits
70dc6418
Commit
70dc6418
authored
Apr 11, 2020
by
liqingjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2020-04-11 判断空
Robot lockedRobot = this.getRobotManager().getRobotById(address.getLockedBy());
parent
b6ba5258
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
PodRunOrder.java
src/main/java/com/mushiny/beans/order/midea/PodRunOrder.java
+3
-2
No files found.
src/main/java/com/mushiny/beans/order/midea/PodRunOrder.java
View file @
70dc6418
...
@@ -100,9 +100,10 @@ public class PodRunOrder extends Order {
...
@@ -100,9 +100,10 @@ public class PodRunOrder extends Order {
&&
address
.
robotLock
(
this
.
getRobot
().
getRobotId
(),
true
);
&&
address
.
robotLock
(
this
.
getRobot
().
getRobotId
(),
true
);
//如果该节点被某小车锁定,而小车锁定的目的地不是该节点,表示数据有问题 2020-01-20
//如果该节点被某小车锁定,而小车锁定的目的地不是该节点,表示数据有问题 2020-01-20
Robot
lockedRobot
=
this
.
getRobotManager
().
getRobotById
(
address
.
getLockedBy
());
Robot
lockedRobot
=
this
.
getRobotManager
().
getRobotById
(
address
.
getLockedBy
());
if
(
lockedRobot
.
getLockedAddr
()
!=
Long
.
parseLong
(
address
.
getId
())){
//@2020-04-11 判断空
if
(
lockedRobot
==
null
||
lockedRobot
.
getLockedAddr
()
!=
Long
.
parseLong
(
address
.
getId
())){
logger
.
error
(
"该位置锁定的小车目的地不是这个点 lockedRobot.getLockedAddr():"
logger
.
error
(
"该位置锁定的小车目的地不是这个点 lockedRobot.getLockedAddr():"
+
lockedRobot
.
getLockedAddr
()
+
" address.getId():"
+
address
.
getId
());
+
lockedRobot
+
" address.getId():"
+
address
.
getId
());
success
=
true
;
success
=
true
;
}
}
if
(
success
)
{
if
(
success
)
{
...
...
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