删除无用字段和配置
This commit is contained in:
parent
14735fb16e
commit
8ceba6ac01
22
pom.xml
22
pom.xml
|
@ -149,19 +149,17 @@
|
|||
<configuration>
|
||||
<!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
|
||||
<configFile>./src/main/resources/smart-doc.json</configFile>
|
||||
<!--指定项目名称-->
|
||||
<projectName>测试</projectName>
|
||||
<!--smart-doc实现自动分析依赖树加载第三方依赖的源码,如果一些框架依赖库加载不到导致报错,这时请使用excludes排除掉-->
|
||||
<excludes>
|
||||
<!--格式为:groupId:artifactId;参考如下-->
|
||||
<exclude>com.alibaba:fastjson</exclude>
|
||||
</excludes>
|
||||
<!--自1.0.8版本开始,插件提供includes支持,配置了includes后插件会按照用户配置加载而不是自动加载,因此使用时需要注意-->
|
||||
<!--smart-doc能自动分析依赖树加载所有依赖源码,原则上会影响文档构建效率,因此你可以使用includes来让插件加载你配置的组件-->
|
||||
<includes>
|
||||
<!--格式为:groupId:artifactId;参考如下-->
|
||||
<include>com.alibaba:fastjson</include>
|
||||
</includes>
|
||||
<!-- <excludes>-->
|
||||
<!-- <!–格式为:groupId:artifactId;参考如下–>-->
|
||||
<!-- <exclude>com.alibaba:fastjson</exclude>-->
|
||||
<!-- </excludes>-->
|
||||
<!-- <!–自1.0.8版本开始,插件提供includes支持,配置了includes后插件会按照用户配置加载而不是自动加载,因此使用时需要注意–>-->
|
||||
<!-- <!–smart-doc能自动分析依赖树加载所有依赖源码,原则上会影响文档构建效率,因此你可以使用includes来让插件加载你配置的组件–>-->
|
||||
<!-- <includes>-->
|
||||
<!-- <!–格式为:groupId:artifactId;参考如下–>-->
|
||||
<!-- <include>com.alibaba:fastjson</include>-->
|
||||
<!-- </includes>-->
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
|
|
@ -5,8 +5,8 @@ import club.joylink.rtss.simulation.cbtc.ATS.service.AtsStandService;
|
|||
import club.joylink.rtss.simulation.cbtc.Simulation;
|
||||
import club.joylink.rtss.simulation.cbtc.constant.SimulationModule;
|
||||
import club.joylink.rtss.simulation.cbtc.data.SimulationDataRepository;
|
||||
import club.joylink.rtss.simulation.cbtc.data.map.*;
|
||||
import club.joylink.rtss.simulation.cbtc.data.support.RoutePath;
|
||||
import club.joylink.rtss.simulation.cbtc.data.map.Section;
|
||||
import club.joylink.rtss.simulation.cbtc.data.map.Stand;
|
||||
import club.joylink.rtss.simulation.cbtc.data.vo.TrainInfo;
|
||||
import club.joylink.rtss.simulation.cbtc.onboard.ATP.OnboardAtpApiService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
|
|
@ -126,11 +126,6 @@ public class TrainInfo extends MapElement {
|
|||
*/
|
||||
private int ftbRemain;
|
||||
|
||||
/**
|
||||
* 折返
|
||||
*/
|
||||
private boolean turnBack;
|
||||
|
||||
/**
|
||||
* 优先排进路
|
||||
*/
|
||||
|
@ -557,11 +552,6 @@ public class TrainInfo extends MapElement {
|
|||
this.dt = 0;
|
||||
}
|
||||
|
||||
public void startTurnBack(Section endSection) {
|
||||
this.turnBack = true;
|
||||
this.planStandTrack = null;
|
||||
}
|
||||
|
||||
public synchronized void change2HeadCode(String destinationCode, String serviceNumber, String tripNumber) {
|
||||
this.destinationCode = destinationCode;
|
||||
this.serviceNumber = serviceNumber;
|
||||
|
@ -623,7 +613,6 @@ public class TrainInfo extends MapElement {
|
|||
}
|
||||
|
||||
public void turnBackInit(Section lastRouteSection) {
|
||||
this.turnBack = true;
|
||||
this.turnBackStatus = INIT;
|
||||
this.planStandTrack = null;
|
||||
this.planArriveTime = null;
|
||||
|
@ -631,8 +620,11 @@ public class TrainInfo extends MapElement {
|
|||
// this.planStandTrack = lastRouteSection.getCode();
|
||||
}
|
||||
|
||||
public boolean isTurnBack() {
|
||||
return this.turnBackStatus != NON;
|
||||
}
|
||||
|
||||
public void finishTurnBack() {
|
||||
this.turnBack = false;
|
||||
this.turnBackStatus = NON;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue