车务管理终端功能代码调整
This commit is contained in:
parent
feb4b1532c
commit
a45f64d71c
@ -19,7 +19,7 @@ import java.util.concurrent.atomic.AtomicInteger;
|
|||||||
@Setter
|
@Setter
|
||||||
@Getter
|
@Getter
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class StationDirection extends MayOutOfOrderDevice {
|
public class StationDirection extends MayOutOfOrderDevice implements Cloneable {
|
||||||
/**
|
/**
|
||||||
* 发辅助默认倒计时 25s
|
* 发辅助默认倒计时 25s
|
||||||
*/
|
*/
|
||||||
@ -270,7 +270,14 @@ public class StationDirection extends MayOutOfOrderDevice {
|
|||||||
this.deliverRouteList = new ArrayList<>();
|
this.deliverRouteList = new ArrayList<>();
|
||||||
this.routeSettingStatusMap = new HashMap<>();
|
this.routeSettingStatusMap = new HashMap<>();
|
||||||
}
|
}
|
||||||
|
public StationDirection clone(){
|
||||||
|
try {
|
||||||
|
return (StationDirection)super.clone();
|
||||||
|
} catch (CloneNotSupportedException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
@Override
|
@Override
|
||||||
public void reset() {
|
public void reset() {
|
||||||
this.routeSettingStatusMap.clear();
|
this.routeSettingStatusMap.clear();
|
||||||
|
@ -575,6 +575,6 @@ public class CtcEffectRepository {
|
|||||||
this.stationTrackSectionMap.clear();
|
this.stationTrackSectionMap.clear();
|
||||||
this.doorRepository.clear();
|
this.doorRepository.clear();
|
||||||
this.regularTrainLineMap.clear();
|
this.regularTrainLineMap.clear();
|
||||||
|
updateReguarTrainLineMap.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -48,10 +48,12 @@ public class CtcManageRepository {
|
|||||||
|
|
||||||
|
|
||||||
public void reset() {
|
public void reset() {
|
||||||
|
|
||||||
this.trackSectionRepository.clear();
|
this.trackSectionRepository.clear();
|
||||||
this.doorRepository.clear();
|
this.doorRepository.clear();
|
||||||
this.runPlanRepository.clear();
|
this.runPlanRepository.clear();
|
||||||
this.runPlanRepository.clear();
|
regularTrainLineMap.clear();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -366,7 +366,8 @@ public class SimulationBuilder {
|
|||||||
// ioGate.setCode(sd.getCode());
|
// ioGate.setCode(sd.getCode());
|
||||||
// ioGate.setIoName(sd.getName());
|
// ioGate.setIoName(sd.getName());
|
||||||
// ioGate.setDirection(sd.getLabelEnum());
|
// ioGate.setDirection(sd.getLabelEnum());
|
||||||
doorRep.save(sd);
|
|
||||||
|
doorRep.save(sd.clone());
|
||||||
}
|
}
|
||||||
for (Stand stand : station.getAllStandList()) {
|
for (Stand stand : station.getAllStandList()) {
|
||||||
TrackSection ts = new TrackSection(stand.getSection());
|
TrackSection ts = new TrackSection(stand.getSection());
|
||||||
|
Loading…
Reference in New Issue
Block a user