QingXiCheAndQvCarEvent.js 106 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008
  1. import { QingXiCheAndQvComHighlightLayer } from './QingXiCheAndQvComHighlightLayer.js';
  2. import { QingXiCheAndQvCarEventClick } from './QingXiCheAndQvCarEventClick.js';
  3. import { WindowEvent } from '../../WindowQingXiCheAndQv/js/WindowEvent.js';
  4. import { QingXiCheAndQvComRes } from '../js/QingXiCheAndQvComRes.js';
  5. import { QingXiCheAndQvComClipPlaneMeshEvent } from '../js/QingXiCheAndQvComClipPlaneMeshEvent.js';
  6. import { QingXiCheAdnQvCarEventStep } from './QingXiCheAdnQvCarEventStep.js';
  7. import { ComVal } from "../common/ComVal.js";
  8. import { CommonGuiDbListTwo } from "../../../utils/common/CommonGuiDbListTwo.js";
  9. /**
  10. * 操作清洗车仿真逻辑
  11. */
  12. export class QingXiCheAndQvCarEvent {
  13. // 每次 new 出对象则会调用这个构造函数
  14. constructor() {
  15. /**
  16. * 三维世界对象 src\components\ThreeWorldEvent\js\QingXiCheAndQvThreeWorldEventMain.js
  17. */
  18. this.objThreeWorldEventMain = null;
  19. /**
  20. * 回调控制 上一步是否显示
  21. */
  22. this.tipsBtnsUpOpenEventCallback = null;
  23. /**
  24. * 回调控制 下一步是否显示
  25. */
  26. this.tipsBtnsDownOpenEventCallback = null;
  27. /**
  28. * 记录当前的事件名字
  29. */
  30. this.eventName = null;
  31. /**
  32. * 当前事件是否处理完成
  33. * 0 - 未完成 , 1 - 处理中, 2 - 处理完成
  34. */
  35. this.eventEnd = 0;
  36. /**
  37. * 对应可以操作的 store,控制其他组件实验
  38. */
  39. this.ComStore = {};
  40. /**
  41. * 记录可以弹出的视频
  42. */
  43. this.videoJson = {
  44. // "唯一code" : "对应的视频地址",
  45. };
  46. /**
  47. * 用于记录一些粒子的操作的球体
  48. * 有的粒子停止的时候比较奇怪
  49. * 所以有些粒子的停止和开启,是通过移动坐标实现的
  50. */
  51. this.particleSystemAutoSphere = {
  52. };
  53. /**
  54. * 展示3d GUI的次数累加
  55. */
  56. this.threeWorldTxtNum = 0;
  57. /**
  58. * 记录成功绕车的点位
  59. */
  60. this.aroundTheCarPointRecord = {}
  61. // 绕车的坐标点
  62. this.aroundTheCarPoint = {
  63. "aroundTheCarPoint_1" : {
  64. "positionX": 5.102473326414879,
  65. "positionY": 0.5,
  66. "positionZ": -14.771803943333067,
  67. "toGpsDownTime": 0
  68. },
  69. "aroundTheCarPoint_2" : {
  70. "positionX": 5.129245758056641,
  71. "positionY": 0.5000000000000036,
  72. "positionZ": -19.925683975219727,
  73. "toGpsDownTime": 0
  74. },
  75. "aroundTheCarPoint_3" : {
  76. "positionX": 6.931572914123535,
  77. "positionY": 0.5000000000000036,
  78. "positionZ": -22.559829711914062,
  79. "toGpsDownTime": 0
  80. },
  81. "aroundTheCarPoint_4" : {
  82. "positionX": 10.04547119140625,
  83. "positionY": 0.4999999999999982,
  84. "positionZ": -22.38238525390625,
  85. "toGpsDownTime": 0
  86. },
  87. "aroundTheCarPoint_5" : {
  88. "positionX": 10.286110877990723,
  89. "positionY": 0.4185760095715523,
  90. "positionZ": -17.99656867980957,
  91. "toGpsDownTime": 0
  92. },
  93. "aroundTheCarPoint_6" : {
  94. "positionX": 10.143107414245605,
  95. "positionY": 0.5000000000000018,
  96. "positionZ": -15.21783447265625,
  97. "toGpsDownTime": 0
  98. },
  99. "aroundTheCarPoint_7" : {
  100. "positionX": 8.979252815246582,
  101. "positionY": 0.4999999999999991,
  102. "positionZ": -13.10937213897705,
  103. "toGpsDownTime": 0
  104. },
  105. "aroundTheCarPoint_8" : {
  106. "positionX": 6.7399396896362305,
  107. "positionY": 0.5,
  108. "positionZ": -13.170058250427246,
  109. "toGpsDownTime": 0
  110. }
  111. }
  112. }
  113. // 实现单例模式
  114. static find() {
  115. if (!QingXiCheAndQvCarEvent.instance) {
  116. QingXiCheAndQvCarEvent.instance = new QingXiCheAndQvCarEvent();
  117. }
  118. return QingXiCheAndQvCarEvent.instance;
  119. }
  120. /**
  121. * 初始化第一个步骤视角
  122. */
  123. evnetInit_1 = () => {
  124. let thisClass = this;
  125. thisClass.work_1();
  126. }
  127. /**
  128. * 回调控制 上一步是否显示
  129. * open true - 显示, false 隐藏
  130. */
  131. tipsBtnsUpOpenEventCallbackMain = function(open) {
  132. if (this.tipsBtnsUpOpenEventCallback == null || this.tipsBtnsUpOpenEventCallback == undefined) {
  133. return;
  134. }
  135. this.tipsBtnsUpOpenEventCallback(open);
  136. }
  137. /**
  138. * 回调控制 下一步是否显示
  139. * open true - 显示, false 隐藏
  140. */
  141. tipsBtnsDownOpenEventCallbackMain = (open) => {
  142. if (this.tipsBtnsDownOpenEventCallback == null || this.tipsBtnsDownOpenEventCallback == undefined) {
  143. return;
  144. }
  145. this.tipsBtnsDownOpenEventCallback(open);
  146. }
  147. /**
  148. * 关闭或开启车子
  149. * open true - 开启, false - 关闭
  150. */
  151. carOpen = function(open) {
  152. let thisClass = this;
  153. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  154. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  155. let objIframe = objThreeWorldEventMain.objIframe;
  156. let objScene = objThreeWorldEventMain.objScene;
  157. let BABYLON = objThreeWorldEventMain.BABYLON;
  158. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  159. let level = open == true ? 12 : 0.1;
  160. // 更新对应模型的参数
  161. objIframeEdit.objOneMeshListIdToJsonUpdate(
  162. "model_1754298683935控制台_primitive6",
  163. {
  164. "levelAlbedoTexture" : level,
  165. "levelDiffuseTexture" : level,
  166. }
  167. );
  168. // // 更新对应模型的参数
  169. // objIframeEdit.objOneMeshListIdToJsonUpdate(
  170. // "model_1754298683935控制台_primitive7",
  171. // {
  172. // "levelAlbedoTexture" : level,
  173. // "levelDiffuseTexture" : level,
  174. // }
  175. // );
  176. }
  177. /**
  178. * 关闭或开启双闪
  179. * open true - 开启, false - 关闭
  180. */
  181. carShuangShanOpen = function(open) {
  182. let thisClass = this;
  183. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  184. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  185. let objIframe = objThreeWorldEventMain.objIframe;
  186. let objScene = objThreeWorldEventMain.objScene;
  187. let BABYLON = objThreeWorldEventMain.BABYLON;
  188. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  189. let glowLayerOpen = open;
  190. // 更新对应模型的参数
  191. objIframeEdit.objOneMeshListIdToJsonUpdate(
  192. // "model_1746598895147控制台_primitive7",
  193. // "model_1754298683935控制台_primitive8",
  194. "model_1754298683935控制台_primitive7",
  195. {
  196. "glowLayerOpen" : glowLayerOpen,
  197. "glowLayerColor" : "rgb(255,50,0)",
  198. "glowLayerAlpha" : "1.0"
  199. }
  200. );
  201. // let albedoTextureNew = open == true ? "animationImgList_e90269b2-7940-445f-93a2-327033791563" : QingXiCheAndQvComRes.find().resJson["img_shuang"];
  202. // console.log(
  203. // " ========== 切换双闪贴图 albedoTextureNew ========== ", albedoTextureNew
  204. // );
  205. // 更新对应模型的参数
  206. objIframeEdit.objOneMeshListIdToJsonUpdate(
  207. "model_1754298683935控制台_primitive8",
  208. {
  209. // "albedoTexture" : albedoTextureNew,
  210. // "diffuseTexture" : albedoTextureNew,
  211. "levelAlbedoTexture" : open == true ? 3 : 0.1,
  212. "levelEmissiveTexture" : open == true ? 0 : 0.2,
  213. "emissiveColor" : open == true ? "rgb(0, 0, 0)" : "rgb(121,121,121)",
  214. }
  215. );
  216. }
  217. /**
  218. * 根据不同的类型,操作不同的三维
  219. * type 自定义类型
  220. */
  221. typeEvent = function(type) {
  222. let thisClass = this;
  223. console.log(
  224. "根据不同的类型,切换对应的3d逻辑", type
  225. );
  226. // if (typeof type != 'string' && type != '' && type != ' ' && type != ' ') {
  227. // this.storesObj.courseChapter3dShow.show.threeWorldMask = false;
  228. // return this;
  229. // }
  230. // this.storesObj.courseChapter3dShow.show.threeWorldMask = true;
  231. // 进入新的流程,默认没有完成
  232. this.eventName = type;
  233. this.eventEnd = 0;
  234. QingXiCheAndQvCarEventClick.find().renderEventBool = false;
  235. // 优先关闭弹窗文本窗口
  236. WindowEvent.find().WindowTxtViewOpenExit();
  237. WindowEvent.find().WindowVideoViewOpenExit();
  238. CommonGuiDbListTwo.find().removeAll();
  239. switch(type) {
  240. // 仿真模拟
  241. case '仿真模拟':
  242. thisClass.work_1();
  243. break;
  244. // // 点击管道开始清洗
  245. // case '点击管道开始清洗':
  246. // thisClass.work_7();
  247. // break;
  248. // 人物换装
  249. case '人物换装':
  250. thisClass.work_new_0();
  251. break;
  252. // 行至车辆区域
  253. case '行至车辆区域':
  254. thisClass.work_new_0_1();
  255. break;
  256. // 绕车一周
  257. case '绕车一周':
  258. thisClass.work_new_0_2();
  259. break;
  260. // 打开车门进入驾驶室
  261. case '打开车门进入驾驶室':
  262. thisClass.work_new_1();
  263. break;
  264. case '确认手刹已拉起档位是P档然后发动车辆':
  265. thisClass.work_new_2();
  266. break;
  267. case '发动车辆':
  268. thisClass.work_new_2_2();
  269. break;
  270. // 打开车辆双闪同时开启工作双闪灯
  271. case '打开车辆双闪同时开启工作双闪灯':
  272. thisClass.work_new_3();
  273. break;
  274. // 踩下车辆离合器5秒
  275. case '踩下车辆离合器5秒':
  276. thisClass.work_new_4();
  277. break;
  278. // 按下取力器开关
  279. case '按下取力器开关':
  280. thisClass.work_new_5();
  281. break;
  282. // 缓慢抬起离合器
  283. case '缓慢抬起离合器':
  284. thisClass.work_new_6();
  285. break;
  286. case '确定车辆双闪和工作箭头等是否正常':
  287. thisClass.work_new_6_1();
  288. break;
  289. case '下车':
  290. thisClass.work_new_6_2();
  291. break;
  292. // 下车确定安全灯显示是否正常
  293. case '下车确定安全灯显示是否正常':
  294. thisClass.work_new_7();
  295. break;
  296. // 在施工范围放置警示标识
  297. case '在施工范围放置警示标识':
  298. thisClass.work_new_8();
  299. break;
  300. // 从水管固定座上拧下高压水管
  301. case '从水管固定座上拧下高压水管':
  302. thisClass.work_new_9();
  303. break;
  304. // 调整卷筒器到合适位置
  305. case '调整卷筒器到合适位置':
  306. thisClass.work_new_10();
  307. break;
  308. // 取出高压水管并放入布管器内
  309. case '取出高压水管并放入布管器内':
  310. thisClass.work_new_11();
  311. break;
  312. // 套上高压水管护管器
  313. case '套上高压水管护管器':
  314. thisClass.work_new_12();
  315. break;
  316. // 安装合适的高压喷头
  317. case '安装合适的高压喷头':
  318. thisClass.work_new_13();
  319. break;
  320. // 将高压水管放入待施工的管道内
  321. case '将高压水管放入待施工的管道内':
  322. thisClass.work_new_14();
  323. break;
  324. // 在触屏操作面板上将管长清零
  325. case '在触屏操作面板上将管长清零':
  326. thisClass.work_new_15();
  327. break;
  328. // 在安全的情况开启冲水开关
  329. case '在安全的情况开启冲水开关':
  330. thisClass.work_new_16();
  331. break;
  332. // 根据现场工况调节冲水压力
  333. case '根据现场工况调节冲水压力':
  334. thisClass.work_new_17();
  335. break;
  336. // 疏通管道后减小油门到初始状态
  337. case '疏通管道后减小油门到初始状态':
  338. thisClass.work_new_18();
  339. break;
  340. // 带压收回高压水管
  341. case '带压收回高压水管':
  342. thisClass.work_new_19();
  343. break;
  344. // 至触摸屏关闭冲水开关
  345. case '至触摸屏关闭冲水开关':
  346. thisClass.work_new_20();
  347. break;
  348. // 缓慢收回高压水管
  349. case '缓慢收回高压水管':
  350. thisClass.work_new_21();
  351. break;
  352. // 拆卸高压喷头放入喷头机箱内
  353. case '拆卸高压喷头放入喷头机箱内':
  354. thisClass.work_new_22();
  355. break;
  356. // 收起高压水管将卷筒恢复到初始状态
  357. case '收起高压水管将卷筒恢复到初始状态':
  358. thisClass.work_new_23();
  359. break;
  360. // 将高压水管拧到水管固定座
  361. case '将高压水管拧到水管固定座':
  362. thisClass.work_new_24();
  363. break;
  364. case '小卷筒使用方法_开启卷帘门':
  365. thisClass.work_new_24_1();
  366. break;
  367. case '小卷筒使用方法_开启车身侧门':
  368. thisClass.work_new_24_2();
  369. break;
  370. case '小卷筒使用方法_拉出水管到需要的长度固定':
  371. thisClass.work_new_24_3();
  372. break;
  373. case '小卷筒使用方法_安装手持水枪':
  374. thisClass.work_new_24_4();
  375. break;
  376. case '小卷筒使用方法_切换手动三通阀':
  377. thisClass.work_new_24_5();
  378. break;
  379. case '小卷筒使用方法_扣动手持水枪的开关即可出水':
  380. thisClass.work_new_24_6();
  381. break;
  382. case '小卷筒使用方法_在使用完毕后切换手动三通阀':
  383. thisClass.work_new_24_7();
  384. break;
  385. case '小卷筒使用方法_拆卸掉手持水枪并收回水管':
  386. thisClass.work_new_24_8();
  387. break;
  388. case '回到驾驶室':
  389. thisClass.work_new_24_9();
  390. break;
  391. // 回到驾驶室踩下车辆离合器5秒
  392. case '回到驾驶室踩下车辆离合器5秒':
  393. thisClass.work_new_25();
  394. break;
  395. // 关闭取力器开关
  396. case '关闭取力器开关':
  397. thisClass.work_new_26();
  398. break;
  399. // 关闭车辆双闪和工作双闪箭头灯
  400. case '关闭车辆双闪和工作双闪箭头灯':
  401. thisClass.work_new_27();
  402. break;
  403. // 切换E/P开关至E档
  404. case '切换E/P开关至E档':
  405. thisClass.work_new_27_1();
  406. break;
  407. // 车辆正常熄火
  408. case '车辆正常熄火':
  409. thisClass.work_new_28();
  410. break;
  411. // //
  412. // case '':
  413. // break;
  414. // //
  415. // case '':
  416. // break;
  417. // //
  418. // case '':
  419. // break;
  420. // //
  421. // case '':
  422. // break;
  423. // //
  424. // case '':
  425. // break;
  426. // //
  427. // case '':
  428. // break;
  429. // //
  430. // case '':
  431. // break;
  432. // //
  433. // case '':
  434. // break;
  435. // //
  436. // case '':
  437. // break;
  438. // 已完成所有任务
  439. case 'equipmentRepositioningWork':
  440. thisClass.work_new_29();
  441. break;
  442. // 数字修复虚拟仿真-将阀门关闭停止水流
  443. case '数字修复虚拟仿真-将阀门关闭停止水流':
  444. thisClass.shuZiXiuFuWork_0();
  445. break;
  446. // 数字修复虚拟仿真-将橡胶垫片放置到正确的位置
  447. case '数字修复虚拟仿真-将橡胶垫片放置到正确的位置':
  448. thisClass.shuZiXiuFuWork_1();
  449. break;
  450. // 数字修复虚拟仿真-将抱箍放置到正确的位置
  451. case '数字修复虚拟仿真-将抱箍放置到正确的位置':
  452. thisClass.shuZiXiuFuWork_2();
  453. break;
  454. // 数字修复虚拟仿真-将插销安装到正确的位置
  455. case '数字修复虚拟仿真-将插销安装到正确的位置':
  456. thisClass.shuZiXiuFuWork_3();
  457. break;
  458. // 数字修复虚拟仿真-将螺丝安装到正确的位置
  459. case '数字修复虚拟仿真-将螺丝安装到正确的位置':
  460. thisClass.shuZiXiuFuWork_4();
  461. break;
  462. // 数字修复虚拟仿真-用扳手将螺丝旋紧螺丝
  463. case '数字修复虚拟仿真-用扳手将螺丝旋紧螺丝':
  464. thisClass.shuZiXiuFuWork_5();
  465. break;
  466. // 数字修复虚拟仿真-已完成所有任务
  467. case '数字修复虚拟仿真-已完成所有任务':
  468. thisClass.shuZiXiuFuWork_6();
  469. break;
  470. // //
  471. // case '':
  472. // break;
  473. default:
  474. break;
  475. }
  476. }
  477. /**
  478. * 通知展示3d GUI 的文本
  479. * positionX 坐标X
  480. * positionY 坐标Y
  481. * positionZ 坐标Z
  482. * scaling UI整体缩放
  483. * width 控制宽度 px 如果 width <= -1 或者 height <= -1 则变成,显示指定固定UI
  484. * height 控制高度 px
  485. * txtTop 顶部文本
  486. * txtBottom 底部文本
  487. */
  488. threeWorldTxt = (positionX, positionY, positionZ, scaling, width, height, txtTop, txtBottom) => {
  489. let thisClass = this;
  490. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  491. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  492. let objIframe = objThreeWorldEventMain.objIframe;
  493. let objScene = objThreeWorldEventMain.objScene;
  494. let BABYLON = objThreeWorldEventMain.BABYLON;
  495. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  496. thisClass.threeWorldTxtNum += 1;
  497. let code = "addOrUpdate_" + thisClass.threeWorldTxtNum;
  498. CommonGuiDbListTwo.find().addOrUpdate(code,
  499. new BABYLON.Vector3( positionX, positionY, positionZ ), scaling, width, height, { "code" : code },
  500. function(res) { console.log("自定义回调数据点击回调", res); },
  501. [
  502. {
  503. "type" : "title", "value" : "温馨提示", "height" : 30,
  504. "rectangleColor" : "#a9d5ff", "fontColor" : "#FFFFFF", "fontSize" : 10, "background" : "#a9d5ff",
  505. },
  506. {
  507. "tagName" : txtTop, "text" : txtBottom, "type" : "switch", "value" : 1,
  508. "unit" : null, "height" : 30, "rectangleColor" : "#000000",
  509. "left_fontColor" : "#ffffff", "left_fontSize" : 12, "left_background" : "#00d800",
  510. "right_fontColor" : "#ffffff", "right_fontSize" : 12, "right_background" : "#ffffff",
  511. },
  512. ],
  513. false
  514. );
  515. return thisClass;
  516. }
  517. /**
  518. * 仿真模拟开始先进行初始化
  519. */
  520. work_1 = () => {
  521. let thisClass = this;
  522. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  523. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  524. let objIframe = objThreeWorldEventMain.objIframe;
  525. let objScene = objThreeWorldEventMain.objScene;
  526. let BABYLON = objThreeWorldEventMain.BABYLON;
  527. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  528. WindowEvent.find().WindowVideoRemoveColorExit();
  529. objIframeEdit.modelPeopleLook(3);
  530. objIframeEdit.roleShow(false);
  531. objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车");
  532. thisClass.aroundTheCarPointRecord = {}
  533. // // 控制延迟逻辑
  534. // ComVal.find().fpsEventAdd("type_click_" + new Date().getTime(), {}, 3000, function(fpsEventAddRet) {
  535. // ComVal.find().fpsEventDel(fpsEventAddRet.code);
  536. // QingXiCheAndQvComClipPlaneMeshEvent.find().carMeshClipNo();
  537. // });
  538. QingXiCheAndQvComClipPlaneMeshEvent.find().carMeshClipNo();
  539. QingXiCheAndQvComHighlightLayer.find().objJsonDelAll();
  540. QingXiCheAdnQvCarEventStep.find().waterEvent(false);
  541. QingXiCheAdnQvCarEventStep.find().waterShuiQiangEvent(false);
  542. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  543. QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('stopAll');
  544. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  545. thisClass.tipsBtnsDownOpenEventCallbackMain(true);
  546. }
  547. /**
  548. * 已完成所有任务
  549. */
  550. work_8 = function() {
  551. let thisClass = this;
  552. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  553. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  554. let objIframe = objThreeWorldEventMain.objIframe;
  555. let objScene = objThreeWorldEventMain.objScene;
  556. let BABYLON = objThreeWorldEventMain.BABYLON;
  557. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  558. objIframeEdit.modelPeopleLook(3);
  559. objIframeEdit.roleShow(false);
  560. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  561. // QingXiCheAdnQvCarEventStep.find().meshVisibility("点击模拟踩离合", true);
  562. // 关闭清洗水流
  563. QingXiCheAdnQvCarEventStep.find().waterEvent(false);
  564. QingXiCheAdnQvCarEventStep.find().waterShuiQiangEvent(false);
  565. objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车-喷枪");
  566. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  567. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  568. }
  569. /**
  570. * 人物换装
  571. */
  572. work_new_0 = function() {
  573. let thisClass = this;
  574. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  575. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  576. let objIframe = objThreeWorldEventMain.objIframe;
  577. let objScene = objThreeWorldEventMain.objScene;
  578. let BABYLON = objThreeWorldEventMain.BABYLON;
  579. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  580. objIframeEdit.modelPeopleLook(3);
  581. objIframeEdit.roleShow(false);
  582. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  583. QingXiCheAdnQvCarEventStep.find().meshVisibility("人物穿衣服", true);
  584. objIframeEdit.cameraVisualAngleGetListNameGpsTo("穿衣服_1");
  585. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  586. -32.01094814892543, 1.1861893252100466, 65.48145750781143, 3, 173, 68 * 2,
  587. "点击人物或者闪烁点", "或者【服饰】触发"
  588. );
  589. // WindowEvent.find().WindowTxtViewOpenEvent(
  590. // "上车前,先绕车一周,观察车辆前后有无障碍物,留意周边行人、车辆动态。" + "\n"
  591. // + "确认无异常后,拉开车门,侧身坐入驾驶室。"
  592. // );
  593. // WindowEvent.find().WindowVideoRemoveColorOpen(
  594. // QingXiCheAndQvComRes.find().resJson["QingXiChe_13"],
  595. // "top:auto;left:auto;bottom:5%;right:10%;",
  596. // null,
  597. // null
  598. // );
  599. // // 初始化重置一些物体的材质
  600. // thisClass.carOpen(false);
  601. // thisClass.carShuangShanOpen(false);
  602. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  603. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  604. }
  605. /**
  606. * 行至车辆区域
  607. */
  608. work_new_0_1 = function() {
  609. let thisClass = this;
  610. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  611. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  612. let objIframe = objThreeWorldEventMain.objIframe;
  613. let objScene = objThreeWorldEventMain.objScene;
  614. let BABYLON = objThreeWorldEventMain.BABYLON;
  615. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  616. thisClass.aroundTheCarPointRecord = {}
  617. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  618. QingXiCheAdnQvCarEventStep.find().meshVisibility("行至车辆区域", true);
  619. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  620. 5.936225679133575, 0, -12.604728552806394, 3, 173, 68 * 2,
  621. "按照【箭头方向】", "行走至【车辆区域】"
  622. );
  623. // 切换到人物的视角
  624. // objThreeWorldEventMain.commonBirthplaceUpdate();
  625. objThreeWorldEventMain.commonBirthplaceUpdate(true);
  626. objIframeEdit.modelPeopleLook(1);
  627. objIframeEdit.roleShow(true);
  628. // 这里进行一个延迟,因为重新回到第一个步骤
  629. setTimeout(function() {
  630. QingXiCheAndQvCarEventClick.find().renderEventBool = true;
  631. }, 2000);
  632. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  633. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  634. }
  635. /**
  636. * 绕车一周
  637. */
  638. work_new_0_2 = function() {
  639. let thisClass = this;
  640. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  641. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  642. let objIframe = objThreeWorldEventMain.objIframe;
  643. let objScene = objThreeWorldEventMain.objScene;
  644. let BABYLON = objThreeWorldEventMain.BABYLON;
  645. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  646. thisClass.aroundTheCarPointRecord = {}
  647. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  648. QingXiCheAdnQvCarEventStep.find().meshVisibility("绕车一周", true);
  649. WindowEvent.find().WindowTxtViewOpenEvent(
  650. "上车前,先绕车一周,观察车辆前后有无障碍物,留意周边行人、车辆动态。"
  651. );
  652. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  653. 6.479333078187721, 0, -17.762281446529666, 3, 173, 68 * 2,
  654. "根据【箭头提示】", "绕车一周"
  655. );
  656. // 切换到人物的视角
  657. objThreeWorldEventMain.commonBirthplaceUpdate();
  658. objIframeEdit.modelPeopleLook(1);
  659. objIframeEdit.roleShow(true);
  660. QingXiCheAndQvCarEventClick.find().renderEventBool = true;
  661. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  662. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  663. }
  664. /**
  665. * 打开车门进入驾驶室
  666. */
  667. work_new_1 = function() {
  668. let thisClass = this;
  669. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  670. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  671. let objIframe = objThreeWorldEventMain.objIframe;
  672. let objScene = objThreeWorldEventMain.objScene;
  673. let BABYLON = objThreeWorldEventMain.BABYLON;
  674. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  675. // objIframeEdit.modelPeopleLook(3);
  676. // objIframeEdit.roleShow(false);
  677. // 切换到人物的视角
  678. objThreeWorldEventMain.commonBirthplaceUpdate();
  679. objIframeEdit.modelPeopleLook(1);
  680. objIframeEdit.roleShow(true);
  681. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  682. QingXiCheAdnQvCarEventStep.find().meshVisibility("打开车门进入驾驶室", true);
  683. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("绕车1");
  684. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  685. 6.898374424678477, 1.7193635674763605, -15.120125554798255, 3, 173, 68 * 2,
  686. "请点击【车门】", "或者闪烁点进入驾驶室"
  687. );
  688. WindowEvent.find().WindowTxtViewOpenEvent(
  689. "确认无异常后,拉开车门,侧身坐入驾驶室。"
  690. );
  691. WindowEvent.find().WindowVideoRemoveColorOpen(
  692. QingXiCheAndQvComRes.find().resJson["QingXiChe_13"],
  693. "top:auto;left:auto;bottom:5%;right:10%;",
  694. null,
  695. null
  696. );
  697. // 初始化重置一些物体的材质
  698. thisClass.carOpen(false);
  699. thisClass.carShuangShanOpen(false);
  700. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  701. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  702. }
  703. /**
  704. * 确认手刹已拉起档位是P档然后发动车辆
  705. */
  706. work_new_2 = function() {
  707. let thisClass = this;
  708. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  709. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  710. let objIframe = objThreeWorldEventMain.objIframe;
  711. let objScene = objThreeWorldEventMain.objScene;
  712. let BABYLON = objThreeWorldEventMain.BABYLON;
  713. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  714. objIframeEdit.modelPeopleLook(3);
  715. objIframeEdit.roleShow(false);
  716. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  717. QingXiCheAdnQvCarEventStep.find().meshVisibility("确认手刹已拉起档位是P档然后发动车辆", true);
  718. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手刹和空挡");
  719. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  720. 7.780975679446619, 1.8490524634732883, -14.356639637688614, 3, 173, 68 * 2,
  721. "点击【E/P开关】", "或者闪烁点切换至P档"
  722. );
  723. WindowEvent.find().WindowTxtViewOpenEvent(
  724. "观察驾驶室挡位状态,确认手刹处于拉起状态,挡位状态切换至P挡位置。"
  725. );
  726. WindowEvent.find().WindowVideoRemoveColorOpen(
  727. QingXiCheAndQvComRes.find().resJson["QingXiChe_04"],
  728. "top:auto;left:auto;bottom:5%;right:10%;",
  729. null,
  730. null
  731. );
  732. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  733. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  734. }
  735. /**
  736. * 发动车辆
  737. */
  738. work_new_2_2 = function() {
  739. let thisClass = this;
  740. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  741. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  742. let objIframe = objThreeWorldEventMain.objIframe;
  743. let objScene = objThreeWorldEventMain.objScene;
  744. let BABYLON = objThreeWorldEventMain.BABYLON;
  745. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  746. objIframeEdit.modelPeopleLook(3);
  747. objIframeEdit.roleShow(false);
  748. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  749. QingXiCheAdnQvCarEventStep.find().meshVisibility("发动车辆", true);
  750. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手刹和空挡");
  751. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  752. 7.486950425441158, 1.9525766996220573, -14.371424784753671, 3, 173, 68 * 2,
  753. "请点击闪烁点", "或者【钥匙】触发"
  754. );
  755. WindowEvent.find().WindowTxtViewOpenEvent(
  756. "拧动启动钥匙,发动车辆。"
  757. );
  758. WindowEvent.find().WindowVideoRemoveColorOpen(
  759. QingXiCheAndQvComRes.find().resJson["QingXiChe_04"],
  760. "top:auto;left:auto;bottom:5%;right:10%;",
  761. null,
  762. null
  763. );
  764. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  765. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  766. }
  767. /**
  768. * 打开车辆双闪同时开启工作双闪灯
  769. */
  770. work_new_3 = function() {
  771. let thisClass = this;
  772. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  773. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  774. let objIframe = objThreeWorldEventMain.objIframe;
  775. let objScene = objThreeWorldEventMain.objScene;
  776. let BABYLON = objThreeWorldEventMain.BABYLON;
  777. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  778. objIframeEdit.modelPeopleLook(3);
  779. objIframeEdit.roleShow(false);
  780. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  781. QingXiCheAdnQvCarEventStep.find().meshVisibility("打开车辆双闪同时开启工作双闪灯", true);
  782. objIframeEdit.cameraVisualAngleGetListNameGpsTo("开启双闪");
  783. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  784. 7.590068700493333, 1.872254593400176, -14.299112896482262, 3, 173, 68 * 2,
  785. "请点击闪烁点", "或者【工作双闪箭头灯】触发"
  786. );
  787. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  788. 7.647353843429736, 2.079624345746996, -14.257857535282083, 3, 173, 68 * 2,
  789. "请点击闪烁点", "或者【车辆双闪】触发"
  790. );
  791. WindowEvent.find().WindowTxtViewOpenEvent(
  792. "按下车辆双闪按钮,打开车辆双闪,同时,按下工作双闪按钮,打开工作双闪箭头灯。" + "\n"
  793. // + "拧动启动钥匙,发动车辆。"
  794. );
  795. WindowEvent.find().WindowVideoRemoveColorOpen(
  796. QingXiCheAndQvComRes.find().resJson["QingXiChe_01"],
  797. "top:auto;left:auto;bottom:5%;right:10%;",
  798. null,
  799. null
  800. );
  801. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  802. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  803. }
  804. /**
  805. * 踩下车辆离合器5秒
  806. */
  807. work_new_4 = function() {
  808. let thisClass = this;
  809. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  810. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  811. let objIframe = objThreeWorldEventMain.objIframe;
  812. let objScene = objThreeWorldEventMain.objScene;
  813. let BABYLON = objThreeWorldEventMain.BABYLON;
  814. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  815. objIframeEdit.modelPeopleLook(3);
  816. objIframeEdit.roleShow(false);
  817. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  818. QingXiCheAdnQvCarEventStep.find().meshVisibility("踩下车辆离合器5秒", true);
  819. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  820. 7.279173216773189, 1.576185310803313, -14.256059281976121, 3, 173, 68 * 2,
  821. "请点击闪烁点", "或者【离合】触发"
  822. );
  823. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("调整坐姿");
  824. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手握方向盘");
  825. WindowEvent.find().WindowTxtViewOpenEvent(
  826. "调整坐姿,双手稳握方向盘。" + "\n"
  827. + "用脚掌平稳且有力地踩下车辆离合器踏板,保持5秒,为后续操作做好准备。"
  828. );
  829. WindowEvent.find().WindowVideoRemoveColorOpen(
  830. QingXiCheAndQvComRes.find().resJson["QingXiChe_15"],
  831. "top:auto;left:auto;bottom:5%;right:10%;",
  832. null,
  833. null
  834. );
  835. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  836. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  837. }
  838. /**
  839. * 按下取力器开关
  840. */
  841. work_new_5 = function() {
  842. let thisClass = this;
  843. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  844. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  845. let objIframe = objThreeWorldEventMain.objIframe;
  846. let objScene = objThreeWorldEventMain.objScene;
  847. let BABYLON = objThreeWorldEventMain.BABYLON;
  848. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  849. objIframeEdit.modelPeopleLook(3);
  850. objIframeEdit.roleShow(false);
  851. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  852. QingXiCheAdnQvCarEventStep.find().meshVisibility("按下取力器开关", true);
  853. objIframeEdit.cameraVisualAngleGetListNameGpsTo("观察仪表盘指示灯");
  854. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  855. 7.83173626422252, 1.8440852876018483, -14.378123752937267, 3, 173, 68 * 2,
  856. "请点击闪烁点", "或[取力器开关]触发"
  857. );
  858. WindowEvent.find().WindowTxtViewOpenEvent(
  859. "目视仪表盘指示灯,确认车辆处于合适工况后,用手指轻稳按下取力器开关,稍作停顿,观察仪表状态,确保取力器顺利接合。" + "\n"
  860. );
  861. WindowEvent.find().WindowVideoRemoveColorOpen(
  862. QingXiCheAndQvComRes.find().resJson["QingXiChe_02"],
  863. "top:auto;left:auto;bottom:5%;right:10%;",
  864. null,
  865. null
  866. );
  867. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  868. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  869. }
  870. /**
  871. * 缓慢抬起离合器
  872. */
  873. work_new_6 = function() {
  874. let thisClass = this;
  875. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  876. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  877. let objIframe = objThreeWorldEventMain.objIframe;
  878. let objScene = objThreeWorldEventMain.objScene;
  879. let BABYLON = objThreeWorldEventMain.BABYLON;
  880. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  881. objIframeEdit.modelPeopleLook(3);
  882. objIframeEdit.roleShow(false);
  883. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  884. QingXiCheAdnQvCarEventStep.find().meshVisibility("缓慢抬起离合器", true);
  885. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  886. 7.279173216773189, 1.576185310803313, -14.256059281976121, 3, 173, 68 * 2,
  887. "请点击闪烁点", "或者【离合】触发"
  888. );
  889. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("抬起离合器踏板");
  890. WindowEvent.find().WindowTxtViewOpenEvent(
  891. "手肘轻靠座椅,以脚跟为支点,脚掌缓慢上抬离合器踏板,力度由重渐轻,同时感受车辆动力衔接,避免急抬引发顿挫。" + "\n"
  892. );
  893. WindowEvent.find().WindowVideoRemoveColorOpen(
  894. QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
  895. "top:auto;left:auto;bottom:5%;right:10%;",
  896. null,
  897. null
  898. );
  899. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  900. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  901. }
  902. /**
  903. * 确定车辆双闪和工作箭头等是否正常
  904. */
  905. work_new_6_1 = function() {
  906. let thisClass = this;
  907. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  908. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  909. let objIframe = objThreeWorldEventMain.objIframe;
  910. let objScene = objThreeWorldEventMain.objScene;
  911. let BABYLON = objThreeWorldEventMain.BABYLON;
  912. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  913. objIframeEdit.modelPeopleLook(3);
  914. objIframeEdit.roleShow(false);
  915. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  916. QingXiCheAdnQvCarEventStep.find().meshVisibility("确定车辆双闪和工作箭头等是否正常", true);
  917. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  918. 7.590068700493333, 1.872254593400176, -14.299112896482262, 3, 173, 68 * 2,
  919. "请点击闪烁点", "或者【工作双闪箭头灯】触发"
  920. );
  921. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  922. 7.647353843429736, 2.079624345746996, -14.257857535282083, 3, 173, 68 * 2,
  923. "请点击闪烁点", "或者【车辆双闪】触发"
  924. );
  925. objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车缓慢抬起离合器");
  926. WindowEvent.find().WindowTxtViewOpenEvent(
  927. "下车前,先确定车辆双闪和工作箭头等是否正常。" + "\n"
  928. );
  929. // WindowEvent.find().WindowVideoRemoveColorOpen(
  930. // QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
  931. // "top:auto;left:auto;bottom:5%;right:10%;",
  932. // null,
  933. // null
  934. // );
  935. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  936. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  937. }
  938. /**
  939. * 下车
  940. */
  941. work_new_6_2 = function() {
  942. let thisClass = this;
  943. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  944. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  945. let objIframe = objThreeWorldEventMain.objIframe;
  946. let objScene = objThreeWorldEventMain.objScene;
  947. let BABYLON = objThreeWorldEventMain.BABYLON;
  948. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  949. objIframeEdit.modelPeopleLook(3);
  950. objIframeEdit.roleShow(false);
  951. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  952. 7.043667273404463, 1.84376692587074, -14.531665288143401, 3, 173, 68 * 2,
  953. "请点【车门】", "触发下车过程"
  954. );
  955. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  956. QingXiCheAdnQvCarEventStep.find().meshVisibility("下车", true);
  957. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车缓慢抬起离合器");
  958. // WindowEvent.find().WindowTxtViewOpenEvent(
  959. // "手肘轻靠座椅,以脚跟为支点,脚掌缓慢上抬离合器踏板,力度由重渐轻,同时感受车辆动力衔接,避免急抬引发顿挫。" + "\n"
  960. // );
  961. // WindowEvent.find().WindowVideoRemoveColorOpen(
  962. // QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
  963. // "top:auto;left:auto;bottom:5%;right:10%;",
  964. // null,
  965. // null
  966. // );
  967. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  968. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  969. }
  970. /**
  971. * 下车确定安全灯显示是否正常
  972. */
  973. work_new_7 = function() {
  974. let thisClass = this;
  975. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  976. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  977. let objIframe = objThreeWorldEventMain.objIframe;
  978. let objScene = objThreeWorldEventMain.objScene;
  979. let BABYLON = objThreeWorldEventMain.BABYLON;
  980. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  981. // objIframeEdit.modelPeopleLook(3);
  982. // objIframeEdit.roleShow(false);
  983. // 切换到人物的视角
  984. objThreeWorldEventMain.commonBirthplaceUpdate();
  985. objIframeEdit.modelPeopleLook(1);
  986. objIframeEdit.roleShow(true);
  987. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  988. QingXiCheAdnQvCarEventStep.find().meshVisibility("下车确定安全灯显示是否正常", true);
  989. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("下车观察各项灯光0");
  990. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  991. 5.970016295014377, 1.6406450201962937, -15.366078254483678, 2, 173, 68 * 2,
  992. "根据指示箭头", "行走到车尾"
  993. );
  994. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  995. 7.120775422607426, 2.6263039162667186, -20.970003788783384, 2, 173, 68 * 2,
  996. "点击【工作作业箭头灯】", "触发确认正常"
  997. );
  998. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  999. 8.87389671707001, 2.61892964208057, -20.970003789774182, 2, 173, 68 * 2,
  1000. "点击【工作作业箭头灯】", "触发确认正常"
  1001. );
  1002. WindowEvent.find().WindowTxtViewOpenEvent(
  1003. "下车并确认车辆双闪灯快速交替闪烁,工作箭头清晰明亮,各项灯光显示均正常无误。" + "\n"
  1004. );
  1005. WindowEvent.find().WindowVideoRemoveColorOpen(
  1006. QingXiCheAndQvComRes.find().resJson["QingXiChe_23"],
  1007. "top:auto;left:auto;bottom:5%;right:10%;",
  1008. null,
  1009. null
  1010. );
  1011. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1012. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1013. }
  1014. /**
  1015. * 在施工范围放置警示标识
  1016. */
  1017. work_new_8 = function() {
  1018. let thisClass = this;
  1019. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1020. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1021. let objIframe = objThreeWorldEventMain.objIframe;
  1022. let objScene = objThreeWorldEventMain.objScene;
  1023. let BABYLON = objThreeWorldEventMain.BABYLON;
  1024. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1025. // objIframeEdit.modelPeopleLook(3);
  1026. // objIframeEdit.roleShow(false);
  1027. objIframeEdit.modelPeopleLook(1);
  1028. objIframeEdit.roleShow(true);
  1029. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1030. QingXiCheAdnQvCarEventStep.find().meshVisibility("在施工范围放置警示标识", true);
  1031. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("在施工范围放置警示标识1");
  1032. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1033. 14.022634838184539, 0.9201802968480344, -12.014094493412726, 3, 173, 68 * 2,
  1034. "点击安全桩", "或者闪烁点触发"
  1035. );
  1036. WindowEvent.find().WindowTxtViewOpenEvent(
  1037. "携带反光锥、警示牌等安全设备,沿施工场地边缘,间隔适当距离摆放。确保警示标识醒目稳固,全方位提醒过往人员注意安全。" + "\n"
  1038. );
  1039. WindowEvent.find().WindowVideoRemoveColorOpen(
  1040. QingXiCheAndQvComRes.find().resJson["QingXiChe_16"],
  1041. "top:auto;left:auto;bottom:5%;right:10%;",
  1042. null,
  1043. null
  1044. );
  1045. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1046. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1047. }
  1048. /**
  1049. * 从水管固定座上拧下高压水管
  1050. */
  1051. work_new_9 = function() {
  1052. let thisClass = this;
  1053. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1054. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1055. let objIframe = objThreeWorldEventMain.objIframe;
  1056. let objScene = objThreeWorldEventMain.objScene;
  1057. let BABYLON = objThreeWorldEventMain.BABYLON;
  1058. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1059. // objIframeEdit.modelPeopleLook(3);
  1060. // objIframeEdit.roleShow(false);
  1061. // 切换到人物的视角
  1062. objThreeWorldEventMain.commonBirthplaceUpdate();
  1063. objIframeEdit.modelPeopleLook(1);
  1064. objIframeEdit.roleShow(true);
  1065. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1066. QingXiCheAdnQvCarEventStep.find().meshVisibility("从水管固定座上拧下高压水管", true);
  1067. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("从水管固定座上拧下高压水管1");
  1068. // WindowEvent.find().WindowVideoViewOpenEvent(
  1069. // QingXiCheAndQvCarEvent.find().videoJson["videw_liu_cheng_1"],
  1070. // null,
  1071. // function() {}
  1072. // );
  1073. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1074. 7.477428214938322, 0.912634256055934, -21.171619968554737, 3, 173, 68 * 2,
  1075. "请点击闪烁点", "或者【高压水管】触发"
  1076. );
  1077. WindowEvent.find().WindowTxtViewOpenEvent(
  1078. "到车后查看水管固定座高压水管的螺栓位置,双手握紧扳手,按逆时针方向缓慢拧松固定螺栓,顺势取下高压水管并妥善放置。" + "\n"
  1079. );
  1080. WindowEvent.find().WindowVideoRemoveColorOpen(
  1081. QingXiCheAndQvComRes.find().resJson["QingXiChe_03"],
  1082. "top:auto;left:auto;bottom:5%;right:10%;",
  1083. null,
  1084. null
  1085. );
  1086. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1087. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1088. }
  1089. /**
  1090. * 调整卷筒器到合适位置
  1091. */
  1092. work_new_10 = function() {
  1093. let thisClass = this;
  1094. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1095. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1096. let objIframe = objThreeWorldEventMain.objIframe;
  1097. let objScene = objThreeWorldEventMain.objScene;
  1098. let BABYLON = objThreeWorldEventMain.BABYLON;
  1099. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1100. // objIframeEdit.modelPeopleLook(3);
  1101. // objIframeEdit.roleShow(false);
  1102. // 切换到人物的视角
  1103. objThreeWorldEventMain.commonBirthplaceUpdate();
  1104. objIframeEdit.modelPeopleLook(1);
  1105. objIframeEdit.roleShow(true);
  1106. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1107. QingXiCheAdnQvCarEventStep.find().meshVisibility("调整卷筒器到合适位置", true);
  1108. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1109. 7.249874236024691, 1.5942286355482447, -21.734366309018057, 3, 173, 68 * 2,
  1110. "请点击闪烁点", "或者【CAN面板】触发"
  1111. );
  1112. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("调整卷筒器到合适位置1");
  1113. WindowEvent.find().WindowTxtViewOpenEvent(
  1114. "找到卷筒锁开关,轻轻按下开启,依照现场作业需求,缓慢转动卷筒调整至合适角度,确认无误后,再次按下开关将卷筒牢牢锁住。" + "\n"
  1115. );
  1116. WindowEvent.find().WindowVideoRemoveColorOpen(
  1117. QingXiCheAndQvComRes.find().resJson["QingXiChe_11"],
  1118. "top:auto;left:auto;bottom:5%;right:10%;",
  1119. null,
  1120. null
  1121. );
  1122. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1123. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1124. }
  1125. /**
  1126. * 取出高压水管并放入布管器内
  1127. */
  1128. work_new_11 = function() {
  1129. let thisClass = this;
  1130. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1131. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1132. let objIframe = objThreeWorldEventMain.objIframe;
  1133. let objScene = objThreeWorldEventMain.objScene;
  1134. let BABYLON = objThreeWorldEventMain.BABYLON;
  1135. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1136. // objIframeEdit.modelPeopleLook(3);
  1137. // objIframeEdit.roleShow(false);
  1138. // 切换到人物的视角
  1139. objThreeWorldEventMain.commonBirthplaceUpdate();
  1140. objIframeEdit.modelPeopleLook(1);
  1141. objIframeEdit.roleShow(true);
  1142. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1143. QingXiCheAdnQvCarEventStep.find().meshVisibility("取出高压水管并放入布管器内", true);
  1144. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("取出高压水管并放入布管器内1");
  1145. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1146. 8.239542583914726, 1.3676374312237822, -22.646487769648566, 3, 173, 68 * 2,
  1147. "请点击闪烁点", "或者【高压水管】触发"
  1148. );
  1149. WindowEvent.find().WindowTxtViewOpenEvent(
  1150. "缓慢取出高压水管,随后将水管一端小心送入布管器内,整个过程保持轻拿轻放,不要损坏设备。" + "\n"
  1151. );
  1152. WindowEvent.find().WindowVideoRemoveColorOpen(
  1153. QingXiCheAndQvComRes.find().resJson["QingXiChe_05"],
  1154. "top:auto;left:auto;bottom:5%;right:10%;",
  1155. null,
  1156. null
  1157. );
  1158. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1159. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1160. }
  1161. /**
  1162. * 套上高压水管护管器
  1163. */
  1164. work_new_12 = function() {
  1165. let thisClass = this;
  1166. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1167. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1168. let objIframe = objThreeWorldEventMain.objIframe;
  1169. let objScene = objThreeWorldEventMain.objScene;
  1170. let BABYLON = objThreeWorldEventMain.BABYLON;
  1171. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1172. // objIframeEdit.modelPeopleLook(3);
  1173. // objIframeEdit.roleShow(false);
  1174. // 切换到人物的视角
  1175. objThreeWorldEventMain.commonBirthplaceUpdate();
  1176. objIframeEdit.modelPeopleLook(1);
  1177. objIframeEdit.roleShow(true);
  1178. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1179. QingXiCheAdnQvCarEventStep.find().meshVisibility("套上高压水管护管器", true);
  1180. objIframeEdit.cameraVisualAngleGetListNameGpsTo("套上高压水管护管器1");
  1181. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1182. 6.881710548598377, 0.1976881313018013, -26.458932043972, 3, 173, 68 * 2,
  1183. "请点击", "[护管器]触发"
  1184. );
  1185. WindowEvent.find().WindowTxtViewOpenEvent(
  1186. "为延长高压水管使用寿命、有效减少磨损,需要套上高压水管护管器,先将护管器开口对准水管端口,再沿管壁缓慢滑动套入。" + "\n"
  1187. );
  1188. WindowEvent.find().WindowVideoRemoveColorOpen(
  1189. QingXiCheAndQvComRes.find().resJson["QingXiChe_17"],
  1190. "top:auto;left:auto;bottom:5%;right:10%;",
  1191. null,
  1192. null
  1193. );
  1194. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1195. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1196. }
  1197. /**
  1198. * 安装合适的高压喷头
  1199. */
  1200. work_new_13 = function() {
  1201. let thisClass = this;
  1202. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1203. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1204. let objIframe = objThreeWorldEventMain.objIframe;
  1205. let objScene = objThreeWorldEventMain.objScene;
  1206. let BABYLON = objThreeWorldEventMain.BABYLON;
  1207. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1208. // objIframeEdit.modelPeopleLook(3);
  1209. // objIframeEdit.roleShow(false);
  1210. // 切换到人物的视角
  1211. objThreeWorldEventMain.commonBirthplaceUpdate();
  1212. objIframeEdit.modelPeopleLook(1);
  1213. objIframeEdit.roleShow(true);
  1214. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1215. QingXiCheAdnQvCarEventStep.find().meshVisibility("安装合适的高压喷头", true);
  1216. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("安装合适的高压喷头1");
  1217. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1218. 6.801360999206141, 0.4749280346040874, -24.528338254972304, 3, 173, 68 * 2,
  1219. "请点击闪烁点", "或者【箱子】触发"
  1220. );
  1221. WindowEvent.find().WindowTxtViewOpenEvent(
  1222. "仔细评估现场施工的压力需求、喷射范围等工况,挑选适配规格的高压喷头,用扳手将其与高压水管牢固拧紧,确保连接紧密无渗漏。" + "\n"
  1223. );
  1224. WindowEvent.find().WindowVideoRemoveColorOpen(
  1225. QingXiCheAndQvComRes.find().resJson["QingXiChe_20"],
  1226. "top:auto;left:auto;bottom:5%;right:10%;",
  1227. null,
  1228. null
  1229. );
  1230. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1231. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1232. }
  1233. /**
  1234. * 将高压水管放入待施工的管道内
  1235. */
  1236. work_new_14 = function() {
  1237. let thisClass = this;
  1238. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1239. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1240. let objIframe = objThreeWorldEventMain.objIframe;
  1241. let objScene = objThreeWorldEventMain.objScene;
  1242. let BABYLON = objThreeWorldEventMain.BABYLON;
  1243. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1244. // objIframeEdit.modelPeopleLook(3);
  1245. // objIframeEdit.roleShow(false);
  1246. // 切换到人物的视角
  1247. objThreeWorldEventMain.commonBirthplaceUpdate();
  1248. objIframeEdit.modelPeopleLook(1);
  1249. objIframeEdit.roleShow(true);
  1250. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1251. QingXiCheAdnQvCarEventStep.find().meshVisibility("将高压水管放入待施工的管道内", true);
  1252. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1253. 11.003944734235429, 0.3000919607102186, -33.39394053281597, 3, 173, 68 * 2,
  1254. "请点击[水管][护管器]", "或者[井盖]触发"
  1255. );
  1256. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管放入待施工的管道内1");
  1257. WindowEvent.find().WindowTxtViewOpenEvent(
  1258. "双手握紧高压水管,缓慢、匀速地将其送入施工管道,同时注意观察送入长度,使水管前端深入管道内保持在0.5至1米的合适位置。" + "\n"
  1259. );
  1260. WindowEvent.find().WindowVideoRemoveColorOpen(
  1261. QingXiCheAndQvComRes.find().resJson["QingXiChe_18"],
  1262. "top:auto;left:auto;bottom:5%;right:10%;",
  1263. null,
  1264. null
  1265. );
  1266. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1267. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1268. }
  1269. /**
  1270. * 在触屏操作面板上将管长清零
  1271. */
  1272. work_new_15 = function() {
  1273. let thisClass = this;
  1274. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1275. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1276. let objIframe = objThreeWorldEventMain.objIframe;
  1277. let objScene = objThreeWorldEventMain.objScene;
  1278. let BABYLON = objThreeWorldEventMain.BABYLON;
  1279. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1280. // objIframeEdit.modelPeopleLook(3);
  1281. // objIframeEdit.roleShow(false);
  1282. // 切换到人物的视角
  1283. objThreeWorldEventMain.commonBirthplaceUpdate();
  1284. objIframeEdit.modelPeopleLook(1);
  1285. objIframeEdit.roleShow(true);
  1286. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1287. QingXiCheAdnQvCarEventStep.find().meshVisibility("在触屏操作面板上将管长清零", true);
  1288. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1289. 8.81792631352813, 1.715753851279489, -22.28300008372969, 3, 173, 68 * 2,
  1290. "请点击", "【操作面板】触发"
  1291. );
  1292. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("在触屏操作面板上将管长清零1");
  1293. WindowEvent.find().WindowTxtViewOpenEvent(
  1294. "走近触屏操作面板,点击功能菜单找到管长设置选项,在确认无运行指令干扰后,按下清零按键,使显示屏管长数值归零并完成初始化。" + "\n"
  1295. );
  1296. WindowEvent.find().WindowVideoRemoveColorOpen(
  1297. QingXiCheAndQvComRes.find().resJson["QingXiChe_06"],
  1298. "top:auto;left:auto;bottom:5%;right:10%;",
  1299. null,
  1300. null
  1301. );
  1302. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1303. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1304. }
  1305. /**
  1306. * 在安全的情况开启冲水开关
  1307. */
  1308. work_new_16 = function() {
  1309. let thisClass = this;
  1310. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1311. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1312. let objIframe = objThreeWorldEventMain.objIframe;
  1313. let objScene = objThreeWorldEventMain.objScene;
  1314. let BABYLON = objThreeWorldEventMain.BABYLON;
  1315. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1316. // objIframeEdit.modelPeopleLook(3);
  1317. // objIframeEdit.roleShow(false);
  1318. // 切换到人物的视角
  1319. objThreeWorldEventMain.commonBirthplaceUpdate();
  1320. objIframeEdit.modelPeopleLook(1);
  1321. objIframeEdit.roleShow(true);
  1322. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1323. QingXiCheAdnQvCarEventStep.find().meshVisibility("在安全的情况开启冲水开关", true);
  1324. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("在安全的情况开启冲水开关1");
  1325. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1326. 8.81792631352813, 1.715753851279489, -22.28300008372969, 3, 173, 68 * 2,
  1327. "请点击", "【操作面板】触发"
  1328. );
  1329. WindowEvent.find().WindowTxtViewOpenEvent(
  1330. "全面检查周边环境,确认无人员靠近、设备无异常后,在触屏操作面板上,精准按下冲水开关,同时密切观察设备运行状态。" + "\n"
  1331. );
  1332. WindowEvent.find().WindowVideoViewOpenEvent(
  1333. QingXiCheAndQvCarEvent.find().videoJson["videw_liu_cheng_2"],
  1334. null,
  1335. function() {}
  1336. );
  1337. WindowEvent.find().WindowVideoRemoveColorOpen(
  1338. QingXiCheAndQvComRes.find().resJson["QingXiChe_21"],
  1339. "top:auto;left:auto;bottom:5%;right:10%;",
  1340. null,
  1341. null
  1342. );
  1343. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1344. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1345. }
  1346. /**
  1347. * 根据现场工况调节冲水压力
  1348. */
  1349. work_new_17 = function() {
  1350. let thisClass = this;
  1351. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1352. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1353. let objIframe = objThreeWorldEventMain.objIframe;
  1354. let objScene = objThreeWorldEventMain.objScene;
  1355. let BABYLON = objThreeWorldEventMain.BABYLON;
  1356. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1357. objIframeEdit.modelPeopleLook(3);
  1358. objIframeEdit.roleShow(false);
  1359. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1360. QingXiCheAdnQvCarEventStep.find().meshVisibility("根据现场工况调节冲水压力", true);
  1361. objIframeEdit.cameraVisualAngleGetListNameGpsTo("根据现场工况调节冲水压力1");
  1362. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1363. 11.997691612968245, -1.980621078883213, -30.987599600330082, 3, 173, 68 * 2,
  1364. "请点击", "[管道]触发"
  1365. );
  1366. WindowEvent.find().WindowTxtViewOpenEvent(
  1367. "时刻留意现场施工情况,依据作业强度与进度,适时调节油门控制水压;同步灵活收放高压水管,保障施工高效、稳定推进。" + "\n"
  1368. );
  1369. WindowEvent.find().WindowVideoRemoveColorOpen(
  1370. QingXiCheAndQvComRes.find().resJson["QingXiChe_24"],
  1371. "top:auto;left:auto;bottom:5%;right:10%;",
  1372. null,
  1373. null
  1374. );
  1375. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1376. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1377. }
  1378. /**
  1379. * 疏通管道后减小油门到初始状态
  1380. */
  1381. work_new_18 = function() {
  1382. let thisClass = this;
  1383. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1384. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1385. let objIframe = objThreeWorldEventMain.objIframe;
  1386. let objScene = objThreeWorldEventMain.objScene;
  1387. let BABYLON = objThreeWorldEventMain.BABYLON;
  1388. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1389. // objIframeEdit.modelPeopleLook(3);
  1390. // objIframeEdit.roleShow(false);
  1391. // 切换到人物的视角
  1392. objThreeWorldEventMain.commonBirthplaceUpdate();
  1393. objIframeEdit.modelPeopleLook(1);
  1394. objIframeEdit.roleShow(true);
  1395. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1396. 8.81792631352813, 1.715753851279489, -22.28300008372969, 3, 173, 68 * 2,
  1397. "请点击", "【操作面板】触发"
  1398. );
  1399. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1400. QingXiCheAdnQvCarEventStep.find().meshVisibility("疏通管道后减小油门到初始状态", true);
  1401. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("疏通管道后减小油门到初始状态1");
  1402. WindowEvent.find().WindowTxtViewOpenEvent(
  1403. "确认管道疏通彻底、水流顺畅后,缓慢平稳地减小油门,密切注视仪表盘参数,直至油门恢复至作业前的初始设定状态。" + "\n"
  1404. );
  1405. WindowEvent.find().WindowVideoRemoveColorOpen(
  1406. QingXiCheAndQvComRes.find().resJson["QingXiChe_14"],
  1407. "top:auto;left:auto;bottom:5%;right:10%;",
  1408. null,
  1409. null
  1410. );
  1411. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1412. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1413. }
  1414. /**
  1415. * 带压收回高压水管
  1416. */
  1417. work_new_19 = function() {
  1418. let thisClass = this;
  1419. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1420. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1421. let objIframe = objThreeWorldEventMain.objIframe;
  1422. let objScene = objThreeWorldEventMain.objScene;
  1423. let BABYLON = objThreeWorldEventMain.BABYLON;
  1424. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1425. objIframeEdit.modelPeopleLook(3);
  1426. objIframeEdit.roleShow(false);
  1427. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1428. QingXiCheAdnQvCarEventStep.find().meshVisibility("带压收回高压水管", true);
  1429. objIframeEdit.cameraVisualAngleGetListNameGpsTo("带压收回高压水管1");
  1430. WindowEvent.find().WindowTxtViewOpenEvent(
  1431. "为防止喷头堵塞,在收回高压水管过程中保持冲水开关开启状态,以缓慢匀速的方式将水管回收到距管口2米处。" + "\n"
  1432. + "收回水管过程中采用带压回收的方式,主要为了借助高压水流将管道内污泥冲刷至沉井口。"
  1433. );
  1434. WindowEvent.find().WindowVideoRemoveColorOpen(
  1435. QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1436. "top:auto;left:auto;bottom:5%;right:10%;",
  1437. null,
  1438. null
  1439. );
  1440. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1441. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1442. }
  1443. /**
  1444. * 至触摸屏关闭冲水开关
  1445. */
  1446. work_new_20 = function() {
  1447. let thisClass = this;
  1448. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1449. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1450. let objIframe = objThreeWorldEventMain.objIframe;
  1451. let objScene = objThreeWorldEventMain.objScene;
  1452. let BABYLON = objThreeWorldEventMain.BABYLON;
  1453. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1454. objIframeEdit.modelPeopleLook(3);
  1455. objIframeEdit.roleShow(false);
  1456. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1457. QingXiCheAdnQvCarEventStep.find().meshVisibility("至触摸屏关闭冲水开关", true);
  1458. objIframeEdit.cameraVisualAngleGetListNameGpsTo("至触摸屏关闭冲水开关1");
  1459. WindowEvent.find().WindowTxtViewOpenEvent(
  1460. "完成管道疏通作业后,仔细确认现场无异常水流需求,走到触屏操作面板前,点击对应图标,缓慢关闭冲水开关,确保水流完全停止。" + "\n"
  1461. );
  1462. WindowEvent.find().WindowVideoRemoveColorOpen(
  1463. QingXiCheAndQvComRes.find().resJson["QingXiChe_12"],
  1464. "top:auto;left:auto;bottom:5%;right:10%;",
  1465. null,
  1466. null
  1467. );
  1468. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1469. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1470. }
  1471. /**
  1472. * 缓慢收回高压水管
  1473. */
  1474. work_new_21 = function() {
  1475. let thisClass = this;
  1476. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1477. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1478. let objIframe = objThreeWorldEventMain.objIframe;
  1479. let objScene = objThreeWorldEventMain.objScene;
  1480. let BABYLON = objThreeWorldEventMain.BABYLON;
  1481. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1482. // objIframeEdit.modelPeopleLook(3);
  1483. // objIframeEdit.roleShow(false);
  1484. // 切换到人物的视角
  1485. objThreeWorldEventMain.commonBirthplaceUpdate();
  1486. objIframeEdit.modelPeopleLook(1);
  1487. objIframeEdit.roleShow(true);
  1488. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1489. QingXiCheAdnQvCarEventStep.find().meshVisibility("缓慢收回高压水管", true);
  1490. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("缓慢收回高压水管1");
  1491. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1492. 11.0137148915037, -8.881784197001252e-16, -33.25106292792258, 3, 173, 68 * 2,
  1493. "请点击[井盖][护管套]", "或[高压水管]触发"
  1494. );
  1495. WindowEvent.find().WindowTxtViewOpenEvent(
  1496. "施工完毕后,从管道拉出水管,同步检查管身有无破损。" + "\n"
  1497. );
  1498. WindowEvent.find().WindowVideoRemoveColorOpen(
  1499. QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1500. "top:auto;left:auto;bottom:5%;right:10%;",
  1501. null,
  1502. null
  1503. );
  1504. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1505. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1506. }
  1507. /**
  1508. * 拆卸高压喷头放入喷头机箱内
  1509. */
  1510. work_new_22 = function() {
  1511. let thisClass = this;
  1512. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1513. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1514. let objIframe = objThreeWorldEventMain.objIframe;
  1515. let objScene = objThreeWorldEventMain.objScene;
  1516. let BABYLON = objThreeWorldEventMain.BABYLON;
  1517. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1518. // objIframeEdit.modelPeopleLook(3);
  1519. // objIframeEdit.roleShow(false);
  1520. // 切换到人物的视角
  1521. objThreeWorldEventMain.commonBirthplaceUpdate();
  1522. objIframeEdit.modelPeopleLook(1);
  1523. objIframeEdit.roleShow(true);
  1524. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1525. QingXiCheAdnQvCarEventStep.find().meshVisibility("拆卸高压喷头放入喷头机箱内", true);
  1526. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("拆卸高压喷头放入喷头机箱内1");
  1527. WindowEvent.find().WindowTxtViewOpenEvent(
  1528. "使用专用扳手,按照规范操作流程,小心拧松高压喷头与水管接口,取下喷头后仔细擦拭,确认无污渍残留,再轻放入喷头机箱内妥善归置。" + "\n"
  1529. );
  1530. WindowEvent.find().WindowVideoRemoveColorOpen(
  1531. QingXiCheAndQvComRes.find().resJson["QingXiChe_07"],
  1532. "top:auto;left:auto;bottom:5%;right:10%;",
  1533. null,
  1534. null
  1535. );
  1536. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1537. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1538. }
  1539. /**
  1540. * 收起高压水管将卷筒恢复到初始状态
  1541. */
  1542. work_new_23 = function() {
  1543. let thisClass = this;
  1544. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1545. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1546. let objIframe = objThreeWorldEventMain.objIframe;
  1547. let objScene = objThreeWorldEventMain.objScene;
  1548. let BABYLON = objThreeWorldEventMain.BABYLON;
  1549. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1550. // objIframeEdit.modelPeopleLook(3);
  1551. // objIframeEdit.roleShow(false);
  1552. // 切换到人物的视角
  1553. objThreeWorldEventMain.commonBirthplaceUpdate();
  1554. objIframeEdit.modelPeopleLook(1);
  1555. objIframeEdit.roleShow(true);
  1556. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1557. QingXiCheAdnQvCarEventStep.find().meshVisibility("收起高压水管将卷筒恢复到初始状态", true);
  1558. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("收起高压水管将卷筒恢复到初始状态1");
  1559. WindowEvent.find().WindowTxtViewOpenEvent(
  1560. "按下卷筒解锁按钮,双手扶住高压水管引导其整齐缠绕,匀速转动卷筒手柄,密切观察缠绕状态,直至将水管完全收回并固定妥当后关闭卷筒锁。" + "\n"
  1561. );
  1562. WindowEvent.find().WindowVideoRemoveColorOpen(
  1563. QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1564. "top:auto;left:auto;bottom:5%;right:10%;",
  1565. null,
  1566. null
  1567. );
  1568. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1569. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1570. }
  1571. /**
  1572. * 将高压水管拧到水管固定座
  1573. */
  1574. work_new_24 = function() {
  1575. let thisClass = this;
  1576. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1577. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1578. let objIframe = objThreeWorldEventMain.objIframe;
  1579. let objScene = objThreeWorldEventMain.objScene;
  1580. let BABYLON = objThreeWorldEventMain.BABYLON;
  1581. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1582. // objIframeEdit.modelPeopleLook(3);
  1583. // objIframeEdit.roleShow(false);
  1584. // 切换到人物的视角
  1585. objThreeWorldEventMain.commonBirthplaceUpdate();
  1586. objIframeEdit.modelPeopleLook(1);
  1587. objIframeEdit.roleShow(true);
  1588. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1589. QingXiCheAdnQvCarEventStep.find().meshVisibility("将高压水管拧到水管固定座", true);
  1590. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1591. WindowEvent.find().WindowTxtViewOpenEvent(
  1592. "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1593. );
  1594. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1595. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1596. // "top:auto;left:auto;bottom:5%;right:10%;",
  1597. // null,
  1598. // null
  1599. // );
  1600. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1601. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1602. }
  1603. /**
  1604. * 小卷筒使用方法_开启卷帘门
  1605. */
  1606. work_new_24_1 = function() {
  1607. let thisClass = this;
  1608. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1609. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1610. let objIframe = objThreeWorldEventMain.objIframe;
  1611. let objScene = objThreeWorldEventMain.objScene;
  1612. let BABYLON = objThreeWorldEventMain.BABYLON;
  1613. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1614. // objIframeEdit.modelPeopleLook(3);
  1615. // objIframeEdit.roleShow(false);
  1616. // 切换到人物的视角
  1617. objThreeWorldEventMain.commonBirthplaceUpdate();
  1618. objIframeEdit.modelPeopleLook(1);
  1619. objIframeEdit.roleShow(true);
  1620. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1621. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_开启卷帘门", true);
  1622. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1623. // WindowEvent.find().WindowTxtViewOpenEvent(
  1624. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1625. // );
  1626. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1627. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1628. // "top:auto;left:auto;bottom:5%;right:10%;",
  1629. // null,
  1630. // null
  1631. // );
  1632. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1633. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1634. }
  1635. /**
  1636. * 小卷筒使用方法_开启车身侧门
  1637. */
  1638. work_new_24_2 = function() {
  1639. let thisClass = this;
  1640. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1641. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1642. let objIframe = objThreeWorldEventMain.objIframe;
  1643. let objScene = objThreeWorldEventMain.objScene;
  1644. let BABYLON = objThreeWorldEventMain.BABYLON;
  1645. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1646. // objIframeEdit.modelPeopleLook(3);
  1647. // objIframeEdit.roleShow(false);
  1648. // 切换到人物的视角
  1649. objThreeWorldEventMain.commonBirthplaceUpdate();
  1650. objIframeEdit.modelPeopleLook(1);
  1651. objIframeEdit.roleShow(true);
  1652. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1653. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_开启车身侧门", true);
  1654. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1655. // WindowEvent.find().WindowTxtViewOpenEvent(
  1656. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1657. // );
  1658. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1659. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1660. // "top:auto;left:auto;bottom:5%;right:10%;",
  1661. // null,
  1662. // null
  1663. // );
  1664. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1665. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1666. }
  1667. /**
  1668. * 小卷筒使用方法_拉出水管到需要的长度固定
  1669. */
  1670. work_new_24_3 = function() {
  1671. let thisClass = this;
  1672. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1673. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1674. let objIframe = objThreeWorldEventMain.objIframe;
  1675. let objScene = objThreeWorldEventMain.objScene;
  1676. let BABYLON = objThreeWorldEventMain.BABYLON;
  1677. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1678. // objIframeEdit.modelPeopleLook(3);
  1679. // objIframeEdit.roleShow(false);
  1680. // 切换到人物的视角
  1681. objThreeWorldEventMain.commonBirthplaceUpdate();
  1682. objIframeEdit.modelPeopleLook(1);
  1683. objIframeEdit.roleShow(true);
  1684. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1685. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_拉出水管到需要的长度固定", true);
  1686. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1687. // WindowEvent.find().WindowTxtViewOpenEvent(
  1688. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1689. // );
  1690. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1691. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1692. // "top:auto;left:auto;bottom:5%;right:10%;",
  1693. // null,
  1694. // null
  1695. // );
  1696. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1697. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1698. }
  1699. /**
  1700. * 小卷筒使用方法_安装手持水枪
  1701. */
  1702. work_new_24_4 = function() {
  1703. let thisClass = this;
  1704. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1705. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1706. let objIframe = objThreeWorldEventMain.objIframe;
  1707. let objScene = objThreeWorldEventMain.objScene;
  1708. let BABYLON = objThreeWorldEventMain.BABYLON;
  1709. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1710. // objIframeEdit.modelPeopleLook(3);
  1711. // objIframeEdit.roleShow(false);
  1712. // 切换到人物的视角
  1713. objThreeWorldEventMain.commonBirthplaceUpdate();
  1714. objIframeEdit.modelPeopleLook(1);
  1715. objIframeEdit.roleShow(true);
  1716. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1717. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_安装手持水枪", true);
  1718. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1719. // WindowEvent.find().WindowTxtViewOpenEvent(
  1720. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1721. // );
  1722. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1723. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1724. // "top:auto;left:auto;bottom:5%;right:10%;",
  1725. // null,
  1726. // null
  1727. // );
  1728. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1729. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1730. }
  1731. /**
  1732. * 小卷筒使用方法_切换手动三通阀
  1733. */
  1734. work_new_24_5 = function() {
  1735. let thisClass = this;
  1736. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1737. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1738. let objIframe = objThreeWorldEventMain.objIframe;
  1739. let objScene = objThreeWorldEventMain.objScene;
  1740. let BABYLON = objThreeWorldEventMain.BABYLON;
  1741. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1742. // objIframeEdit.modelPeopleLook(3);
  1743. // objIframeEdit.roleShow(false);
  1744. // 切换到人物的视角
  1745. objThreeWorldEventMain.commonBirthplaceUpdate();
  1746. objIframeEdit.modelPeopleLook(1);
  1747. objIframeEdit.roleShow(true);
  1748. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1749. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_切换手动三通阀", true);
  1750. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1751. // WindowEvent.find().WindowTxtViewOpenEvent(
  1752. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1753. // );
  1754. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1755. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1756. // "top:auto;left:auto;bottom:5%;right:10%;",
  1757. // null,
  1758. // null
  1759. // );
  1760. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1761. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1762. }
  1763. /**
  1764. * 小卷筒使用方法_扣动手持水枪的开关即可出水
  1765. */
  1766. work_new_24_6 = function() {
  1767. let thisClass = this;
  1768. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1769. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1770. let objIframe = objThreeWorldEventMain.objIframe;
  1771. let objScene = objThreeWorldEventMain.objScene;
  1772. let BABYLON = objThreeWorldEventMain.BABYLON;
  1773. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1774. // objIframeEdit.modelPeopleLook(3);
  1775. // objIframeEdit.roleShow(false);
  1776. // 切换到人物的视角
  1777. objThreeWorldEventMain.commonBirthplaceUpdate();
  1778. objIframeEdit.modelPeopleLook(1);
  1779. objIframeEdit.roleShow(true);
  1780. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1781. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_扣动手持水枪的开关即可出水", true);
  1782. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1783. // WindowEvent.find().WindowTxtViewOpenEvent(
  1784. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1785. // );
  1786. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1787. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1788. // "top:auto;left:auto;bottom:5%;right:10%;",
  1789. // null,
  1790. // null
  1791. // );
  1792. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1793. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1794. }
  1795. /**
  1796. * 小卷筒使用方法_在使用完毕后切换手动三通阀
  1797. */
  1798. work_new_24_7 = function() {
  1799. let thisClass = this;
  1800. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1801. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1802. let objIframe = objThreeWorldEventMain.objIframe;
  1803. let objScene = objThreeWorldEventMain.objScene;
  1804. let BABYLON = objThreeWorldEventMain.BABYLON;
  1805. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1806. // objIframeEdit.modelPeopleLook(3);
  1807. // objIframeEdit.roleShow(false);
  1808. // 切换到人物的视角
  1809. objThreeWorldEventMain.commonBirthplaceUpdate();
  1810. objIframeEdit.modelPeopleLook(1);
  1811. objIframeEdit.roleShow(true);
  1812. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1813. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_在使用完毕后切换手动三通阀", true);
  1814. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1815. // WindowEvent.find().WindowTxtViewOpenEvent(
  1816. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1817. // );
  1818. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1819. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1820. // "top:auto;left:auto;bottom:5%;right:10%;",
  1821. // null,
  1822. // null
  1823. // );
  1824. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1825. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1826. }
  1827. /**
  1828. * 小卷筒使用方法_拆卸掉手持水枪并收回水管
  1829. */
  1830. work_new_24_8 = function() {
  1831. let thisClass = this;
  1832. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1833. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1834. let objIframe = objThreeWorldEventMain.objIframe;
  1835. let objScene = objThreeWorldEventMain.objScene;
  1836. let BABYLON = objThreeWorldEventMain.BABYLON;
  1837. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1838. // objIframeEdit.modelPeopleLook(3);
  1839. // objIframeEdit.roleShow(false);
  1840. // 切换到人物的视角
  1841. objThreeWorldEventMain.commonBirthplaceUpdate();
  1842. objIframeEdit.modelPeopleLook(1);
  1843. objIframeEdit.roleShow(true);
  1844. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1845. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_拆卸掉手持水枪并收回水管", true);
  1846. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1847. // WindowEvent.find().WindowTxtViewOpenEvent(
  1848. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1849. // );
  1850. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1851. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1852. // "top:auto;left:auto;bottom:5%;right:10%;",
  1853. // null,
  1854. // null
  1855. // );
  1856. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1857. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1858. }
  1859. /**
  1860. * 回到驾驶室
  1861. */
  1862. work_new_24_9 = function() {
  1863. let thisClass = this;
  1864. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1865. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1866. let objIframe = objThreeWorldEventMain.objIframe;
  1867. let objScene = objThreeWorldEventMain.objScene;
  1868. let BABYLON = objThreeWorldEventMain.BABYLON;
  1869. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1870. // objIframeEdit.modelPeopleLook(3);
  1871. // objIframeEdit.roleShow(false);
  1872. // 切换到人物的视角
  1873. objThreeWorldEventMain.commonBirthplaceUpdate();
  1874. objIframeEdit.modelPeopleLook(1);
  1875. objIframeEdit.roleShow(true);
  1876. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1877. QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室", true);
  1878. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1879. WindowEvent.find().WindowTxtViewOpenEvent(
  1880. "完成设备收尾工作后,稳步返回驾驶室,坐定并调整坐姿。" + "\n"
  1881. );
  1882. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1883. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1884. // "top:auto;left:auto;bottom:5%;right:10%;",
  1885. // null,
  1886. // null
  1887. // );
  1888. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1889. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1890. }
  1891. /**
  1892. * 回到驾驶室踩下车辆离合器5秒
  1893. */
  1894. work_new_25 = function() {
  1895. let thisClass = this;
  1896. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1897. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1898. let objIframe = objThreeWorldEventMain.objIframe;
  1899. let objScene = objThreeWorldEventMain.objScene;
  1900. let BABYLON = objThreeWorldEventMain.BABYLON;
  1901. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1902. objIframeEdit.modelPeopleLook(3);
  1903. objIframeEdit.roleShow(false);
  1904. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1905. QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室踩下车辆离合器5秒", true);
  1906. objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车开启双闪");
  1907. WindowEvent.find().WindowTxtViewOpenEvent(
  1908. "匀速下压车辆离合器并持续保持5秒钟。" + "\n"
  1909. );
  1910. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1911. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1912. // "top:auto;left:auto;bottom:5%;right:10%;",
  1913. // null,
  1914. // null
  1915. // );
  1916. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1917. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1918. }
  1919. /**
  1920. * 关闭取力器开关
  1921. */
  1922. work_new_26 = function() {
  1923. let thisClass = this;
  1924. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1925. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1926. let objIframe = objThreeWorldEventMain.objIframe;
  1927. let objScene = objThreeWorldEventMain.objScene;
  1928. let BABYLON = objThreeWorldEventMain.BABYLON;
  1929. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1930. objIframeEdit.modelPeopleLook(3);
  1931. objIframeEdit.roleShow(false);
  1932. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1933. QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭取力器开关", true);
  1934. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("观察仪表盘指示灯");
  1935. WindowEvent.find().WindowTxtViewOpenEvent(
  1936. "关闭取力器开关" + "\n"
  1937. );
  1938. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1939. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1940. // "top:auto;left:auto;bottom:5%;right:10%;",
  1941. // null,
  1942. // null
  1943. // );
  1944. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1945. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1946. }
  1947. /**
  1948. * 关闭车辆双闪和工作双闪箭头灯
  1949. */
  1950. work_new_27 = function() {
  1951. let thisClass = this;
  1952. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1953. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1954. let objIframe = objThreeWorldEventMain.objIframe;
  1955. let objScene = objThreeWorldEventMain.objScene;
  1956. let BABYLON = objThreeWorldEventMain.BABYLON;
  1957. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1958. objIframeEdit.modelPeopleLook(3);
  1959. objIframeEdit.roleShow(false);
  1960. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1961. QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭车辆双闪和工作双闪箭头灯", true);
  1962. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("开启双闪");
  1963. WindowEvent.find().WindowTxtViewOpenEvent(
  1964. "关闭车辆双闪和工作双闪箭头灯" + "\n"
  1965. );
  1966. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1967. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1968. // "top:auto;left:auto;bottom:5%;right:10%;",
  1969. // null,
  1970. // null
  1971. // );
  1972. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1973. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1974. }
  1975. /**
  1976. * 切换E/P开关至E档
  1977. */
  1978. work_new_27_1 = function() {
  1979. let thisClass = this;
  1980. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1981. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1982. let objIframe = objThreeWorldEventMain.objIframe;
  1983. let objScene = objThreeWorldEventMain.objScene;
  1984. let BABYLON = objThreeWorldEventMain.BABYLON;
  1985. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1986. objIframeEdit.modelPeopleLook(3);
  1987. objIframeEdit.roleShow(false);
  1988. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1989. QingXiCheAdnQvCarEventStep.find().meshVisibility("确认手刹已拉起档位是P档然后发动车辆", true);
  1990. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手刹和空挡");
  1991. WindowEvent.find().WindowTxtViewOpenEvent(
  1992. "观察驾驶室挡位状态,确认手刹处于拉起状态,切换E/P开关至E档。"
  1993. );
  1994. WindowEvent.find().WindowVideoRemoveColorOpen(
  1995. QingXiCheAndQvComRes.find().resJson["QingXiChe_04"],
  1996. "top:auto;left:auto;bottom:5%;right:10%;",
  1997. null,
  1998. null
  1999. );
  2000. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2001. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2002. }
  2003. /**
  2004. * 车辆正常熄火
  2005. */
  2006. work_new_28 = function() {
  2007. let thisClass = this;
  2008. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2009. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2010. let objIframe = objThreeWorldEventMain.objIframe;
  2011. let objScene = objThreeWorldEventMain.objScene;
  2012. let BABYLON = objThreeWorldEventMain.BABYLON;
  2013. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2014. objIframeEdit.modelPeopleLook(3);
  2015. objIframeEdit.roleShow(false);
  2016. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2017. QingXiCheAdnQvCarEventStep.find().meshVisibility("车辆正常熄火", true);
  2018. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("熄火_1");
  2019. WindowEvent.find().WindowTxtViewOpenEvent(
  2020. "车辆正常熄火" + "\n"
  2021. );
  2022. // WindowEvent.find().WindowVideoRemoveColorOpen(
  2023. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  2024. // "top:auto;left:auto;bottom:5%;right:10%;",
  2025. // null,
  2026. // null
  2027. // );
  2028. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2029. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2030. }
  2031. /**
  2032. * 清洗车已完成所有任务
  2033. */
  2034. work_new_29 = function() {
  2035. let thisClass = this;
  2036. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2037. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2038. let objIframe = objThreeWorldEventMain.objIframe;
  2039. let objScene = objThreeWorldEventMain.objScene;
  2040. let BABYLON = objThreeWorldEventMain.BABYLON;
  2041. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2042. objIframeEdit.modelPeopleLook(3);
  2043. objIframeEdit.roleShow(false);
  2044. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2045. QingXiCheAdnQvCarEventStep.find().meshVisibility("清洗车已完成所有任务", true);
  2046. objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车流程完成");
  2047. // WindowEvent.find().WindowTxtViewOpenEvent(
  2048. // "车辆正常熄火" + "\n"
  2049. // );
  2050. // WindowEvent.find().WindowVideoRemoveColorOpen(
  2051. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  2052. // "top:auto;left:auto;bottom:5%;right:10%;",
  2053. // null,
  2054. // null
  2055. // );
  2056. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2057. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2058. }
  2059. /**
  2060. * 数字修复虚拟仿真-将阀门关闭停止水流
  2061. */
  2062. shuZiXiuFuWork_0 = function() {
  2063. let thisClass = this;
  2064. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2065. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2066. let objIframe = objThreeWorldEventMain.objIframe;
  2067. let objScene = objThreeWorldEventMain.objScene;
  2068. let BABYLON = objThreeWorldEventMain.BABYLON;
  2069. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2070. objIframeEdit.modelPeopleLook(3);
  2071. objIframeEdit.roleShow(false);
  2072. WindowEvent.find().WindowVideoRemoveColorExit();
  2073. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2074. // 重置所有动画原始位置
  2075. QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('stopAll');
  2076. // 开启水流
  2077. QingXiCheAdnQvCarEventStep.find().waterGuanEvent(true);
  2078. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2079. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将阀门关闭停止水流");
  2080. setTimeout(function() {
  2081. // 将地面挪到合适的位置
  2082. QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('数字修复虚拟仿真-将橡胶垫片放置到正确的位置');
  2083. }, 300);
  2084. objIframeEdit.cameraVisualAngleGetListNameGpsTo("关闭阀门");
  2085. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2086. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2087. }
  2088. /**
  2089. * 数字修复虚拟仿真-将橡胶垫片放置到正确的位置
  2090. */
  2091. shuZiXiuFuWork_1 = function() {
  2092. let thisClass = this;
  2093. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2094. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2095. let objIframe = objThreeWorldEventMain.objIframe;
  2096. let objScene = objThreeWorldEventMain.objScene;
  2097. let BABYLON = objThreeWorldEventMain.BABYLON;
  2098. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2099. objIframeEdit.modelPeopleLook(3);
  2100. objIframeEdit.roleShow(false);
  2101. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2102. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2103. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将橡胶垫片放置到正确的位置");
  2104. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将橡胶垫片放置到正确的位置_准备安装");
  2105. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2106. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2107. }
  2108. /**
  2109. * 数字修复虚拟仿真-将抱箍放置到正确的位置
  2110. */
  2111. shuZiXiuFuWork_2 = function() {
  2112. let thisClass = this;
  2113. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2114. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2115. let objIframe = objThreeWorldEventMain.objIframe;
  2116. let objScene = objThreeWorldEventMain.objScene;
  2117. let BABYLON = objThreeWorldEventMain.BABYLON;
  2118. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2119. objIframeEdit.modelPeopleLook(3);
  2120. objIframeEdit.roleShow(false);
  2121. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2122. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2123. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将抱箍放置到正确的位置");
  2124. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将抱箍放置到正确的位置_准备安装");
  2125. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2126. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2127. }
  2128. /**
  2129. * 数字修复虚拟仿真-将插销安装到正确的位置
  2130. */
  2131. shuZiXiuFuWork_3 = function() {
  2132. let thisClass = this;
  2133. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2134. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2135. let objIframe = objThreeWorldEventMain.objIframe;
  2136. let objScene = objThreeWorldEventMain.objScene;
  2137. let BABYLON = objThreeWorldEventMain.BABYLON;
  2138. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2139. objIframeEdit.modelPeopleLook(3);
  2140. objIframeEdit.roleShow(false);
  2141. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2142. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2143. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将插销安装到正确的位置");
  2144. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将插销安装到正确的位置_准备安装");
  2145. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2146. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2147. }
  2148. /**
  2149. * 数字修复虚拟仿真-将螺丝安装到正确的位置
  2150. */
  2151. shuZiXiuFuWork_4 = function() {
  2152. let thisClass = this;
  2153. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2154. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2155. let objIframe = objThreeWorldEventMain.objIframe;
  2156. let objScene = objThreeWorldEventMain.objScene;
  2157. let BABYLON = objThreeWorldEventMain.BABYLON;
  2158. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2159. objIframeEdit.modelPeopleLook(3);
  2160. objIframeEdit.roleShow(false);
  2161. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2162. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2163. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将螺丝安装到正确的位置");
  2164. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将螺丝安装到正确的位置_准备安装");
  2165. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2166. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2167. }
  2168. /**
  2169. * 数字修复虚拟仿真-用扳手将螺丝旋紧螺丝
  2170. */
  2171. shuZiXiuFuWork_5 = function() {
  2172. let thisClass = this;
  2173. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2174. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2175. let objIframe = objThreeWorldEventMain.objIframe;
  2176. let objScene = objThreeWorldEventMain.objScene;
  2177. let BABYLON = objThreeWorldEventMain.BABYLON;
  2178. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2179. objIframeEdit.modelPeopleLook(3);
  2180. objIframeEdit.roleShow(false);
  2181. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2182. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2183. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-用扳手将螺丝旋紧螺丝");
  2184. objIframeEdit.cameraVisualAngleGetListNameGpsTo("用扳手将螺丝旋紧螺丝_准备安装");
  2185. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2186. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2187. }
  2188. /**
  2189. * 数字修复虚拟仿真-已完成所有任务
  2190. */
  2191. shuZiXiuFuWork_6 = function() {
  2192. let thisClass = this;
  2193. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2194. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2195. let objIframe = objThreeWorldEventMain.objIframe;
  2196. let objScene = objThreeWorldEventMain.objScene;
  2197. let BABYLON = objThreeWorldEventMain.BABYLON;
  2198. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2199. objIframeEdit.modelPeopleLook(3);
  2200. objIframeEdit.roleShow(false);
  2201. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2202. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2203. objIframeEdit.cameraVisualAngleGetListNameGpsTo("数字修复虚拟仿真-已完成所有任务");
  2204. setTimeout(function() {
  2205. // 启动水流
  2206. QingXiCheAdnQvCarEventStep.find().waterGuanEvent(true, true);
  2207. }, 1500);
  2208. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2209. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2210. }
  2211. }