From 924d0d98c49c324669ba9dc5158b2141416447cc Mon Sep 17 00:00:00 2001 From: lty <876263681@qq.com> Date: 星期四, 21 八月 2025 16:26:44 +0800 Subject: [PATCH] #rgv同时下发工位1和工位2任务,标记优先级 --- src/main/java/com/zy/core/thread/ScaleThread.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zy/core/thread/ScaleThread.java b/src/main/java/com/zy/core/thread/ScaleThread.java index c5a2d4b..ad595c8 100644 --- a/src/main/java/com/zy/core/thread/ScaleThread.java +++ b/src/main/java/com/zy/core/thread/ScaleThread.java @@ -1,6 +1,7 @@ package com.zy.core.thread; import com.core.common.Cools; +import com.zy.common.utils.News; import com.zy.core.Slave; import com.zy.core.ThreadHandler; import lombok.Data; @@ -66,7 +67,7 @@ // log.info("鏉$爜鎵弿浠繛鎺ユ垚鍔� ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort()); } catch (Exception e) { socket = null; - log.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; @@ -89,7 +90,7 @@ } socket = null; } catch (IOException e) { - log.error("SocketClient close Exception:" + e.getMessage()); + News.error("Scale"+" - 2"+" - SocketClient close Exception:" + e.getMessage()); } } -- Gitblit v1.9.1