|
@@ -477,7 +477,7 @@ public class RobotNodeServiceImpl implements NodeOperationService {
|
|
|
log.warn("节点{}检查目标库位是否满足返回{}",taskNode.getId(),targetStorge.getPointId());
|
|
|
|
|
|
//获取当前节点RFID
|
|
|
- String newRfid = getRFID(taskNode.getId(), taskNode.getTaskId(), startStore.getId());
|
|
|
+ //String newRfid = getRFID(taskNode.getId(), taskNode.getTaskId(), startStore.getId());
|
|
|
|
|
|
String targetxbk = returnMap.get("targetxbk")==null?null:(String)returnMap.get("targetxbk");
|
|
|
jqrStorge = storgeService.getById(jqrMap.get(DemoLineConstant.DEMOLINE_RJQR_ZS).get(0).getStorgeId());
|
|
@@ -503,7 +503,7 @@ public class RobotNodeServiceImpl implements NodeOperationService {
|
|
|
}
|
|
|
|
|
|
//记录当前节点RFID
|
|
|
- msgUtil.redis_set(DemoCacheKey.YUNJIAN_CAMP + "_" + YunjianConstant.YUNJIAN_RFID + taskNode.getId(), newRfid, 10, TimeUnit.DAYS);
|
|
|
+ //msgUtil.redis_set(DemoCacheKey.YUNJIAN_CAMP + "_" + YunjianConstant.YUNJIAN_RFID + taskNode.getId(), newRfid, 10, TimeUnit.DAYS);
|
|
|
|
|
|
dataMap.put("taskType", DictionaryKey.TASK_TYPE.get("CARRY")); //移动类型
|
|
|
|
|
@@ -527,6 +527,10 @@ public class RobotNodeServiceImpl implements NodeOperationService {
|
|
|
dataMap.put("result", true);
|
|
|
dataMap.put("fromStorge", startStore);
|
|
|
dataMap.put("toStorge", targetStorge);
|
|
|
+ /*List<String> pointList=Arrays.asList("201","202");
|
|
|
+ if(pointList.contains(startStore.getPointId()) && pointList.contains(targetStorge.getPointId())){
|
|
|
+ throw new BizException("目标库位有问题");
|
|
|
+ }*/
|
|
|
|
|
|
// 机器人移动到redis记录实时位子
|
|
|
msgUtil.redis_set(taskNode.getResourceId()+"postion",targetStorge.getPointId());
|