diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/SimulationLifeCycleServiceImpl.java b/src/main/java/club/joylink/rtss/simulation/cbtc/SimulationLifeCycleServiceImpl.java index af5ac6aab..a8143ffce 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/SimulationLifeCycleServiceImpl.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/SimulationLifeCycleServiceImpl.java @@ -3,7 +3,6 @@ package club.joylink.rtss.simulation.cbtc; import club.joylink.rtss.constants.MapPrdTypeEnum; import club.joylink.rtss.entity.Ibp; import club.joylink.rtss.services.IVirtualRealityIbpService; -import club.joylink.rtss.services.IVoiceCommandService; import club.joylink.rtss.services.draftData.IDraftMapStationDirectionService; import club.joylink.rtss.services.iscs.IscsDeviceService; import club.joylink.rtss.services.iscs.IscsSystemResourcesService; @@ -51,6 +50,7 @@ import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import javax.annotation.Resource; +import java.util.ArrayList; import java.util.List; import java.util.Objects; @@ -67,9 +67,6 @@ public class SimulationLifeCycleServiceImpl implements SimulationLifeCycleServic @Autowired private MemberManager memberManager; - @Autowired - private IVoiceCommandService iVoiceCommandService; - @Autowired private ATSLogicLoop atsLogicLoop; @@ -178,7 +175,8 @@ public class SimulationLifeCycleServiceImpl implements SimulationLifeCycleServic // 初始化成员 memberManager.init(simulation); // 初始化语音指令 - List voiceCommandBOList = iVoiceCommandService.getAll(); +// List voiceCommandBOList = iVoiceCommandService.getAll(); + List voiceCommandBOList = new ArrayList<>(); simulation.setVoiceCommandBOList(voiceCommandBOList); // 添加消息发送器 addMessagePublisher(simulation);