| | |
| | | continue; |
| | | } |
| | | NyShuttleProtocol shuttleProtocol = shuttleThread.getShuttleProtocol(); |
| | | JSONObject shuttleData = JSON.parseObject(JSON.toJSONString(shuttleProtocol)); |
| | | if (shuttleProtocol == null || shuttleProtocol.getShuttleNo()==null) { |
| | | list.add(shuttleData); |
| | | continue; |
| | | } |
| | | JSONObject shuttleData = JSON.parseObject(JSON.toJSONString(shuttleProtocol)); |
| | | |
| | | shuttleData.put("moveAdvancePath", null);//穿梭车预计路径 |
| | | if (shuttleProtocol.getTaskNo() != 0) { |
| | |
| | | //复位 |
| | | shuttleProtocol.setTaskNo(0);//工作号清空 |
| | | shuttleProtocol.setProtocolStatus(ShuttleProtocolStatusType.IDLE);//任务状态-空闲 |
| | | shuttleProtocol.setPakMk(true);//作业标记复位 |
| | | shuttleProtocol.setPakMk(false);//作业标记复位 |
| | | return R.ok(); |
| | | } else if (shuttleTaskModeType == ShuttleTaskModeType.SHUTTLE_CONTROL) { |
| | | //小车管制 |