Merge branch 'test' into test-training2-zhouyin

This commit is contained in:
tiger_zhou 2022-09-07 08:58:05 +08:00
commit 7065625895
3 changed files with 22 additions and 2 deletions

View File

@ -1017,6 +1017,8 @@ public class MapDeviceBuilder {
if (Objects.nonNull(elementMap.get(section.getCode()))) {
errMsgList.add(String.format("编码为[%s]的区段不唯一", section.getCode()));
}
section.setKmMin(sectionVO.getKmMin());
section.setKmMax(sectionVO.getKmMax());
elementMap.put(section.getCode(), section);
section.setRoadType(sectionVO.getRoadType());
section.setPhysical(MapDeviceBuilder.isPhysicalSection(sectionVO.getType()));

View File

@ -172,6 +172,15 @@ public class Section extends DelayUnlockDevice {
*/
private boolean hasStopCountDown;
/**
* 公里标 最小()
*/
private Float kmMin;
/**
* 公里标 最大()
*/
private Float kmMax;
// ------------------状态属性---------------------
/**

View File

@ -277,12 +277,12 @@ public class MapSectionNewVO {
/**
* 左侧公里标厘米
*/
private Float kmRangeLeft;
// private Float kmRangeLeft;
/**
* 右侧公里标厘米
*/
private Float kmRangeRight;
// private Float kmRangeRight;
/**
* 区间
@ -307,4 +307,13 @@ public class MapSectionNewVO {
*/
private String srCode;
/**
* 公里标最小()
*/
private Float kmMin;
/**
* 公里标最大()
*/
private Float kmMax;
}