From b62481bc477f01b449f0369c9a553d3d9e298dd0 Mon Sep 17 00:00:00 2001
From: Junjie <DELL@qq.com>
Date: 星期一, 02 二月 2026 12:38:05 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/core/ServerBootstrap.java | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/src/main/java/com/zy/core/ServerBootstrap.java b/src/main/java/com/zy/core/ServerBootstrap.java
index 62c22f5..a4a5e65 100644
--- a/src/main/java/com/zy/core/ServerBootstrap.java
+++ b/src/main/java/com/zy/core/ServerBootstrap.java
@@ -8,11 +8,7 @@
import com.zy.core.cache.MessageQueue;
import com.zy.core.cache.SlaveConnection;
import com.zy.core.enums.SlaveType;
-import com.zy.core.thread.impl.ZySiemensCrnThread;
-import com.zy.core.thread.impl.ZySiemensDualCrnThread;
-import com.zy.core.thread.impl.ZyStationThread;
-import com.zy.core.thread.impl.ZyStationV3Thread;
-import com.zy.core.thread.impl.ZyRgvThread;
+import com.zy.core.thread.impl.*;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
@@ -95,6 +91,8 @@
ThreadHandler thread = null;
if (deviceConfig.getThreadImpl().equals("ZySiemensCrnThread")) {
thread = new ZySiemensCrnThread(deviceConfig, redisUtil);
+ } else if (deviceConfig.getThreadImpl().equals("ZySiemensCrnV2Thread")) {
+ thread = new ZySiemensCrnV2Thread(deviceConfig, redisUtil);
} else {
throw new CoolException("鏈煡鐨勭嚎绋嬪疄鐜�");
}
--
Gitblit v1.9.1