南京二 实训问题处理

This commit is contained in:
Jade 2021-11-29 16:34:03 +08:00
parent cbd092b3c6
commit 4705b55aba

View File

@ -115,7 +115,9 @@ public class SectionGeneratorNew implements GeneratorNew {
// 设置区段故障锁闭这只是区故解的一种情况后面再补其他情况 // 设置区段故障锁闭这只是区故解的一种情况后面再补其他情况
// section.setFaultLock(true); // section.setFaultLock(true);
section.setRouteLock(true); section.setRouteLock(true);
if (section.isShowLogic()) { if (section.isCross()) {
section.getLogicList().get(0).setRouteLock(true);
} else if (section.isShowLogic()) {
section.getLogicList().forEach(s -> { section.getLogicList().forEach(s -> {
// s.setFaultLock(true); // s.setFaultLock(true);
s.setRouteLock(true); s.setRouteLock(true);
@ -123,7 +125,7 @@ public class SectionGeneratorNew implements GeneratorNew {
} }
break; break;
case Section_Axis_Pre_Reset: case Section_Axis_Pre_Reset:
if(!section.isAxleCounter()){ if(!section.isAxleCounter() && section.isCross()){
continue; continue;
} }
VirtualRealitySectionAxleCounter virtualAxleCounter = section.getVirtualAxleCounter(); VirtualRealitySectionAxleCounter virtualAxleCounter = section.getVirtualAxleCounter();