列车初始化时将机器人驾驶参数也初始化
This commit is contained in:
parent
6b14090431
commit
6c6e254751
|
@ -706,6 +706,14 @@ public class VirtualRealityTrain extends VirtualRealityDevice {
|
|||
this.gear = Handwheel.ATO;
|
||||
this.confirmationMessages.clear();
|
||||
this.cbtcMaMissDuration = 0;
|
||||
|
||||
boolean defaultStop = this.robotDriveParam.isDefaultStop();
|
||||
this.robotDriveParam = new DriveParamVO();
|
||||
if (defaultStop) {
|
||||
this.robotDriveParam.setDefaultStop(true);
|
||||
this.robotDriveParam.setStop(true);
|
||||
this.robotDriveParam.setRun(false);
|
||||
}
|
||||
}
|
||||
|
||||
public void setTarget(Section target) {
|
||||
|
|
Loading…
Reference in New Issue