自动化立体仓库 - WCS系统
#
pang.jiabao
2024-10-14 db3cf3601913415454b77e4e1fd8603172248d13
src/main/java/com/zy/core/thread/ScaleThread.java
@@ -1,7 +1,7 @@
package com.zy.core.thread;
import com.core.common.Cools;
import com.zy.common.utils.News;
import com.zy.utils.News;
import com.zy.core.Slave;
import com.zy.core.ThreadHandler;
import lombok.Data;
@@ -67,7 +67,7 @@
//            log.info("条码扫描仪连接成功 ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort());
        } catch (Exception e) {
            socket = null;
            News.error("条码扫描仪连接失败!!! ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort());
            News.error("Scale"+" - 1"+" - 条码扫描仪连接失败!!! ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort());
            return false;
        }
        return true;
@@ -90,7 +90,7 @@
        }
        socket = null;
        } catch (IOException e) {
            News.error("SocketClient close Exception:" + e.getMessage());
            News.error("Scale"+" - 2"+" - SocketClient close Exception:" + e.getMessage());
        }
    }