修改三维行车mmi界面

This commit is contained in:
sunzhenyu 2021-09-07 13:31:17 +08:00
parent 6e3ef32360
commit a8fb38add4
2 changed files with 15 additions and 1 deletions

View File

@ -73,7 +73,6 @@ export function Jl3dDrivingNew(mixers,updatemmi,sound,translation,routegroup,dri
//改变当前列车code
if(data.body.groupNumber){
console.log(data.body);
changeNowTrain(data.body);
updateDriveValue(data.body.groupNumber);
}

View File

@ -237,6 +237,10 @@ export default {
// this.updatemmidrivemode(newdata.driveMode);
//
// this.updatemmiatoatp(newdata.atoOn,newdata.atpOn);
if(newdata.doorMode){
this.updateM7(newdata.doorMode);
}
if(newdata.nextStation){
this.updateMmiNextStation(newdata.nextStation);
}
@ -359,6 +363,17 @@ export default {
this.m4image = this.images.m4['none'];
}
},
updateM7(newdata){
if(newdata == "AA"){
this.m7image = this.images.m7['aoac'];
}
if(newdata == "AM"){
this.m7image = this.images.m7['aomc'];
}
if(newdata == "MM"){
this.m7image = this.images.m7['momc'];
}
},
updateTiaoting(newdata){
if(newdata.jump != undefined){