| | |
| | | // } |
| | | |
| | | //堆垛机回原点任务中 |
| | | Object object = redisUtil.get(RedisConstantType.CRN_MOVE_LOCK); |
| | | Object object = redisUtil.get(RedisConstantType.CRN_MOVE_LOCK + crn.getId()); |
| | | if (object != null) { |
| | | continue; |
| | | } |
| | |
| | | continue; |
| | | } |
| | | |
| | | Object object = redisUtil.get(RedisConstantType.CRN_MOVE_LOCK); |
| | | Object object = redisUtil.get(RedisConstantType.CRN_MOVE_LOCK + crn.getId()); |
| | | if (object != null) { |
| | | continue; |
| | | } |
| | |
| | | continue; |
| | | } |
| | | |
| | | Object object = redisUtil.get(RedisConstantType.CRN_MOVE_LOCK); |
| | | Object object = redisUtil.get(RedisConstantType.CRN_MOVE_LOCK + crn.getId()); |
| | | if (object != null) { |
| | | continue; |
| | | } |
| | |
| | | if (crnProtocol.getTaskNo() == 9999) { |
| | | // 堆垛机复位 |
| | | crnThread.setResetFlag(true); |
| | | redisUtil.set(RedisConstantType.CRN_MOVE_LOCK + crn.getId(), "lock", 8);//防止回原点后下发指令过快 |
| | | continue; |
| | | } |
| | | |