This commit is contained in:
fan 2020-04-01 09:26:03 +08:00
commit 358c3dce46

View File

@ -102,6 +102,7 @@ export function Jl3dDrivingNew(mixers,updatemmi,sound,translation,routegroup,sta
return; return;
} }
if(data.type == "Train_Hmi_3D"){ if(data.type == "Train_Hmi_3D"){
console.log(data.body);
trainhmi(data.body); trainhmi(data.body);
return; return;
} }
@ -344,9 +345,9 @@ export function Jl3dDrivingNew(mixers,updatemmi,sound,translation,routegroup,sta
if(trainmodel.code == data[i].code){ if(trainmodel.code == data[i].code){
// console.log(data[i]); // console.log(data[i]);
//更新车组号 //更新车组号
updatemmi.updatetrainnum(data[i].code); updatemmi.updatetrainnum(data[i].groupNumber);
updatemmi.updatestoptime(data[i].atoOn); // updatemmi.updatestoptime(data[i].atoOn);
updatemmi.updatenowspeed(data[i].v); updatemmi.updatenowspeed(data[i].v);
@ -354,7 +355,7 @@ export function Jl3dDrivingNew(mixers,updatemmi,sound,translation,routegroup,sta
updatemmi.updateatospeed(data[i].tv); updatemmi.updateatospeed(data[i].tv);
updatemmi.updatenowlen(data[i].destinationCode); updatemmi.updatenowlen(data[i].maLen);
return; return;
} }