| | |
| | | if (!Cools.isEmpty(steProtocol.getTrack())) { |
| | | vo.setTrack(steProtocol.getTrack()==0?"✔":"×"); |
| | | } |
| | | if (!Cools.isEmpty(steProtocol.getChargeStatus())) { |
| | | vo.setChargeStatus(steProtocol.getChargeStatus()==1?"✔":"×"); |
| | | } |
| | | } |
| | | return R.ok().add(list); |
| | | } |
| | |
| | | throw new CoolException("服务器错误"); |
| | | } |
| | | } |
| | | SteCommand steCommand = new SteCommand(); |
| | | steCommand.setTaskNo(vo.getWorkNo()); |
| | | if (MessageQueue.offer(SlaveType.Ste, vo.getSteNo(), new Task(2, steCommand))) { |
| | | } else { |
| | | throw new CoolException("命令下发失败"); |
| | | } |
| | | basSte.setPakMk(vo.getPakMk()); |
| | | basSte.setWrkNo(vo.getWorkNo()); |
| | | basSte.setCrnNo(vo.getCrnNo()); |