diff --git a/src/jlmap3d/jl3ddrive/moveupdate/DrivingConnectNew.js b/src/jlmap3d/jl3ddrive/moveupdate/DrivingConnectNew.js index b873b6d15..0b6e8544a 100644 --- a/src/jlmap3d/jl3ddrive/moveupdate/DrivingConnectNew.js +++ b/src/jlmap3d/jl3ddrive/moveupdate/DrivingConnectNew.js @@ -102,6 +102,7 @@ export function Jl3dDrivingNew(mixers,updatemmi,sound,translation,routegroup,sta return; } if(data.type == "Train_Hmi_3D"){ + console.log(data.body); trainhmi(data.body); return; } @@ -344,9 +345,9 @@ export function Jl3dDrivingNew(mixers,updatemmi,sound,translation,routegroup,sta if(trainmodel.code == data[i].code){ // 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); @@ -354,7 +355,7 @@ export function Jl3dDrivingNew(mixers,updatemmi,sound,translation,routegroup,sta updatemmi.updateatospeed(data[i].tv); - updatemmi.updatenowlen(data[i].destinationCode); + updatemmi.updatenowlen(data[i].maLen); return; }