| | |
| | | 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; |
| | |
| | | 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("未知的线程实现"); |
| | | } |