南京二 实训问题处理
This commit is contained in:
parent
cbd092b3c6
commit
4705b55aba
@ -115,7 +115,9 @@ public class SectionGeneratorNew implements GeneratorNew {
|
||||
// 设置区段故障锁闭(这只是区故解的一种情况,后面再补其他情况)
|
||||
// section.setFaultLock(true);
|
||||
section.setRouteLock(true);
|
||||
if (section.isShowLogic()) {
|
||||
if (section.isCross()) {
|
||||
section.getLogicList().get(0).setRouteLock(true);
|
||||
} else if (section.isShowLogic()) {
|
||||
section.getLogicList().forEach(s -> {
|
||||
// s.setFaultLock(true);
|
||||
s.setRouteLock(true);
|
||||
@ -123,7 +125,7 @@ public class SectionGeneratorNew implements GeneratorNew {
|
||||
}
|
||||
break;
|
||||
case Section_Axis_Pre_Reset:
|
||||
if(!section.isAxleCounter()){
|
||||
if(!section.isAxleCounter() && section.isCross()){
|
||||
continue;
|
||||
}
|
||||
VirtualRealitySectionAxleCounter virtualAxleCounter = section.getVirtualAxleCounter();
|
||||
|
Loading…
Reference in New Issue
Block a user