From a959dee923be8772c3c46209a8c238cd8847158b Mon Sep 17 00:00:00 2001 From: Junjie <xjj@123> Date: 星期六, 14 六月 2025 08:27:04 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java | 30 +++++++++++++++--------------- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java index edd3e91..08ac542 100644 --- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java +++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java @@ -235,21 +235,21 @@ throw new CoolException("鏇存柊plc绔欑偣淇℃伅澶辫触"); } - // led 鍏ュ簱淇℃伅鏄剧ず - if (ledThread != null) { - // 鍛戒护闆嗗悎 - List<LedCommand> commands = new ArrayList<>(); - // 缁勮鍛戒护 - LedCommand ledCommand = new LedCommand(); - ledCommand.setWorkNo(dto.getWorkNo()); - ledCommand.setIoType(1); - ledCommand.setTitle("鍏ㄦ澘鍏ュ簱"); - ledCommand.setLocNo(dto.getLocNo()); - ledCommand.setStaNo(dto.getStaNo()); - commands.add(ledCommand); - MessageQueue.offer(SlaveType.Led, inSta.getLed(), new Task(3, commands)); -// ledThread.errorReset(); - } +// // led 鍏ュ簱淇℃伅鏄剧ず +// if (ledThread != null) { +// // 鍛戒护闆嗗悎 +// List<LedCommand> commands = new ArrayList<>(); +// // 缁勮鍛戒护 +// LedCommand ledCommand = new LedCommand(); +// ledCommand.setWorkNo(dto.getWorkNo()); +// ledCommand.setIoType(1); +// ledCommand.setTitle("鍏ㄦ澘鍏ュ簱"); +// ledCommand.setLocNo(dto.getLocNo()); +// ledCommand.setStaNo(dto.getStaNo()); +// commands.add(ledCommand); +// MessageQueue.offer(SlaveType.Led, inSta.getLed(), new Task(3, commands)); +//// ledThread.errorReset(); +// } } else { News.error(""+mark+" - 5"+" - 璇锋眰鎺ュ彛澶辫触锛侊紒锛乽rl锛歿}锛況equest锛歿}锛況esponse锛歿}", wmsUrl + "/rpc/pakin/loc/v1", JSON.toJSONString(param), response); // staProtocol.setWorkNo((short)9992); -- Gitblit v1.9.1