From 6294b0299052efdc4cdfe4254aaeb0bea0089fd1 Mon Sep 17 00:00:00 2001 From: sunzhenyu Date: Thu, 13 Aug 2020 15:58:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=89=E7=BB=B4vr=E4=B8=8B?= =?UTF-8?q?gui=E9=9D=A2=E6=9D=BF=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jl3dmaintainer/Jl3dfaultdevicevr.js | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/src/jlmap3d/jl3dmaintainer/Jl3dfaultdevicevr.js b/src/jlmap3d/jl3dmaintainer/Jl3dfaultdevicevr.js index 8b995ba62..ddcd13779 100644 --- a/src/jlmap3d/jl3dmaintainer/Jl3dfaultdevicevr.js +++ b/src/jlmap3d/jl3dmaintainer/Jl3dfaultdevicevr.js @@ -594,6 +594,62 @@ export function Jl3dfaultdeviceVR(dom,group,token,skinCode) { if(vrPlaneStatus){ var intersection = clickGui[ 0 ]; var object = intersection.object; + + if(object.name == "buttonHome"){ + vrPlane.homeButtonClick(); + } + + if(object.name == "buttonStationList"){ + vrPlane.stationListButtonClick(); + } + + if(object.name == "buttonFaultList"){ + vrPlane.faultListButtonClick(); + } + + // if(object.name == "buttonPrevious"){ + // vrPlane.previousButtonClick(); + // } + // + // if(object.name == "buttonNext"){ + // vrPlane.nextButtonClick(); + // } + if(object.name == "stationList"){ + for(let i=0,leni=stationList.length;i