清除报错

This commit is contained in:
joylink_zhangsai 2023-04-14 18:27:11 +08:00
parent 377d3d989f
commit b90345620a

View File

@ -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<VoiceCommandBO> voiceCommandBOList = iVoiceCommandService.getAll();
// List<VoiceCommandBO> voiceCommandBOList = iVoiceCommandService.getAll();
List<VoiceCommandBO> voiceCommandBOList = new ArrayList<>();
simulation.setVoiceCommandBOList(voiceCommandBOList);
// 添加消息发送器
addMessagePublisher(simulation);