南京二号线列监创建列车 参数调整

This commit is contained in:
fan 2021-10-18 10:14:02 +08:00
parent a18a0db03f
commit 6fa514b99e
2 changed files with 8 additions and 8 deletions

View File

@ -51,13 +51,13 @@ class ESwLnversion extends Group {
this.relocShelter.setStyle(data); this.relocShelter.setStyle(data);
} }
addHover(style) { addHover(style) {
this.__zr && this.__zr.addHover(this.relocShelter, style) this.__zr && this.__zr.addHover(this.relocShelter, style);
} }
removeHover() { removeHover() {
this.__zr && this.__zr.removeHover(this.relocShelter); this.__zr && this.__zr.removeHover(this.relocShelter);
} }
stopAnimation(flag) { stopAnimation(flag) {
this.relocShelter.stopAnimation(flag); this.relocShelter.stopAnimation(flag);

View File

@ -413,8 +413,8 @@ export default {
} else if (this.operationType === 'create') { } else if (this.operationType === 'create') {
params.sectionCode = this.nowSectionCode; params.sectionCode = this.nowSectionCode;
params.groupNumber = this.groupNumber1; params.groupNumber = this.groupNumber1;
params.dn = this.newTrainCode.slice(0, 3); params.dn = this.newTrainCode.slice(0, 4);
params.sn = this.newTrainCode.slice(3, 6); params.sn = '0' + this.newTrainCode.slice(4, 6);
params.tn = '0' + this.newTrainCode.slice(6, 8); params.tn = '0' + this.newTrainCode.slice(6, 8);
step.cmdType = CMD.TrainWindow.CMD_TRAIN_ADD_TRAIN_TRACE; step.cmdType = CMD.TrainWindow.CMD_TRAIN_ADD_TRAIN_TRACE;
step.operation = OperationEvent.Train.addTrainId.menu.operation; step.operation = OperationEvent.Train.addTrainId.menu.operation;