自动化立体仓库 - WCS系统
#
yxFwq
2024-11-19 54c965b6e35719dbbf4a538dc137e1c42e450ea0
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());