From 97a829598b2c829fcceb5224811abd8cb9db9ffd Mon Sep 17 00:00:00 2001 From: sunzhenyu Date: Wed, 1 Apr 2020 09:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=89=E7=BB=B4=E9=A9=BE?= =?UTF-8?q?=E9=A9=B6=E8=BD=A6=E7=BB=84=E5=8F=B7=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jlmap3d/jl3ddrive/moveupdate/DrivingConnectNew.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; }