12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008 |
- import { QingXiCheAndQvComHighlightLayer } from './QingXiCheAndQvComHighlightLayer.js';
- import { QingXiCheAndQvCarEventClick } from './QingXiCheAndQvCarEventClick.js';
- import { WindowEvent } from '../../WindowQingXiCheAndQv/js/WindowEvent.js';
- import { QingXiCheAndQvComRes } from '../js/QingXiCheAndQvComRes.js';
- import { QingXiCheAndQvComClipPlaneMeshEvent } from '../js/QingXiCheAndQvComClipPlaneMeshEvent.js';
- import { QingXiCheAdnQvCarEventStep } from './QingXiCheAdnQvCarEventStep.js';
- import { ComVal } from "../common/ComVal.js";
- import { CommonGuiDbListTwo } from "../../../utils/common/CommonGuiDbListTwo.js";
- /**
- * 操作清洗车仿真逻辑
- */
- export class QingXiCheAndQvCarEvent {
-
- // 每次 new 出对象则会调用这个构造函数
- constructor() {
- /**
- * 三维世界对象 src\components\ThreeWorldEvent\js\QingXiCheAndQvThreeWorldEventMain.js
- */
- this.objThreeWorldEventMain = null;
- /**
- * 回调控制 上一步是否显示
- */
- this.tipsBtnsUpOpenEventCallback = null;
- /**
- * 回调控制 下一步是否显示
- */
- this.tipsBtnsDownOpenEventCallback = null;
- /**
- * 记录当前的事件名字
- */
- this.eventName = null;
- /**
- * 当前事件是否处理完成
- * 0 - 未完成 , 1 - 处理中, 2 - 处理完成
- */
- this.eventEnd = 0;
- /**
- * 对应可以操作的 store,控制其他组件实验
- */
- this.ComStore = {};
- /**
- * 记录可以弹出的视频
- */
- this.videoJson = {
- // "唯一code" : "对应的视频地址",
- };
-
- /**
- * 用于记录一些粒子的操作的球体
- * 有的粒子停止的时候比较奇怪
- * 所以有些粒子的停止和开启,是通过移动坐标实现的
- */
- this.particleSystemAutoSphere = {
- };
- /**
- * 展示3d GUI的次数累加
- */
- this.threeWorldTxtNum = 0;
-
- /**
- * 记录成功绕车的点位
- */
- this.aroundTheCarPointRecord = {}
- // 绕车的坐标点
- this.aroundTheCarPoint = {
- "aroundTheCarPoint_1" : {
- "positionX": 5.102473326414879,
- "positionY": 0.5,
- "positionZ": -14.771803943333067,
- "toGpsDownTime": 0
- },
- "aroundTheCarPoint_2" : {
- "positionX": 5.129245758056641,
- "positionY": 0.5000000000000036,
- "positionZ": -19.925683975219727,
- "toGpsDownTime": 0
- },
- "aroundTheCarPoint_3" : {
- "positionX": 6.931572914123535,
- "positionY": 0.5000000000000036,
- "positionZ": -22.559829711914062,
- "toGpsDownTime": 0
- },
- "aroundTheCarPoint_4" : {
- "positionX": 10.04547119140625,
- "positionY": 0.4999999999999982,
- "positionZ": -22.38238525390625,
- "toGpsDownTime": 0
- },
- "aroundTheCarPoint_5" : {
- "positionX": 10.286110877990723,
- "positionY": 0.4185760095715523,
- "positionZ": -17.99656867980957,
- "toGpsDownTime": 0
- },
- "aroundTheCarPoint_6" : {
- "positionX": 10.143107414245605,
- "positionY": 0.5000000000000018,
- "positionZ": -15.21783447265625,
- "toGpsDownTime": 0
- },
- "aroundTheCarPoint_7" : {
- "positionX": 8.979252815246582,
- "positionY": 0.4999999999999991,
- "positionZ": -13.10937213897705,
- "toGpsDownTime": 0
- },
- "aroundTheCarPoint_8" : {
- "positionX": 6.7399396896362305,
- "positionY": 0.5,
- "positionZ": -13.170058250427246,
- "toGpsDownTime": 0
- }
- }
-
- }
- // 实现单例模式
- static find() {
- if (!QingXiCheAndQvCarEvent.instance) {
- QingXiCheAndQvCarEvent.instance = new QingXiCheAndQvCarEvent();
- }
- return QingXiCheAndQvCarEvent.instance;
- }
- /**
- * 初始化第一个步骤视角
- */
- evnetInit_1 = () => {
- let thisClass = this;
- thisClass.work_1();
-
- }
-
- /**
- * 回调控制 上一步是否显示
- * open true - 显示, false 隐藏
- */
- tipsBtnsUpOpenEventCallbackMain = function(open) {
- if (this.tipsBtnsUpOpenEventCallback == null || this.tipsBtnsUpOpenEventCallback == undefined) {
- return;
- }
- this.tipsBtnsUpOpenEventCallback(open);
- }
- /**
- * 回调控制 下一步是否显示
- * open true - 显示, false 隐藏
- */
- tipsBtnsDownOpenEventCallbackMain = (open) => {
- if (this.tipsBtnsDownOpenEventCallback == null || this.tipsBtnsDownOpenEventCallback == undefined) {
- return;
- }
- this.tipsBtnsDownOpenEventCallback(open);
- }
- /**
- * 关闭或开启车子
- * open true - 开启, false - 关闭
- */
- carOpen = function(open) {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
- let level = open == true ? 12 : 0.1;
- // 更新对应模型的参数
- objIframeEdit.objOneMeshListIdToJsonUpdate(
- "model_1754298683935控制台_primitive6",
- {
- "levelAlbedoTexture" : level,
- "levelDiffuseTexture" : level,
- }
- );
- // // 更新对应模型的参数
- // objIframeEdit.objOneMeshListIdToJsonUpdate(
- // "model_1754298683935控制台_primitive7",
- // {
- // "levelAlbedoTexture" : level,
- // "levelDiffuseTexture" : level,
- // }
- // );
- }
- /**
- * 关闭或开启双闪
- * open true - 开启, false - 关闭
- */
- carShuangShanOpen = function(open) {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
- let glowLayerOpen = open;
- // 更新对应模型的参数
- objIframeEdit.objOneMeshListIdToJsonUpdate(
- // "model_1746598895147控制台_primitive7",
- // "model_1754298683935控制台_primitive8",
- "model_1754298683935控制台_primitive7",
- {
- "glowLayerOpen" : glowLayerOpen,
- "glowLayerColor" : "rgb(255,50,0)",
- "glowLayerAlpha" : "1.0"
- }
- );
- // let albedoTextureNew = open == true ? "animationImgList_e90269b2-7940-445f-93a2-327033791563" : QingXiCheAndQvComRes.find().resJson["img_shuang"];
- // console.log(
- // " ========== 切换双闪贴图 albedoTextureNew ========== ", albedoTextureNew
- // );
- // 更新对应模型的参数
- objIframeEdit.objOneMeshListIdToJsonUpdate(
- "model_1754298683935控制台_primitive8",
- {
- // "albedoTexture" : albedoTextureNew,
- // "diffuseTexture" : albedoTextureNew,
- "levelAlbedoTexture" : open == true ? 3 : 0.1,
- "levelEmissiveTexture" : open == true ? 0 : 0.2,
- "emissiveColor" : open == true ? "rgb(0, 0, 0)" : "rgb(121,121,121)",
- }
- );
-
- }
- /**
- * 根据不同的类型,操作不同的三维
- * type 自定义类型
- */
- typeEvent = function(type) {
- let thisClass = this;
- console.log(
- "根据不同的类型,切换对应的3d逻辑", type
- );
- // if (typeof type != 'string' && type != '' && type != ' ' && type != ' ') {
- // this.storesObj.courseChapter3dShow.show.threeWorldMask = false;
- // return this;
- // }
-
- // this.storesObj.courseChapter3dShow.show.threeWorldMask = true;
-
- // 进入新的流程,默认没有完成
- this.eventName = type;
- this.eventEnd = 0;
- QingXiCheAndQvCarEventClick.find().renderEventBool = false;
- // 优先关闭弹窗文本窗口
- WindowEvent.find().WindowTxtViewOpenExit();
- WindowEvent.find().WindowVideoViewOpenExit();
- CommonGuiDbListTwo.find().removeAll();
-
- switch(type) {
-
- // 仿真模拟
- case '仿真模拟':
- thisClass.work_1();
- break;
- // // 点击管道开始清洗
- // case '点击管道开始清洗':
- // thisClass.work_7();
- // break;
- // 人物换装
- case '人物换装':
- thisClass.work_new_0();
- break;
- // 行至车辆区域
- case '行至车辆区域':
- thisClass.work_new_0_1();
- break;
- // 绕车一周
- case '绕车一周':
- thisClass.work_new_0_2();
- break;
- // 打开车门进入驾驶室
- case '打开车门进入驾驶室':
- thisClass.work_new_1();
- break;
- case '确认手刹已拉起档位是P档然后发动车辆':
- thisClass.work_new_2();
- break;
- case '发动车辆':
- thisClass.work_new_2_2();
- break;
- // 打开车辆双闪同时开启工作双闪灯
- case '打开车辆双闪同时开启工作双闪灯':
- thisClass.work_new_3();
- break;
- // 踩下车辆离合器5秒
- case '踩下车辆离合器5秒':
- thisClass.work_new_4();
- break;
- // 按下取力器开关
- case '按下取力器开关':
- thisClass.work_new_5();
- break;
- // 缓慢抬起离合器
- case '缓慢抬起离合器':
- thisClass.work_new_6();
- break;
- case '确定车辆双闪和工作箭头等是否正常':
- thisClass.work_new_6_1();
- break;
- case '下车':
- thisClass.work_new_6_2();
- break;
- // 下车确定安全灯显示是否正常
- case '下车确定安全灯显示是否正常':
- thisClass.work_new_7();
- break;
- // 在施工范围放置警示标识
- case '在施工范围放置警示标识':
- thisClass.work_new_8();
- break;
- // 从水管固定座上拧下高压水管
- case '从水管固定座上拧下高压水管':
- thisClass.work_new_9();
- break;
- // 调整卷筒器到合适位置
- case '调整卷筒器到合适位置':
- thisClass.work_new_10();
- break;
- // 取出高压水管并放入布管器内
- case '取出高压水管并放入布管器内':
- thisClass.work_new_11();
- break;
- // 套上高压水管护管器
- case '套上高压水管护管器':
- thisClass.work_new_12();
- break;
- // 安装合适的高压喷头
- case '安装合适的高压喷头':
- thisClass.work_new_13();
- break;
- // 将高压水管放入待施工的管道内
- case '将高压水管放入待施工的管道内':
- thisClass.work_new_14();
- break;
- // 在触屏操作面板上将管长清零
- case '在触屏操作面板上将管长清零':
- thisClass.work_new_15();
- break;
- // 在安全的情况开启冲水开关
- case '在安全的情况开启冲水开关':
- thisClass.work_new_16();
- break;
- // 根据现场工况调节冲水压力
- case '根据现场工况调节冲水压力':
- thisClass.work_new_17();
- break;
- // 疏通管道后减小油门到初始状态
- case '疏通管道后减小油门到初始状态':
- thisClass.work_new_18();
- break;
- // 带压收回高压水管
- case '带压收回高压水管':
- thisClass.work_new_19();
- break;
- // 至触摸屏关闭冲水开关
- case '至触摸屏关闭冲水开关':
- thisClass.work_new_20();
- break;
- // 缓慢收回高压水管
- case '缓慢收回高压水管':
- thisClass.work_new_21();
- break;
- // 拆卸高压喷头放入喷头机箱内
- case '拆卸高压喷头放入喷头机箱内':
- thisClass.work_new_22();
- break;
- // 收起高压水管将卷筒恢复到初始状态
- case '收起高压水管将卷筒恢复到初始状态':
- thisClass.work_new_23();
- break;
- // 将高压水管拧到水管固定座
- case '将高压水管拧到水管固定座':
- thisClass.work_new_24();
- break;
- case '小卷筒使用方法_开启卷帘门':
- thisClass.work_new_24_1();
- break;
- case '小卷筒使用方法_开启车身侧门':
- thisClass.work_new_24_2();
- break;
- case '小卷筒使用方法_拉出水管到需要的长度固定':
- thisClass.work_new_24_3();
- break;
-
- case '小卷筒使用方法_安装手持水枪':
- thisClass.work_new_24_4();
- break;
- case '小卷筒使用方法_切换手动三通阀':
- thisClass.work_new_24_5();
- break;
-
- case '小卷筒使用方法_扣动手持水枪的开关即可出水':
- thisClass.work_new_24_6();
- break;
- case '小卷筒使用方法_在使用完毕后切换手动三通阀':
- thisClass.work_new_24_7();
- break;
-
- case '小卷筒使用方法_拆卸掉手持水枪并收回水管':
- thisClass.work_new_24_8();
- break;
- case '回到驾驶室':
- thisClass.work_new_24_9();
- break;
- // 回到驾驶室踩下车辆离合器5秒
- case '回到驾驶室踩下车辆离合器5秒':
- thisClass.work_new_25();
- break;
- // 关闭取力器开关
- case '关闭取力器开关':
- thisClass.work_new_26();
- break;
- // 关闭车辆双闪和工作双闪箭头灯
- case '关闭车辆双闪和工作双闪箭头灯':
- thisClass.work_new_27();
- break;
- // 切换E/P开关至E档
- case '切换E/P开关至E档':
- thisClass.work_new_27_1();
- break;
- // 车辆正常熄火
- case '车辆正常熄火':
- thisClass.work_new_28();
- break;
- // //
- // case '':
-
- // break;
- // //
- // case '':
-
- // break;
- // //
- // case '':
-
- // break;
- // //
- // case '':
-
- // break;
- // //
- // case '':
-
- // break;
- // //
- // case '':
-
- // break;
- // //
- // case '':
-
- // break;
- // //
- // case '':
-
- // break;
- // //
- // case '':
-
- // break;
-
- // 已完成所有任务
- case 'equipmentRepositioningWork':
- thisClass.work_new_29();
- break;
- // 数字修复虚拟仿真-将阀门关闭停止水流
- case '数字修复虚拟仿真-将阀门关闭停止水流':
- thisClass.shuZiXiuFuWork_0();
- break;
-
- // 数字修复虚拟仿真-将橡胶垫片放置到正确的位置
- case '数字修复虚拟仿真-将橡胶垫片放置到正确的位置':
- thisClass.shuZiXiuFuWork_1();
- break;
- // 数字修复虚拟仿真-将抱箍放置到正确的位置
- case '数字修复虚拟仿真-将抱箍放置到正确的位置':
- thisClass.shuZiXiuFuWork_2();
- break;
-
- // 数字修复虚拟仿真-将插销安装到正确的位置
- case '数字修复虚拟仿真-将插销安装到正确的位置':
- thisClass.shuZiXiuFuWork_3();
- break;
- // 数字修复虚拟仿真-将螺丝安装到正确的位置
- case '数字修复虚拟仿真-将螺丝安装到正确的位置':
- thisClass.shuZiXiuFuWork_4();
- break;
- // 数字修复虚拟仿真-用扳手将螺丝旋紧螺丝
- case '数字修复虚拟仿真-用扳手将螺丝旋紧螺丝':
- thisClass.shuZiXiuFuWork_5();
- break;
- // 数字修复虚拟仿真-已完成所有任务
- case '数字修复虚拟仿真-已完成所有任务':
- thisClass.shuZiXiuFuWork_6();
- break;
- // //
- // case '':
-
- // break;
-
- default:
-
- break;
-
- }
-
- }
-
- /**
- * 通知展示3d GUI 的文本
- * positionX 坐标X
- * positionY 坐标Y
- * positionZ 坐标Z
- * scaling UI整体缩放
- * width 控制宽度 px 如果 width <= -1 或者 height <= -1 则变成,显示指定固定UI
- * height 控制高度 px
- * txtTop 顶部文本
- * txtBottom 底部文本
- */
- threeWorldTxt = (positionX, positionY, positionZ, scaling, width, height, txtTop, txtBottom) => {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
- thisClass.threeWorldTxtNum += 1;
- let code = "addOrUpdate_" + thisClass.threeWorldTxtNum;
-
- CommonGuiDbListTwo.find().addOrUpdate(code,
- new BABYLON.Vector3( positionX, positionY, positionZ ), scaling, width, height, { "code" : code },
- function(res) { console.log("自定义回调数据点击回调", res); },
- [
- {
- "type" : "title", "value" : "温馨提示", "height" : 30,
- "rectangleColor" : "#a9d5ff", "fontColor" : "#FFFFFF", "fontSize" : 10, "background" : "#a9d5ff",
- },
- {
- "tagName" : txtTop, "text" : txtBottom, "type" : "switch", "value" : 1,
- "unit" : null, "height" : 30, "rectangleColor" : "#000000",
- "left_fontColor" : "#ffffff", "left_fontSize" : 12, "left_background" : "#00d800",
- "right_fontColor" : "#ffffff", "right_fontSize" : 12, "right_background" : "#ffffff",
- },
- ],
- false
- );
- return thisClass;
-
- }
- /**
- * 仿真模拟开始先进行初始化
- */
- work_1 = () => {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
- WindowEvent.find().WindowVideoRemoveColorExit();
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车");
- thisClass.aroundTheCarPointRecord = {}
-
- // // 控制延迟逻辑
- // ComVal.find().fpsEventAdd("type_click_" + new Date().getTime(), {}, 3000, function(fpsEventAddRet) {
- // ComVal.find().fpsEventDel(fpsEventAddRet.code);
- // QingXiCheAndQvComClipPlaneMeshEvent.find().carMeshClipNo();
- // });
- QingXiCheAndQvComClipPlaneMeshEvent.find().carMeshClipNo();
-
- QingXiCheAndQvComHighlightLayer.find().objJsonDelAll();
-
- QingXiCheAdnQvCarEventStep.find().waterEvent(false);
- QingXiCheAdnQvCarEventStep.find().waterShuiQiangEvent(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('stopAll');
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(true);
- }
-
- /**
- * 已完成所有任务
- */
- work_8 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- // QingXiCheAdnQvCarEventStep.find().meshVisibility("点击模拟踩离合", true);
- // 关闭清洗水流
- QingXiCheAdnQvCarEventStep.find().waterEvent(false);
- QingXiCheAdnQvCarEventStep.find().waterShuiQiangEvent(false);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车-喷枪");
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
-
- /**
- * 人物换装
- */
- work_new_0 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("人物穿衣服", true);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("穿衣服_1");
-
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- -32.01094814892543, 1.1861893252100466, 65.48145750781143, 3, 173, 68 * 2,
- "点击人物或者闪烁点", "或者【服饰】触发"
- );
-
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "上车前,先绕车一周,观察车辆前后有无障碍物,留意周边行人、车辆动态。" + "\n"
- // + "确认无异常后,拉开车门,侧身坐入驾驶室。"
-
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_13"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
- // // 初始化重置一些物体的材质
- // thisClass.carOpen(false);
- // thisClass.carShuangShanOpen(false);
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 行至车辆区域
- */
- work_new_0_1 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- thisClass.aroundTheCarPointRecord = {}
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("行至车辆区域", true);
-
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 5.936225679133575, 0, -12.604728552806394, 3, 173, 68 * 2,
- "按照【箭头方向】", "行走至【车辆区域】"
- );
-
- // 切换到人物的视角
- // objThreeWorldEventMain.commonBirthplaceUpdate();
- objThreeWorldEventMain.commonBirthplaceUpdate(true);
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- // 这里进行一个延迟,因为重新回到第一个步骤
- setTimeout(function() {
- QingXiCheAndQvCarEventClick.find().renderEventBool = true;
- }, 2000);
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 绕车一周
- */
- work_new_0_2 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- thisClass.aroundTheCarPointRecord = {}
-
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("绕车一周", true);
-
- WindowEvent.find().WindowTxtViewOpenEvent(
- "上车前,先绕车一周,观察车辆前后有无障碍物,留意周边行人、车辆动态。"
- );
-
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 6.479333078187721, 0, -17.762281446529666, 3, 173, 68 * 2,
- "根据【箭头提示】", "绕车一周"
- );
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAndQvCarEventClick.find().renderEventBool = true;
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 打开车门进入驾驶室
- */
- work_new_1 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("打开车门进入驾驶室", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("绕车1");
-
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 6.898374424678477, 1.7193635674763605, -15.120125554798255, 3, 173, 68 * 2,
- "请点击【车门】", "或者闪烁点进入驾驶室"
- );
-
- WindowEvent.find().WindowTxtViewOpenEvent(
- "确认无异常后,拉开车门,侧身坐入驾驶室。"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_13"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
- // 初始化重置一些物体的材质
- thisClass.carOpen(false);
- thisClass.carShuangShanOpen(false);
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 确认手刹已拉起档位是P档然后发动车辆
- */
- work_new_2 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("确认手刹已拉起档位是P档然后发动车辆", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手刹和空挡");
-
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.780975679446619, 1.8490524634732883, -14.356639637688614, 3, 173, 68 * 2,
- "点击【E/P开关】", "或者闪烁点切换至P档"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "观察驾驶室挡位状态,确认手刹处于拉起状态,挡位状态切换至P挡位置。"
- );
-
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_04"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 发动车辆
- */
- work_new_2_2 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("发动车辆", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手刹和空挡");
-
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.486950425441158, 1.9525766996220573, -14.371424784753671, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【钥匙】触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "拧动启动钥匙,发动车辆。"
- );
-
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_04"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 打开车辆双闪同时开启工作双闪灯
- */
- work_new_3 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("打开车辆双闪同时开启工作双闪灯", true);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("开启双闪");
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.590068700493333, 1.872254593400176, -14.299112896482262, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【工作双闪箭头灯】触发"
- );
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.647353843429736, 2.079624345746996, -14.257857535282083, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【车辆双闪】触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "按下车辆双闪按钮,打开车辆双闪,同时,按下工作双闪按钮,打开工作双闪箭头灯。" + "\n"
- // + "拧动启动钥匙,发动车辆。"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_01"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 踩下车辆离合器5秒
- */
- work_new_4 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("踩下车辆离合器5秒", true);
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.279173216773189, 1.576185310803313, -14.256059281976121, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【离合】触发"
- );
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("调整坐姿");
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手握方向盘");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "调整坐姿,双手稳握方向盘。" + "\n"
- + "用脚掌平稳且有力地踩下车辆离合器踏板,保持5秒,为后续操作做好准备。"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_15"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 按下取力器开关
- */
- work_new_5 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("按下取力器开关", true);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("观察仪表盘指示灯");
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.83173626422252, 1.8440852876018483, -14.378123752937267, 3, 173, 68 * 2,
- "请点击闪烁点", "或[取力器开关]触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "目视仪表盘指示灯,确认车辆处于合适工况后,用手指轻稳按下取力器开关,稍作停顿,观察仪表状态,确保取力器顺利接合。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_02"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 缓慢抬起离合器
- */
- work_new_6 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("缓慢抬起离合器", true);
-
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.279173216773189, 1.576185310803313, -14.256059281976121, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【离合】触发"
- );
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("抬起离合器踏板");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "手肘轻靠座椅,以脚跟为支点,脚掌缓慢上抬离合器踏板,力度由重渐轻,同时感受车辆动力衔接,避免急抬引发顿挫。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 确定车辆双闪和工作箭头等是否正常
- */
- work_new_6_1 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("确定车辆双闪和工作箭头等是否正常", true);
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.590068700493333, 1.872254593400176, -14.299112896482262, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【工作双闪箭头灯】触发"
- );
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.647353843429736, 2.079624345746996, -14.257857535282083, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【车辆双闪】触发"
- );
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车缓慢抬起离合器");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "下车前,先确定车辆双闪和工作箭头等是否正常。" + "\n"
- );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 下车
- */
- work_new_6_2 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.043667273404463, 1.84376692587074, -14.531665288143401, 3, 173, 68 * 2,
- "请点【车门】", "触发下车过程"
- );
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("下车", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车缓慢抬起离合器");
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "手肘轻靠座椅,以脚跟为支点,脚掌缓慢上抬离合器踏板,力度由重渐轻,同时感受车辆动力衔接,避免急抬引发顿挫。" + "\n"
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 下车确定安全灯显示是否正常
- */
- work_new_7 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("下车确定安全灯显示是否正常", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("下车观察各项灯光0");
-
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 5.970016295014377, 1.6406450201962937, -15.366078254483678, 2, 173, 68 * 2,
- "根据指示箭头", "行走到车尾"
- );
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.120775422607426, 2.6263039162667186, -20.970003788783384, 2, 173, 68 * 2,
- "点击【工作作业箭头灯】", "触发确认正常"
- );
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 8.87389671707001, 2.61892964208057, -20.970003789774182, 2, 173, 68 * 2,
- "点击【工作作业箭头灯】", "触发确认正常"
- );
-
- WindowEvent.find().WindowTxtViewOpenEvent(
- "下车并确认车辆双闪灯快速交替闪烁,工作箭头清晰明亮,各项灯光显示均正常无误。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_23"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 在施工范围放置警示标识
- */
- work_new_8 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("在施工范围放置警示标识", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("在施工范围放置警示标识1");
-
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 14.022634838184539, 0.9201802968480344, -12.014094493412726, 3, 173, 68 * 2,
- "点击安全桩", "或者闪烁点触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "携带反光锥、警示牌等安全设备,沿施工场地边缘,间隔适当距离摆放。确保警示标识醒目稳固,全方位提醒过往人员注意安全。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_16"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 从水管固定座上拧下高压水管
- */
- work_new_9 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("从水管固定座上拧下高压水管", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("从水管固定座上拧下高压水管1");
- // WindowEvent.find().WindowVideoViewOpenEvent(
- // QingXiCheAndQvCarEvent.find().videoJson["videw_liu_cheng_1"],
- // null,
- // function() {}
- // );
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.477428214938322, 0.912634256055934, -21.171619968554737, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【高压水管】触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "到车后查看水管固定座高压水管的螺栓位置,双手握紧扳手,按逆时针方向缓慢拧松固定螺栓,顺势取下高压水管并妥善放置。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_03"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 调整卷筒器到合适位置
- */
- work_new_10 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("调整卷筒器到合适位置", true);
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 7.249874236024691, 1.5942286355482447, -21.734366309018057, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【CAN面板】触发"
- );
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("调整卷筒器到合适位置1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "找到卷筒锁开关,轻轻按下开启,依照现场作业需求,缓慢转动卷筒调整至合适角度,确认无误后,再次按下开关将卷筒牢牢锁住。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_11"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 取出高压水管并放入布管器内
- */
- work_new_11 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("取出高压水管并放入布管器内", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("取出高压水管并放入布管器内1");
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 8.239542583914726, 1.3676374312237822, -22.646487769648566, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【高压水管】触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "缓慢取出高压水管,随后将水管一端小心送入布管器内,整个过程保持轻拿轻放,不要损坏设备。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_05"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 套上高压水管护管器
- */
- work_new_12 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("套上高压水管护管器", true);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("套上高压水管护管器1");
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 6.881710548598377, 0.1976881313018013, -26.458932043972, 3, 173, 68 * 2,
- "请点击", "[护管器]触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "为延长高压水管使用寿命、有效减少磨损,需要套上高压水管护管器,先将护管器开口对准水管端口,再沿管壁缓慢滑动套入。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_17"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 安装合适的高压喷头
- */
- work_new_13 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
-
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("安装合适的高压喷头", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("安装合适的高压喷头1");
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 6.801360999206141, 0.4749280346040874, -24.528338254972304, 3, 173, 68 * 2,
- "请点击闪烁点", "或者【箱子】触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "仔细评估现场施工的压力需求、喷射范围等工况,挑选适配规格的高压喷头,用扳手将其与高压水管牢固拧紧,确保连接紧密无渗漏。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_20"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 将高压水管放入待施工的管道内
- */
- work_new_14 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("将高压水管放入待施工的管道内", true);
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 11.003944734235429, 0.3000919607102186, -33.39394053281597, 3, 173, 68 * 2,
- "请点击[水管][护管器]", "或者[井盖]触发"
- );
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管放入待施工的管道内1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "双手握紧高压水管,缓慢、匀速地将其送入施工管道,同时注意观察送入长度,使水管前端深入管道内保持在0.5至1米的合适位置。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_18"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 在触屏操作面板上将管长清零
- */
- work_new_15 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("在触屏操作面板上将管长清零", true);
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 8.81792631352813, 1.715753851279489, -22.28300008372969, 3, 173, 68 * 2,
- "请点击", "【操作面板】触发"
- );
-
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("在触屏操作面板上将管长清零1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "走近触屏操作面板,点击功能菜单找到管长设置选项,在确认无运行指令干扰后,按下清零按键,使显示屏管长数值归零并完成初始化。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_06"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 在安全的情况开启冲水开关
- */
- work_new_16 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("在安全的情况开启冲水开关", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("在安全的情况开启冲水开关1");
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 8.81792631352813, 1.715753851279489, -22.28300008372969, 3, 173, 68 * 2,
- "请点击", "【操作面板】触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "全面检查周边环境,确认无人员靠近、设备无异常后,在触屏操作面板上,精准按下冲水开关,同时密切观察设备运行状态。" + "\n"
- );
- WindowEvent.find().WindowVideoViewOpenEvent(
- QingXiCheAndQvCarEvent.find().videoJson["videw_liu_cheng_2"],
- null,
- function() {}
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_21"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 根据现场工况调节冲水压力
- */
- work_new_17 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("根据现场工况调节冲水压力", true);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("根据现场工况调节冲水压力1");
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 11.997691612968245, -1.980621078883213, -30.987599600330082, 3, 173, 68 * 2,
- "请点击", "[管道]触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "时刻留意现场施工情况,依据作业强度与进度,适时调节油门控制水压;同步灵活收放高压水管,保障施工高效、稳定推进。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_24"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 疏通管道后减小油门到初始状态
- */
- work_new_18 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
-
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 8.81792631352813, 1.715753851279489, -22.28300008372969, 3, 173, 68 * 2,
- "请点击", "【操作面板】触发"
- );
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("疏通管道后减小油门到初始状态", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("疏通管道后减小油门到初始状态1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "确认管道疏通彻底、水流顺畅后,缓慢平稳地减小油门,密切注视仪表盘参数,直至油门恢复至作业前的初始设定状态。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_14"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 带压收回高压水管
- */
- work_new_19 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("带压收回高压水管", true);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("带压收回高压水管1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "为防止喷头堵塞,在收回高压水管过程中保持冲水开关开启状态,以缓慢匀速的方式将水管回收到距管口2米处。" + "\n"
- + "收回水管过程中采用带压回收的方式,主要为了借助高压水流将管道内污泥冲刷至沉井口。"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 至触摸屏关闭冲水开关
- */
- work_new_20 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("至触摸屏关闭冲水开关", true);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("至触摸屏关闭冲水开关1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "完成管道疏通作业后,仔细确认现场无异常水流需求,走到触屏操作面板前,点击对应图标,缓慢关闭冲水开关,确保水流完全停止。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_12"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 缓慢收回高压水管
- */
- work_new_21 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("缓慢收回高压水管", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("缓慢收回高压水管1");
- QingXiCheAndQvCarEvent.find().threeWorldTxt(
- 11.0137148915037, -8.881784197001252e-16, -33.25106292792258, 3, 173, 68 * 2,
- "请点击[井盖][护管套]", "或[高压水管]触发"
- );
- WindowEvent.find().WindowTxtViewOpenEvent(
- "施工完毕后,从管道拉出水管,同步检查管身有无破损。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 拆卸高压喷头放入喷头机箱内
- */
- work_new_22 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("拆卸高压喷头放入喷头机箱内", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("拆卸高压喷头放入喷头机箱内1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "使用专用扳手,按照规范操作流程,小心拧松高压喷头与水管接口,取下喷头后仔细擦拭,确认无污渍残留,再轻放入喷头机箱内妥善归置。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_07"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 收起高压水管将卷筒恢复到初始状态
- */
- work_new_23 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("收起高压水管将卷筒恢复到初始状态", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("收起高压水管将卷筒恢复到初始状态1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "按下卷筒解锁按钮,双手扶住高压水管引导其整齐缠绕,匀速转动卷筒手柄,密切观察缠绕状态,直至将水管完全收回并固定妥当后关闭卷筒锁。" + "\n"
- );
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 将高压水管拧到水管固定座
- */
- work_new_24 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("将高压水管拧到水管固定座", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
- );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 小卷筒使用方法_开启卷帘门
- */
- work_new_24_1 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_开启卷帘门", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 小卷筒使用方法_开启车身侧门
- */
- work_new_24_2 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_开启车身侧门", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 小卷筒使用方法_拉出水管到需要的长度固定
- */
- work_new_24_3 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_拉出水管到需要的长度固定", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 小卷筒使用方法_安装手持水枪
- */
- work_new_24_4 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_安装手持水枪", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 小卷筒使用方法_切换手动三通阀
- */
- work_new_24_5 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_切换手动三通阀", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 小卷筒使用方法_扣动手持水枪的开关即可出水
- */
- work_new_24_6 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_扣动手持水枪的开关即可出水", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 小卷筒使用方法_在使用完毕后切换手动三通阀
- */
- work_new_24_7 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_在使用完毕后切换手动三通阀", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 小卷筒使用方法_拆卸掉手持水枪并收回水管
- */
- work_new_24_8 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_拆卸掉手持水枪并收回水管", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 回到驾驶室
- */
- work_new_24_9 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- // objIframeEdit.modelPeopleLook(3);
- // objIframeEdit.roleShow(false);
- // 切换到人物的视角
- objThreeWorldEventMain.commonBirthplaceUpdate();
- objIframeEdit.modelPeopleLook(1);
- objIframeEdit.roleShow(true);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "完成设备收尾工作后,稳步返回驾驶室,坐定并调整坐姿。" + "\n"
- );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 回到驾驶室踩下车辆离合器5秒
- */
- work_new_25 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室踩下车辆离合器5秒", true);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车开启双闪");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "匀速下压车辆离合器并持续保持5秒钟。" + "\n"
- );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 关闭取力器开关
- */
- work_new_26 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭取力器开关", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("观察仪表盘指示灯");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "关闭取力器开关" + "\n"
- );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 关闭车辆双闪和工作双闪箭头灯
- */
- work_new_27 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭车辆双闪和工作双闪箭头灯", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("开启双闪");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "关闭车辆双闪和工作双闪箭头灯" + "\n"
- );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 切换E/P开关至E档
- */
- work_new_27_1 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("确认手刹已拉起档位是P档然后发动车辆", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手刹和空挡");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "观察驾驶室挡位状态,确认手刹处于拉起状态,切换E/P开关至E档。"
- );
-
- WindowEvent.find().WindowVideoRemoveColorOpen(
- QingXiCheAndQvComRes.find().resJson["QingXiChe_04"],
- "top:auto;left:auto;bottom:5%;right:10%;",
- null,
- null
- );
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 车辆正常熄火
- */
- work_new_28 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("车辆正常熄火", true);
- // objIframeEdit.cameraVisualAngleGetListNameGpsTo("熄火_1");
- WindowEvent.find().WindowTxtViewOpenEvent(
- "车辆正常熄火" + "\n"
- );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 清洗车已完成所有任务
- */
- work_new_29 = function() {
-
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAdnQvCarEventStep.find().meshVisibility("清洗车已完成所有任务", true);
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车流程完成");
- // WindowEvent.find().WindowTxtViewOpenEvent(
- // "车辆正常熄火" + "\n"
- // );
- // WindowEvent.find().WindowVideoRemoveColorOpen(
- // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
- // "top:auto;left:auto;bottom:5%;right:10%;",
- // null,
- // null
- // );
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
-
- }
- /**
- * 数字修复虚拟仿真-将阀门关闭停止水流
- */
- shuZiXiuFuWork_0 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- WindowEvent.find().WindowVideoRemoveColorExit();
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- // 重置所有动画原始位置
- QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('stopAll');
- // 开启水流
- QingXiCheAdnQvCarEventStep.find().waterGuanEvent(true);
-
- QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
- QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将阀门关闭停止水流");
-
- setTimeout(function() {
-
- // 将地面挪到合适的位置
- QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('数字修复虚拟仿真-将橡胶垫片放置到正确的位置');
-
- }, 300);
-
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("关闭阀门");
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
- }
-
- /**
- * 数字修复虚拟仿真-将橡胶垫片放置到正确的位置
- */
- shuZiXiuFuWork_1 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
-
- QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-
- QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
- QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将橡胶垫片放置到正确的位置");
-
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("将橡胶垫片放置到正确的位置_准备安装");
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
- }
- /**
- * 数字修复虚拟仿真-将抱箍放置到正确的位置
- */
- shuZiXiuFuWork_2 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-
- QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
- QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将抱箍放置到正确的位置");
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("将抱箍放置到正确的位置_准备安装");
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
- }
- /**
- * 数字修复虚拟仿真-将插销安装到正确的位置
- */
- shuZiXiuFuWork_3 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
- QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
- QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将插销安装到正确的位置");
-
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("将插销安装到正确的位置_准备安装");
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
- }
- /**
- * 数字修复虚拟仿真-将螺丝安装到正确的位置
- */
- shuZiXiuFuWork_4 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-
- QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
- QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将螺丝安装到正确的位置");
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("将螺丝安装到正确的位置_准备安装");
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
- }
-
- /**
- * 数字修复虚拟仿真-用扳手将螺丝旋紧螺丝
- */
- shuZiXiuFuWork_5 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-
- QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
- QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-用扳手将螺丝旋紧螺丝");
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("用扳手将螺丝旋紧螺丝_准备安装");
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
- }
- /**
- * 数字修复虚拟仿真-已完成所有任务
- */
- shuZiXiuFuWork_6 = function() {
- let thisClass = this;
- let objThreeWorldEventMain = this.objThreeWorldEventMain;
- let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
- let objIframe = objThreeWorldEventMain.objIframe;
- let objScene = objThreeWorldEventMain.objScene;
- let BABYLON = objThreeWorldEventMain.BABYLON;
- let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
-
- objIframeEdit.modelPeopleLook(3);
- objIframeEdit.roleShow(false);
- // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-
- QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
- objIframeEdit.cameraVisualAngleGetListNameGpsTo("数字修复虚拟仿真-已完成所有任务");
- setTimeout(function() {
- // 启动水流
- QingXiCheAdnQvCarEventStep.find().waterGuanEvent(true, true);
- }, 1500);
-
-
- thisClass.tipsBtnsUpOpenEventCallbackMain(false);
- thisClass.tipsBtnsDownOpenEventCallbackMain(false);
- }
-
- }
|