信号机所属车站数据构建
This commit is contained in:
parent
e6a6184ed0
commit
c099a49ac3
@ -868,12 +868,12 @@ public class MapDeviceBuilder {
|
||||
}
|
||||
|
||||
// 所属车站
|
||||
// Station station = (Station) elementMap.get(signalVO.getBelongStationCode());
|
||||
// if (Objects.isNull(station)) {
|
||||
Station station = (Station) elementMap.get(signalVO.getBelongStationCode());
|
||||
if (Objects.isNull(station)) {
|
||||
// errMsgList.add(String.format("信号机[%s(%s)]未设置所属车站或所属车站不存在", signal.getName(), signal.getCode()));
|
||||
// } else {
|
||||
// signal.setStation(station);
|
||||
// }
|
||||
} else {
|
||||
signal.setStation(station);
|
||||
}
|
||||
// 所属联锁站
|
||||
Station interlockStation = ((Station) elementMap.get(signalVO.getInterlockStationCode()));
|
||||
if (Objects.isNull(interlockStation)) {
|
||||
|
Loading…
Reference in New Issue
Block a user