diff --git a/src/jlmap3d/jl3dsimulation/connect/Jlmap3dSubscribeNew.js b/src/jlmap3d/jl3dsimulation/connect/Jlmap3dSubscribeNew.js index 57285b9f7..c35bdce7e 100644 --- a/src/jlmap3d/jl3dsimulation/connect/Jlmap3dSubscribeNew.js +++ b/src/jlmap3d/jl3dsimulation/connect/Jlmap3dSubscribeNew.js @@ -53,12 +53,12 @@ export function Jlmap3dSubscribeNew(jlmap3d,routegroup,jsonwebwork) { jsonwebwork.onmessage = function (event) { - + // console.log(event.data); // if(event.data.deviceType == "TRAIN"){ // // console.log(event.data); // // } - console.log(event.data); + // console.log(event.data); if(event.data.type == "Device_Load_Destroy_3D"){ DeviceDestroy(event.data); return; @@ -150,7 +150,6 @@ export function Jlmap3dSubscribeNew(jlmap3d,routegroup,jsonwebwork) { let code = data.code; if(trainlisttest.list[code].right != data.right){ - if(data.right == "0"){ trainlisttest.list[code].right = "0"; trainlisttest.list[code].rotation.y = Math.PI; @@ -442,27 +441,28 @@ export function Jlmap3dSubscribeNew(jlmap3d,routegroup,jsonwebwork) { for(let i=0,leni=data.length;i