| | |
| | | import com.zy.acs.common.enums.AgvCompleteType; |
| | | import com.zy.acs.common.utils.RedisSupport; |
| | | import com.zy.acs.manager.core.scheduler.MapDataWsScheduler; |
| | | import com.zy.acs.manager.core.service.MainService; |
| | | import com.zy.acs.manager.core.service.MapService; |
| | | import com.zy.acs.manager.manager.entity.Action; |
| | | import com.zy.acs.manager.manager.entity.Agv; |
| | |
| | | private final CodeService codeService; |
| | | private final MapService mapService; |
| | | private final JamService jamService; |
| | | private final MainService mainService; |
| | | private final List<Action> actionList; |
| | | |
| | | private final RedisSupport redis; |
| | |
| | | , CodeService codeService |
| | | , MapService mapService |
| | | , JamService jamService |
| | | , MainService mainService |
| | | , List<Action> actionList |
| | | ) { |
| | | this.agv = agv; |
| | |
| | | this.codeService = codeService; |
| | | this.mapService = mapService; |
| | | this.jamService = jamService; |
| | | this.mainService = mainService; |
| | | this.actionList = actionList; |
| | | |
| | | this.groupId = actionList.get(0).getGroupId(); |
| | |
| | | agv_11_up.setQrCode(qrCode); |
| | | |
| | | AgvProtocol agvProtocol = AgvProtocol.build(this.agv.getUuid()).setMessageBody(agv_11_up); |
| | | redis.push(RedisConstant.AGV_COMPLETE_FLAG, agvProtocol); |
| | | mainService.upDataSubscribe(agvProtocol); |
| | | // redis.push(RedisConstant.AGV_COMPLETE_FLAG, agvProtocol); |
| | | } |
| | | } |