自动化立体仓库 - WCS系统
#
yxFwq
2025-01-14 5083cee752a524dc48a899d55a5d53dd233c8b84
src/main/java/com/zy/asrs/controller/MonitorController.java
@@ -13,6 +13,7 @@
import com.zy.core.CrnThread;
import com.zy.core.cache.SlaveConnection;
import com.zy.core.enums.SlaveType;
import com.zy.core.model.ErrMsg;
import com.zy.core.model.LedSlave;
import com.zy.core.model.command.LedCommand;
import com.zy.core.model.protocol.CrnProtocol;
@@ -268,6 +269,7 @@
    public R monitorLed(@RequestParam("ledId") Integer ledId) {
        String ledContent = "";
        List<LedCommand> commandList = null;
        List<ErrMsg> errMsgs = null;
        for (LedSlave slave : slaveProperties.getLed()) {
            if (slave.getStaArr().contains(ledId)) {
                LedThread ledThread = (LedThread) SlaveConnection.get(SlaveType.Led, slave.getId());