#
Junjie
5 天以前 377e207801eec0014b806394166a68caa52561ab
src/main/java/com/zy/core/ServerBootstrap.java
@@ -11,6 +11,7 @@
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 lombok.extern.slf4j.Slf4j;
@@ -134,6 +135,8 @@
                ThreadHandler thread = null;
                if (deviceConfig.getThreadImpl().equals("ZyStationThread")) {
                    thread = new ZyStationThread(deviceConfig, redisUtil);
                } else if (deviceConfig.getThreadImpl().equals("ZyStationV3Thread")) {
                    thread = new ZyStationV3Thread(deviceConfig, redisUtil);
                } else {
                    throw new CoolException("未知的线程实现");
                }