自动化立体仓库 - WCS系统
#
tqs
2024-05-16 07c5450ee6a2bb7c993f83b927b1899a1a56262b
src/main/java/com/zy/core/netty/handle/ProtectorHandler.java
@@ -1,6 +1,7 @@
package com.zy.core.netty.handle;
import com.core.common.Cools;
import com.zy.common.utils.News;
import com.zy.core.netty.AbstractInboundHandler;
import com.zy.core.netty.cache.ChannelCache;
import com.zy.core.netty.domain.ChPackage;
@@ -38,7 +39,7 @@
                String uuid = ChannelCache.removeChannel(ctx.channel());
                ctx.close();
                if (!Cools.isEmpty(uuid)){
                    log.info("uuid={} 空闲剔除", uuid);
                    News.info("uuid={} 空闲剔除", uuid);
                }
            }
        }
@@ -52,7 +53,7 @@
        String uuid = ChannelCache.removeChannel(ctx.channel());
        ctx.close();
        if (!Cools.isEmpty(uuid)){
            log.info("通道 uuid={} 失去连接", uuid);
            News.info("通道 uuid={} 失去连接", uuid);
        }
    }