| | |
| | | continue; |
| | | } |
| | | //生成仿真站点数据 |
| | | StationCommand command = stationThread.getMoveCommand(9998, wrkMast.getSourceStaNo(), 0, 0); |
| | | StationCommand command = stationThread.getCommand(StationCommandType.WRITE_INFO, 9998, wrkMast.getSourceStaNo(), 0, 0); |
| | | MessageQueue.offer(SlaveType.Devp, stationObjModel.getDeviceNo(), new Task(2, command)); |
| | | } |
| | | } |
| | |
| | | if (dualCrnProtocol.getTaskNo() == 0 |
| | | && dualCrnProtocol.getLoaded() == 0 |
| | | && dualCrnProtocol.getStatusType().equals(DualCrnStatusType.IDLE) |
| | | && dualCrnProtocol.getTaskReceive() == 0 |
| | | ) { |
| | | idleStationList.add(1); |
| | | } |
| | |
| | | if (dualCrnProtocol.getTaskNoTwo() == 0 |
| | | && dualCrnProtocol.getLoadedTwo() == 0 |
| | | && dualCrnProtocol.getStatusTypeTwo().equals(DualCrnStatusType.IDLE) |
| | | && dualCrnProtocol.getTaskReceiveTwo() == 0 |
| | | ) { |
| | | idleStationList.add(2); |
| | | } |