联锁生成——延续保护添加信号机字段保存
This commit is contained in:
parent
064e46b47a
commit
1e82fe9b97
@ -1422,6 +1422,7 @@ public class DraftMapCiDataGeneratorImpl implements DraftMapCiDataGenerator {
|
||||
String.format("O_%s_%s", end.getName(), deviceName));
|
||||
routeOverlap.setPathList(Arrays.asList(sectionPath));
|
||||
routeOverlap.setSection(signalSection);
|
||||
routeOverlap.setSignal(end);
|
||||
routeOverlap.setRight(right);
|
||||
routeOverlap.setDelayReleaseTime(config.getOverlapReleaseTime()); // 默认延时解锁时间
|
||||
|
||||
@ -1468,6 +1469,7 @@ public class DraftMapCiDataGeneratorImpl implements DraftMapCiDataGenerator {
|
||||
routeOverlap.setPathList(overlapPathList);
|
||||
routeOverlap.setSection(signalSection);
|
||||
routeOverlap.setDelayReleaseTime(config.getOverlapReleaseTime()); // 默认延时解锁时间
|
||||
routeOverlap.setSignal(end);
|
||||
routeOverlap.setRight(right);
|
||||
// 是否触发式延续保护
|
||||
if (config.isOverlapSettingByTrigger()) {
|
||||
|
@ -1,11 +1,11 @@
|
||||
package club.joylink.rtss.vo.client.map.newmap;
|
||||
|
||||
import club.joylink.rtss.entity.DraftMapOverlap;
|
||||
import club.joylink.rtss.simulation.cbtc.data.map.RouteOverlap;
|
||||
import club.joylink.rtss.util.JsonUtils;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import club.joylink.rtss.simulation.cbtc.data.map.RouteOverlap;
|
||||
import club.joylink.rtss.entity.DraftMapOverlap;
|
||||
import club.joylink.rtss.util.JsonUtils;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Getter;
|
||||
@ -56,6 +56,8 @@ public class MapOverlapVO {
|
||||
@NotBlank(message = "解锁区段code不能为空")
|
||||
private String unlockSectionCode;
|
||||
|
||||
private String signalCode;
|
||||
|
||||
@ApiModelProperty(value = "是否右向", required = true)
|
||||
private boolean right;
|
||||
|
||||
@ -103,6 +105,7 @@ public class MapOverlapVO {
|
||||
vo.setName(overlap.getName());
|
||||
vo.setUnlockTime(overlap.getDelayReleaseTime());
|
||||
vo.setUnlockSectionCode(overlap.getSection().getCode());
|
||||
vo.setSignalCode(overlap.getSignal().getCode());
|
||||
vo.setRight(overlap.isRight());
|
||||
vo.setPathList(MapSectionPathVO.convertBO2VOList(overlap.getPathList()));
|
||||
if (!CollectionUtils.isEmpty(overlap.getTriggerPathList())) {
|
||||
|
Loading…
Reference in New Issue
Block a user