|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (wrkMast == null) { | 
|---|
|  |  |  | // 无拣料数据 | 
|---|
|  |  |  | Integer led = pickSta.getLed(); | 
|---|
|  |  |  | if (ledThread != null) { | 
|---|
|  |  |  | String errorMsg = "暂无拣料/盘点信息!!!"; | 
|---|
|  |  |  | MessageQueue.offer(SlaveType.Led, pickSta.getLed(), new Task(3, errorMsg)); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //                        // 更新站点信息 且 下发plc命令 | 
|---|
|  |  |  | staProtocol.setWorkNo((short)9999); | 
|---|
|  |  |  | staProtocol.setStaNo((short)(staProtocol.getStaNo()-1)); | 
|---|
|  |  |  | devpThread.setPakMk(staProtocol.getSiteId(), false); | 
|---|
|  |  |  | boolean result = MessageQueue.offer(SlaveType.Devp, devp.getId(), new Task(2, staProtocol)); | 
|---|
|  |  |  | if (!result) { | 
|---|
|  |  |  | log.error("发布命令至输送线队列失败!!! [plc编号:{}]", devp.getId()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | continue; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if ((wrkMast.getIoType() != 103 && wrkMast.getIoType() != 104 && wrkMast.getIoType() != 107) | 
|---|