【方向为空时处理】
This commit is contained in:
parent
2af2d43a3b
commit
70c4c99e6d
@ -361,7 +361,11 @@ public class CtcStationRunPlanLog {
|
||||
// 接发状态
|
||||
runPlanItem.setStationDirection(stationDirection);
|
||||
runPlanItem.setAccessName(stationDirection.getName());
|
||||
if (stationDirection.getRight() == null) {
|
||||
runPlanItem.setRight(false);
|
||||
} else {
|
||||
runPlanItem.setRight(stationDirection.getRight());
|
||||
}
|
||||
runPlanItem.setRunModel(stationDirection.getDefaultRunStatus());
|
||||
runPlanItem.initAccessName();
|
||||
adjacentStation = stationDirection.getRelativeStationDirection().getStation();
|
||||
|
Loading…
Reference in New Issue
Block a user