地图数据——道岔添加型号字段
This commit is contained in:
parent
7de1fd64ad
commit
65b7c6f9b1
@ -1217,7 +1217,7 @@ public class InterlockBuilder2 {
|
|||||||
if (!CollectionUtils.isEmpty(logicCodeList)) {
|
if (!CollectionUtils.isEmpty(logicCodeList)) {
|
||||||
for (String code : logicCodeList) {
|
for (String code : logicCodeList) {
|
||||||
Section logic = ((Section) elementMap.get(code));
|
Section logic = ((Section) elementMap.get(code));
|
||||||
Objects.requireNonNull(logic, String.format("编码为[%s]的区段不存在", code));
|
errMsgList.add(String.format("编码为[%s]的区段不存在", code));
|
||||||
logicList.add(logic);
|
logicList.add(logic);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,10 @@ public class MapSwitchVO {
|
|||||||
*/
|
*/
|
||||||
@NotBlank(message="道岔名称不能为空")
|
@NotBlank(message="道岔名称不能为空")
|
||||||
private String name;
|
private String name;
|
||||||
|
/**
|
||||||
|
* 转辙机型号
|
||||||
|
*/
|
||||||
|
private String model;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 所属车站 编号
|
* 所属车站 编号
|
||||||
|
Loading…
Reference in New Issue
Block a user