From 498da8c43426a695855a875b45cd79d954814c47 Mon Sep 17 00:00:00 2001 From: sunzhenyu Date: Tue, 12 Nov 2019 19:04:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jl3ddrive/moveupdate/DrivingConnect.js | 42 ++++++------------- 1 file changed, 13 insertions(+), 29 deletions(-) diff --git a/src/jlmap3d/jl3ddrive/moveupdate/DrivingConnect.js b/src/jlmap3d/jl3ddrive/moveupdate/DrivingConnect.js index 7febd96ef..c976f4d07 100644 --- a/src/jlmap3d/jl3ddrive/moveupdate/DrivingConnect.js +++ b/src/jlmap3d/jl3ddrive/moveupdate/DrivingConnect.js @@ -500,37 +500,21 @@ export function Jl3dDriving(updatemmi,sound,translation) { } } - - - - // console.log(data.body[i].directionType); - // console.log(data.body[i].linkCode); - // console.log(rails.linkrail[data.body[i].linkCode].lengthfact); - // console.log(rails.linkrail[data.body[i].linkCode].lconnect); - // console.log(rails.linkrail[data.body[i].linkCode].rconnect); - // console.log("--------------------"); - // console.log(rails.linkrail[rails.linkrail[data.body[i].linkCode].lconnect].lconnect); - // console.log(rails.linkrail[rails.linkrail[data.body[i].linkCode].lconnect].rconnect); - // console.log("---------------------"); - // console.log(trainlisttest.list[code].curve.points); - // console.log(rails.linkrail[nextcode].lineleft.points); - // console.log("***********************"); - // console.log(rails.linkrail[nextcode].lineleft.points); let nextcode; if(code == drivingcode){ - console.log(data.body[i].targetStation); - console.log("netpercent"); - console.log(data.body[i].targetLinkPercent); - console.log(data.body[i].linkOffsetPercent); - console.log("3dpercent"); - if(rails.stops[data.body[i].targetStation]){ - console.log(rails.stops[data.body[i].targetStation].direct2.percent); - } - - console.log(trainlisttest.list[code].progress); - console.log(trainlisttest.list[code].pc); - console.log("==============="); - console.log(data.body[i]); + // console.log(data.body[i].targetStation); + // console.log("netpercent"); + // console.log(data.body[i].targetLinkPercent); + // console.log(data.body[i].linkOffsetPercent); + // console.log("3dpercent"); + // if(rails.stops[data.body[i].targetStation]){ + // console.log(rails.stops[data.body[i].targetStation].direct2.percent); + // } + // + // console.log(trainlisttest.list[code].progress); + // console.log(trainlisttest.list[code].pc); + // console.log("==============="); + // console.log(data.body[i]); if(data.body[i].directionType == '02'){ if(trainlisttest.list[code].stopstation != data.body[i].targetStation){ trainlisttest.list[code].stopstation = data.body[i].targetStation;