QingXiCheAndQvCarEvent.js 108 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052
  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, 0.8228753794195462, -15.366078254483678, 2, 173, 68 * 2,
  992. // "根据指示箭头", "行走到车尾"
  993. // );
  994. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  995. 5.976018890133483, 0.3105326669557069, -15.194477515112219, 2, 173, 68 * 2,
  996. "根据指示箭头", "行走到车尾"
  997. );
  998. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  999. 7.120775422607426, 2.6263039162667186, -20.970003788783384, 2, 173, 68 * 2,
  1000. "点击【工作作业箭头灯】", "触发确认正常"
  1001. );
  1002. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1003. 8.87389671707001, 2.61892964208057, -20.970003789774182, 2, 173, 68 * 2,
  1004. "点击【工作作业箭头灯】", "触发确认正常"
  1005. );
  1006. WindowEvent.find().WindowTxtViewOpenEvent(
  1007. "下车并确认车辆双闪灯快速交替闪烁,工作箭头清晰明亮,各项灯光显示均正常无误。" + "\n"
  1008. );
  1009. WindowEvent.find().WindowVideoRemoveColorOpen(
  1010. QingXiCheAndQvComRes.find().resJson["QingXiChe_23"],
  1011. "top:auto;left:auto;bottom:5%;right:10%;",
  1012. null,
  1013. null
  1014. );
  1015. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1016. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1017. }
  1018. /**
  1019. * 在施工范围放置警示标识
  1020. */
  1021. work_new_8 = function() {
  1022. let thisClass = this;
  1023. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1024. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1025. let objIframe = objThreeWorldEventMain.objIframe;
  1026. let objScene = objThreeWorldEventMain.objScene;
  1027. let BABYLON = objThreeWorldEventMain.BABYLON;
  1028. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1029. // objIframeEdit.modelPeopleLook(3);
  1030. // objIframeEdit.roleShow(false);
  1031. objIframeEdit.modelPeopleLook(1);
  1032. objIframeEdit.roleShow(true);
  1033. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1034. QingXiCheAdnQvCarEventStep.find().meshVisibility("在施工范围放置警示标识", true);
  1035. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("在施工范围放置警示标识1");
  1036. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1037. 14.022634838184539, 0.9201802968480344, -12.014094493412726, 3, 173, 68 * 2,
  1038. "点击安全桩", "或者闪烁点触发"
  1039. );
  1040. WindowEvent.find().WindowTxtViewOpenEvent(
  1041. "携带反光锥、警示牌等安全设备,沿施工场地边缘,间隔适当距离摆放。确保警示标识醒目稳固,全方位提醒过往人员注意安全。" + "\n"
  1042. );
  1043. WindowEvent.find().WindowVideoRemoveColorOpen(
  1044. QingXiCheAndQvComRes.find().resJson["QingXiChe_16"],
  1045. "top:auto;left:auto;bottom:5%;right:10%;",
  1046. null,
  1047. null
  1048. );
  1049. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1050. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1051. }
  1052. /**
  1053. * 从水管固定座上拧下高压水管
  1054. */
  1055. work_new_9 = function() {
  1056. let thisClass = this;
  1057. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1058. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1059. let objIframe = objThreeWorldEventMain.objIframe;
  1060. let objScene = objThreeWorldEventMain.objScene;
  1061. let BABYLON = objThreeWorldEventMain.BABYLON;
  1062. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1063. // objIframeEdit.modelPeopleLook(3);
  1064. // objIframeEdit.roleShow(false);
  1065. // 切换到人物的视角
  1066. objThreeWorldEventMain.commonBirthplaceUpdate();
  1067. objIframeEdit.modelPeopleLook(1);
  1068. objIframeEdit.roleShow(true);
  1069. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1070. QingXiCheAdnQvCarEventStep.find().meshVisibility("从水管固定座上拧下高压水管", true);
  1071. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("从水管固定座上拧下高压水管1");
  1072. // WindowEvent.find().WindowVideoViewOpenEvent(
  1073. // QingXiCheAndQvCarEvent.find().videoJson["videw_liu_cheng_1"],
  1074. // null,
  1075. // function() {}
  1076. // );
  1077. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1078. 7.477428214938322, 0.912634256055934, -21.171619968554737, 3, 173, 68 * 2,
  1079. "请点击闪烁点", "或者【高压水管】触发"
  1080. );
  1081. WindowEvent.find().WindowTxtViewOpenEvent(
  1082. "到车后查看水管固定座高压水管的螺栓位置,双手握紧扳手,按逆时针方向缓慢拧松固定螺栓,顺势取下高压水管并妥善放置。" + "\n"
  1083. );
  1084. WindowEvent.find().WindowVideoRemoveColorOpen(
  1085. QingXiCheAndQvComRes.find().resJson["QingXiChe_03"],
  1086. "top:auto;left:auto;bottom:5%;right:10%;",
  1087. null,
  1088. null
  1089. );
  1090. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1091. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1092. }
  1093. /**
  1094. * 调整卷筒器到合适位置
  1095. */
  1096. work_new_10 = function() {
  1097. let thisClass = this;
  1098. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1099. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1100. let objIframe = objThreeWorldEventMain.objIframe;
  1101. let objScene = objThreeWorldEventMain.objScene;
  1102. let BABYLON = objThreeWorldEventMain.BABYLON;
  1103. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1104. // objIframeEdit.modelPeopleLook(3);
  1105. // objIframeEdit.roleShow(false);
  1106. // 切换到人物的视角
  1107. objThreeWorldEventMain.commonBirthplaceUpdate();
  1108. objIframeEdit.modelPeopleLook(1);
  1109. objIframeEdit.roleShow(true);
  1110. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1111. QingXiCheAdnQvCarEventStep.find().meshVisibility("调整卷筒器到合适位置", true);
  1112. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1113. 7.249874236024691, 1.5942286355482447, -21.734366309018057, 3, 173, 68 * 2,
  1114. "请点击闪烁点", "或者【CAN面板】触发"
  1115. );
  1116. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("调整卷筒器到合适位置1");
  1117. WindowEvent.find().WindowTxtViewOpenEvent(
  1118. "找到卷筒锁开关,轻轻按下开启,依照现场作业需求,缓慢转动卷筒调整至合适角度,确认无误后,再次按下开关将卷筒牢牢锁住。" + "\n"
  1119. );
  1120. WindowEvent.find().WindowVideoRemoveColorOpen(
  1121. QingXiCheAndQvComRes.find().resJson["QingXiChe_11"],
  1122. "top:auto;left:auto;bottom:5%;right:10%;",
  1123. null,
  1124. null
  1125. );
  1126. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1127. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1128. }
  1129. /**
  1130. * 取出高压水管并放入布管器内
  1131. */
  1132. work_new_11 = function() {
  1133. let thisClass = this;
  1134. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1135. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1136. let objIframe = objThreeWorldEventMain.objIframe;
  1137. let objScene = objThreeWorldEventMain.objScene;
  1138. let BABYLON = objThreeWorldEventMain.BABYLON;
  1139. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1140. // objIframeEdit.modelPeopleLook(3);
  1141. // objIframeEdit.roleShow(false);
  1142. // 切换到人物的视角
  1143. objThreeWorldEventMain.commonBirthplaceUpdate();
  1144. objIframeEdit.modelPeopleLook(1);
  1145. objIframeEdit.roleShow(true);
  1146. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1147. QingXiCheAdnQvCarEventStep.find().meshVisibility("取出高压水管并放入布管器内", true);
  1148. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("取出高压水管并放入布管器内1");
  1149. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1150. 8.239542583914726, 1.3676374312237822, -22.646487769648566, 3, 173, 68 * 2,
  1151. "请点击闪烁点", "或者【高压水管】触发"
  1152. );
  1153. WindowEvent.find().WindowTxtViewOpenEvent(
  1154. "缓慢取出高压水管,随后将水管一端小心送入布管器内,整个过程保持轻拿轻放,不要损坏设备。" + "\n"
  1155. );
  1156. WindowEvent.find().WindowVideoRemoveColorOpen(
  1157. QingXiCheAndQvComRes.find().resJson["QingXiChe_05"],
  1158. "top:auto;left:auto;bottom:5%;right:10%;",
  1159. null,
  1160. null
  1161. );
  1162. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1163. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1164. }
  1165. /**
  1166. * 套上高压水管护管器
  1167. */
  1168. work_new_12 = function() {
  1169. let thisClass = this;
  1170. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1171. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1172. let objIframe = objThreeWorldEventMain.objIframe;
  1173. let objScene = objThreeWorldEventMain.objScene;
  1174. let BABYLON = objThreeWorldEventMain.BABYLON;
  1175. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1176. // objIframeEdit.modelPeopleLook(3);
  1177. // objIframeEdit.roleShow(false);
  1178. // 切换到人物的视角
  1179. objThreeWorldEventMain.commonBirthplaceUpdate();
  1180. objIframeEdit.modelPeopleLook(1);
  1181. objIframeEdit.roleShow(true);
  1182. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1183. QingXiCheAdnQvCarEventStep.find().meshVisibility("套上高压水管护管器", true);
  1184. objIframeEdit.cameraVisualAngleGetListNameGpsTo("套上高压水管护管器1");
  1185. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1186. 6.881710548598377, 0.1976881313018013, -26.458932043972, 3, 173, 68 * 2,
  1187. "请点击", "[护管器]触发"
  1188. );
  1189. WindowEvent.find().WindowTxtViewOpenEvent(
  1190. "为延长高压水管使用寿命、有效减少磨损,需要套上高压水管护管器,先将护管器开口对准水管端口,再沿管壁缓慢滑动套入。" + "\n"
  1191. );
  1192. WindowEvent.find().WindowVideoRemoveColorOpen(
  1193. QingXiCheAndQvComRes.find().resJson["QingXiChe_17"],
  1194. "top:auto;left:auto;bottom:5%;right:10%;",
  1195. null,
  1196. null
  1197. );
  1198. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1199. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1200. }
  1201. /**
  1202. * 安装合适的高压喷头
  1203. */
  1204. work_new_13 = function() {
  1205. let thisClass = this;
  1206. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1207. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1208. let objIframe = objThreeWorldEventMain.objIframe;
  1209. let objScene = objThreeWorldEventMain.objScene;
  1210. let BABYLON = objThreeWorldEventMain.BABYLON;
  1211. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1212. // objIframeEdit.modelPeopleLook(3);
  1213. // objIframeEdit.roleShow(false);
  1214. // 切换到人物的视角
  1215. objThreeWorldEventMain.commonBirthplaceUpdate();
  1216. objIframeEdit.modelPeopleLook(1);
  1217. objIframeEdit.roleShow(true);
  1218. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1219. QingXiCheAdnQvCarEventStep.find().meshVisibility("安装合适的高压喷头", true);
  1220. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("安装合适的高压喷头1");
  1221. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1222. 6.801360999206141, 0.4749280346040874, -24.528338254972304, 3, 173, 68 * 2,
  1223. "请点击闪烁点", "或者【箱子】触发"
  1224. );
  1225. WindowEvent.find().WindowTxtViewOpenEvent(
  1226. "仔细评估现场施工的压力需求、喷射范围等工况,挑选适配规格的高压喷头,用扳手将其与高压水管牢固拧紧,确保连接紧密无渗漏。" + "\n"
  1227. );
  1228. WindowEvent.find().WindowVideoRemoveColorOpen(
  1229. QingXiCheAndQvComRes.find().resJson["QingXiChe_20"],
  1230. "top:auto;left:auto;bottom:5%;right:10%;",
  1231. null,
  1232. null
  1233. );
  1234. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1235. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1236. }
  1237. /**
  1238. * 将高压水管放入待施工的管道内
  1239. */
  1240. work_new_14 = function() {
  1241. let thisClass = this;
  1242. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1243. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1244. let objIframe = objThreeWorldEventMain.objIframe;
  1245. let objScene = objThreeWorldEventMain.objScene;
  1246. let BABYLON = objThreeWorldEventMain.BABYLON;
  1247. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1248. // objIframeEdit.modelPeopleLook(3);
  1249. // objIframeEdit.roleShow(false);
  1250. // 切换到人物的视角
  1251. objThreeWorldEventMain.commonBirthplaceUpdate();
  1252. objIframeEdit.modelPeopleLook(1);
  1253. objIframeEdit.roleShow(true);
  1254. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1255. QingXiCheAdnQvCarEventStep.find().meshVisibility("将高压水管放入待施工的管道内", true);
  1256. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1257. 11.003944734235429, 0.3000919607102186, -33.39394053281597, 3, 173, 68 * 2,
  1258. "请点击[水管][护管器]", "或者[井盖]触发"
  1259. );
  1260. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管放入待施工的管道内1");
  1261. WindowEvent.find().WindowTxtViewOpenEvent(
  1262. "双手握紧高压水管,缓慢、匀速地将其送入施工管道,同时注意观察送入长度,使水管前端深入管道内保持在0.5至1米的合适位置。" + "\n"
  1263. );
  1264. WindowEvent.find().WindowVideoRemoveColorOpen(
  1265. QingXiCheAndQvComRes.find().resJson["QingXiChe_18"],
  1266. "top:auto;left:auto;bottom:5%;right:10%;",
  1267. null,
  1268. null
  1269. );
  1270. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1271. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1272. }
  1273. /**
  1274. * 在触屏操作面板上将管长清零
  1275. */
  1276. work_new_15 = function() {
  1277. let thisClass = this;
  1278. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1279. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1280. let objIframe = objThreeWorldEventMain.objIframe;
  1281. let objScene = objThreeWorldEventMain.objScene;
  1282. let BABYLON = objThreeWorldEventMain.BABYLON;
  1283. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1284. // objIframeEdit.modelPeopleLook(3);
  1285. // objIframeEdit.roleShow(false);
  1286. // 切换到人物的视角
  1287. objThreeWorldEventMain.commonBirthplaceUpdate();
  1288. objIframeEdit.modelPeopleLook(1);
  1289. objIframeEdit.roleShow(true);
  1290. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1291. QingXiCheAdnQvCarEventStep.find().meshVisibility("在触屏操作面板上将管长清零", true);
  1292. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1293. 8.81792631352813, 1.715753851279489, -22.28300008372969, 3, 173, 68 * 2,
  1294. "请点击", "【操作面板】触发"
  1295. );
  1296. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("在触屏操作面板上将管长清零1");
  1297. WindowEvent.find().WindowTxtViewOpenEvent(
  1298. "走近触屏操作面板,点击功能菜单找到管长设置选项,在确认无运行指令干扰后,按下清零按键,使显示屏管长数值归零并完成初始化。" + "\n"
  1299. );
  1300. WindowEvent.find().WindowVideoRemoveColorOpen(
  1301. QingXiCheAndQvComRes.find().resJson["QingXiChe_06"],
  1302. "top:auto;left:auto;bottom:5%;right:10%;",
  1303. null,
  1304. null
  1305. );
  1306. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1307. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1308. }
  1309. /**
  1310. * 在安全的情况开启冲水开关
  1311. */
  1312. work_new_16 = function() {
  1313. let thisClass = this;
  1314. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1315. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1316. let objIframe = objThreeWorldEventMain.objIframe;
  1317. let objScene = objThreeWorldEventMain.objScene;
  1318. let BABYLON = objThreeWorldEventMain.BABYLON;
  1319. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1320. // objIframeEdit.modelPeopleLook(3);
  1321. // objIframeEdit.roleShow(false);
  1322. // 切换到人物的视角
  1323. objThreeWorldEventMain.commonBirthplaceUpdate();
  1324. objIframeEdit.modelPeopleLook(1);
  1325. objIframeEdit.roleShow(true);
  1326. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1327. QingXiCheAdnQvCarEventStep.find().meshVisibility("在安全的情况开启冲水开关", true);
  1328. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("在安全的情况开启冲水开关1");
  1329. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1330. 8.81792631352813, 1.715753851279489, -22.28300008372969, 3, 173, 68 * 2,
  1331. "请点击", "【操作面板】触发"
  1332. );
  1333. WindowEvent.find().WindowTxtViewOpenEvent(
  1334. "全面检查周边环境,确认无人员靠近、设备无异常后,在触屏操作面板上,精准按下冲水开关,同时密切观察设备运行状态。" + "\n"
  1335. );
  1336. WindowEvent.find().WindowVideoViewOpenEvent(
  1337. QingXiCheAndQvCarEvent.find().videoJson["videw_liu_cheng_2"],
  1338. null,
  1339. function() {}
  1340. );
  1341. WindowEvent.find().WindowVideoRemoveColorOpen(
  1342. QingXiCheAndQvComRes.find().resJson["QingXiChe_21"],
  1343. "top:auto;left:auto;bottom:5%;right:10%;",
  1344. null,
  1345. null
  1346. );
  1347. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1348. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1349. }
  1350. /**
  1351. * 根据现场工况调节冲水压力
  1352. */
  1353. work_new_17 = function() {
  1354. let thisClass = this;
  1355. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1356. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1357. let objIframe = objThreeWorldEventMain.objIframe;
  1358. let objScene = objThreeWorldEventMain.objScene;
  1359. let BABYLON = objThreeWorldEventMain.BABYLON;
  1360. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1361. objIframeEdit.modelPeopleLook(3);
  1362. objIframeEdit.roleShow(false);
  1363. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1364. QingXiCheAdnQvCarEventStep.find().meshVisibility("根据现场工况调节冲水压力", true);
  1365. objIframeEdit.cameraVisualAngleGetListNameGpsTo("根据现场工况调节冲水压力1");
  1366. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1367. 11.997691612968245, -1.980621078883213, -30.987599600330082, 3, 173, 68 * 2,
  1368. "请点击", "[管道]触发"
  1369. );
  1370. WindowEvent.find().WindowTxtViewOpenEvent(
  1371. "时刻留意现场施工情况,依据作业强度与进度,适时调节油门控制水压;同步灵活收放高压水管,保障施工高效、稳定推进。" + "\n"
  1372. );
  1373. WindowEvent.find().WindowVideoRemoveColorOpen(
  1374. QingXiCheAndQvComRes.find().resJson["QingXiChe_24"],
  1375. "top:auto;left:auto;bottom:5%;right:10%;",
  1376. null,
  1377. null
  1378. );
  1379. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1380. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1381. }
  1382. /**
  1383. * 疏通管道后减小油门到初始状态
  1384. */
  1385. work_new_18 = function() {
  1386. let thisClass = this;
  1387. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1388. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1389. let objIframe = objThreeWorldEventMain.objIframe;
  1390. let objScene = objThreeWorldEventMain.objScene;
  1391. let BABYLON = objThreeWorldEventMain.BABYLON;
  1392. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1393. // objIframeEdit.modelPeopleLook(3);
  1394. // objIframeEdit.roleShow(false);
  1395. // 切换到人物的视角
  1396. objThreeWorldEventMain.commonBirthplaceUpdate();
  1397. objIframeEdit.modelPeopleLook(1);
  1398. objIframeEdit.roleShow(true);
  1399. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1400. 8.81792631352813, 1.715753851279489, -22.28300008372969, 3, 173, 68 * 2,
  1401. "请点击", "【操作面板】触发"
  1402. );
  1403. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1404. QingXiCheAdnQvCarEventStep.find().meshVisibility("疏通管道后减小油门到初始状态", true);
  1405. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("疏通管道后减小油门到初始状态1");
  1406. WindowEvent.find().WindowTxtViewOpenEvent(
  1407. "确认管道疏通彻底、水流顺畅后,缓慢平稳地减小油门,密切注视仪表盘参数,直至油门恢复至作业前的初始设定状态。" + "\n"
  1408. );
  1409. WindowEvent.find().WindowVideoRemoveColorOpen(
  1410. QingXiCheAndQvComRes.find().resJson["QingXiChe_14"],
  1411. "top:auto;left:auto;bottom:5%;right:10%;",
  1412. null,
  1413. null
  1414. );
  1415. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1416. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1417. }
  1418. /**
  1419. * 带压收回高压水管
  1420. */
  1421. work_new_19 = function() {
  1422. let thisClass = this;
  1423. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1424. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1425. let objIframe = objThreeWorldEventMain.objIframe;
  1426. let objScene = objThreeWorldEventMain.objScene;
  1427. let BABYLON = objThreeWorldEventMain.BABYLON;
  1428. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1429. objIframeEdit.modelPeopleLook(3);
  1430. objIframeEdit.roleShow(false);
  1431. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1432. QingXiCheAdnQvCarEventStep.find().meshVisibility("带压收回高压水管", true);
  1433. objIframeEdit.cameraVisualAngleGetListNameGpsTo("带压收回高压水管1");
  1434. WindowEvent.find().WindowTxtViewOpenEvent(
  1435. "为防止喷头堵塞,在收回高压水管过程中保持冲水开关开启状态,以缓慢匀速的方式将水管回收到距管口2米处。" + "\n"
  1436. + "收回水管过程中采用带压回收的方式,主要为了借助高压水流将管道内污泥冲刷至沉井口。"
  1437. );
  1438. WindowEvent.find().WindowVideoRemoveColorOpen(
  1439. QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1440. "top:auto;left:auto;bottom:5%;right:10%;",
  1441. null,
  1442. null
  1443. );
  1444. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1445. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1446. }
  1447. /**
  1448. * 至触摸屏关闭冲水开关
  1449. */
  1450. work_new_20 = function() {
  1451. let thisClass = this;
  1452. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1453. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1454. let objIframe = objThreeWorldEventMain.objIframe;
  1455. let objScene = objThreeWorldEventMain.objScene;
  1456. let BABYLON = objThreeWorldEventMain.BABYLON;
  1457. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1458. objIframeEdit.modelPeopleLook(3);
  1459. objIframeEdit.roleShow(false);
  1460. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1461. QingXiCheAdnQvCarEventStep.find().meshVisibility("至触摸屏关闭冲水开关", true);
  1462. objIframeEdit.cameraVisualAngleGetListNameGpsTo("至触摸屏关闭冲水开关1");
  1463. WindowEvent.find().WindowTxtViewOpenEvent(
  1464. "完成管道疏通作业后,仔细确认现场无异常水流需求,走到触屏操作面板前,点击对应图标,缓慢关闭冲水开关,确保水流完全停止。" + "\n"
  1465. );
  1466. WindowEvent.find().WindowVideoRemoveColorOpen(
  1467. QingXiCheAndQvComRes.find().resJson["QingXiChe_12"],
  1468. "top:auto;left:auto;bottom:5%;right:10%;",
  1469. null,
  1470. null
  1471. );
  1472. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1473. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1474. }
  1475. /**
  1476. * 缓慢收回高压水管
  1477. */
  1478. work_new_21 = function() {
  1479. let thisClass = this;
  1480. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1481. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1482. let objIframe = objThreeWorldEventMain.objIframe;
  1483. let objScene = objThreeWorldEventMain.objScene;
  1484. let BABYLON = objThreeWorldEventMain.BABYLON;
  1485. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1486. // objIframeEdit.modelPeopleLook(3);
  1487. // objIframeEdit.roleShow(false);
  1488. // 切换到人物的视角
  1489. objThreeWorldEventMain.commonBirthplaceUpdate();
  1490. objIframeEdit.modelPeopleLook(1);
  1491. objIframeEdit.roleShow(true);
  1492. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1493. QingXiCheAdnQvCarEventStep.find().meshVisibility("缓慢收回高压水管", true);
  1494. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("缓慢收回高压水管1");
  1495. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1496. 11.0137148915037, -8.881784197001252e-16, -33.25106292792258, 3, 173, 68 * 2,
  1497. "请点击[井盖][护管套]", "或[高压水管]触发"
  1498. );
  1499. WindowEvent.find().WindowTxtViewOpenEvent(
  1500. "施工完毕后,从管道拉出水管,同步检查管身有无破损。" + "\n"
  1501. );
  1502. WindowEvent.find().WindowVideoRemoveColorOpen(
  1503. QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1504. "top:auto;left:auto;bottom:5%;right:10%;",
  1505. null,
  1506. null
  1507. );
  1508. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1509. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1510. }
  1511. /**
  1512. * 拆卸高压喷头放入喷头机箱内
  1513. */
  1514. work_new_22 = function() {
  1515. let thisClass = this;
  1516. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1517. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1518. let objIframe = objThreeWorldEventMain.objIframe;
  1519. let objScene = objThreeWorldEventMain.objScene;
  1520. let BABYLON = objThreeWorldEventMain.BABYLON;
  1521. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1522. // objIframeEdit.modelPeopleLook(3);
  1523. // objIframeEdit.roleShow(false);
  1524. // 切换到人物的视角
  1525. objThreeWorldEventMain.commonBirthplaceUpdate();
  1526. objIframeEdit.modelPeopleLook(1);
  1527. objIframeEdit.roleShow(true);
  1528. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1529. 6.801360999206141, 0.4749280346040874, -24.528338254972304, 3, 173, 68 * 2,
  1530. "请点击闪烁点", "或者【箱子】触发"
  1531. );
  1532. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1533. QingXiCheAdnQvCarEventStep.find().meshVisibility("拆卸高压喷头放入喷头机箱内", true);
  1534. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("拆卸高压喷头放入喷头机箱内1");
  1535. WindowEvent.find().WindowTxtViewOpenEvent(
  1536. "使用专用扳手,按照规范操作流程,小心拧松高压喷头与水管接口,取下喷头后仔细擦拭,确认无污渍残留,再轻放入喷头机箱内妥善归置。" + "\n"
  1537. );
  1538. WindowEvent.find().WindowVideoRemoveColorOpen(
  1539. QingXiCheAndQvComRes.find().resJson["QingXiChe_07"],
  1540. "top:auto;left:auto;bottom:5%;right:10%;",
  1541. null,
  1542. null
  1543. );
  1544. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1545. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1546. }
  1547. /**
  1548. * 收起高压水管将卷筒恢复到初始状态
  1549. */
  1550. work_new_23 = function() {
  1551. let thisClass = this;
  1552. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1553. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1554. let objIframe = objThreeWorldEventMain.objIframe;
  1555. let objScene = objThreeWorldEventMain.objScene;
  1556. let BABYLON = objThreeWorldEventMain.BABYLON;
  1557. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1558. // objIframeEdit.modelPeopleLook(3);
  1559. // objIframeEdit.roleShow(false);
  1560. // 切换到人物的视角
  1561. objThreeWorldEventMain.commonBirthplaceUpdate();
  1562. objIframeEdit.modelPeopleLook(1);
  1563. objIframeEdit.roleShow(true);
  1564. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1565. QingXiCheAdnQvCarEventStep.find().meshVisibility("收起高压水管将卷筒恢复到初始状态", true);
  1566. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("收起高压水管将卷筒恢复到初始状态1");
  1567. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1568. 8.465663690953479, 1.6795113969582238, -22.536188023043096, 3, 173, 68 * 2,
  1569. "请点击[高压水管]", "或[大卷盘]触发"
  1570. );
  1571. WindowEvent.find().WindowTxtViewOpenEvent(
  1572. "按下卷筒解锁按钮,双手扶住高压水管引导其整齐缠绕,匀速转动卷筒手柄,密切观察缠绕状态,直至将水管完全收回并固定妥当后关闭卷筒锁。" + "\n"
  1573. );
  1574. WindowEvent.find().WindowVideoRemoveColorOpen(
  1575. QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1576. "top:auto;left:auto;bottom:5%;right:10%;",
  1577. null,
  1578. null
  1579. );
  1580. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1581. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1582. }
  1583. /**
  1584. * 将高压水管拧到水管固定座
  1585. */
  1586. work_new_24 = function() {
  1587. let thisClass = this;
  1588. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1589. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1590. let objIframe = objThreeWorldEventMain.objIframe;
  1591. let objScene = objThreeWorldEventMain.objScene;
  1592. let BABYLON = objThreeWorldEventMain.BABYLON;
  1593. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1594. // objIframeEdit.modelPeopleLook(3);
  1595. // objIframeEdit.roleShow(false);
  1596. // 切换到人物的视角
  1597. objThreeWorldEventMain.commonBirthplaceUpdate();
  1598. objIframeEdit.modelPeopleLook(1);
  1599. objIframeEdit.roleShow(true);
  1600. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1601. 7.477428214938322, 0.912634256055934, -21.171619968554737, 3, 173, 68 * 2,
  1602. "请点击闪烁点", "或者【高压水管】触发"
  1603. );
  1604. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1605. QingXiCheAdnQvCarEventStep.find().meshVisibility("将高压水管拧到水管固定座", true);
  1606. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1607. WindowEvent.find().WindowTxtViewOpenEvent(
  1608. "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1609. );
  1610. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1611. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1612. // "top:auto;left:auto;bottom:5%;right:10%;",
  1613. // null,
  1614. // null
  1615. // );
  1616. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1617. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1618. }
  1619. /**
  1620. * 小卷筒使用方法_开启卷帘门
  1621. */
  1622. work_new_24_1 = function() {
  1623. let thisClass = this;
  1624. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1625. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1626. let objIframe = objThreeWorldEventMain.objIframe;
  1627. let objScene = objThreeWorldEventMain.objScene;
  1628. let BABYLON = objThreeWorldEventMain.BABYLON;
  1629. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1630. // objIframeEdit.modelPeopleLook(3);
  1631. // objIframeEdit.roleShow(false);
  1632. // 切换到人物的视角
  1633. objThreeWorldEventMain.commonBirthplaceUpdate();
  1634. objIframeEdit.modelPeopleLook(1);
  1635. objIframeEdit.roleShow(true);
  1636. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1637. 9.346507906104687, 1.3309620736589605, -16.663860199858576, 3, 173, 68 * 2,
  1638. "请点击闪烁点", "或[卷帘门]触发"
  1639. );
  1640. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1641. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_开启卷帘门", true);
  1642. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1643. // WindowEvent.find().WindowTxtViewOpenEvent(
  1644. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1645. // );
  1646. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1647. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1648. // "top:auto;left:auto;bottom:5%;right:10%;",
  1649. // null,
  1650. // null
  1651. // );
  1652. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1653. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1654. }
  1655. /**
  1656. * 小卷筒使用方法_开启车身侧门
  1657. */
  1658. work_new_24_2 = function() {
  1659. let thisClass = this;
  1660. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1661. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1662. let objIframe = objThreeWorldEventMain.objIframe;
  1663. let objScene = objThreeWorldEventMain.objScene;
  1664. let BABYLON = objThreeWorldEventMain.BABYLON;
  1665. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1666. // objIframeEdit.modelPeopleLook(3);
  1667. // objIframeEdit.roleShow(false);
  1668. // 切换到人物的视角
  1669. objThreeWorldEventMain.commonBirthplaceUpdate();
  1670. objIframeEdit.modelPeopleLook(1);
  1671. objIframeEdit.roleShow(true);
  1672. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1673. 9.234679777673762, 1.5559926581627583, -19.126378468577407, 3, 173, 68 * 2,
  1674. "请点击闪烁点", "或[侧门]触发"
  1675. );
  1676. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1677. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_开启车身侧门", true);
  1678. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1679. // WindowEvent.find().WindowTxtViewOpenEvent(
  1680. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1681. // );
  1682. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1683. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1684. // "top:auto;left:auto;bottom:5%;right:10%;",
  1685. // null,
  1686. // null
  1687. // );
  1688. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1689. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1690. }
  1691. /**
  1692. * 小卷筒使用方法_拉出水管到需要的长度固定
  1693. */
  1694. work_new_24_3 = function() {
  1695. let thisClass = this;
  1696. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1697. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1698. let objIframe = objThreeWorldEventMain.objIframe;
  1699. let objScene = objThreeWorldEventMain.objScene;
  1700. let BABYLON = objThreeWorldEventMain.BABYLON;
  1701. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1702. // objIframeEdit.modelPeopleLook(3);
  1703. // objIframeEdit.roleShow(false);
  1704. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1705. 8.930086827619853, 1.4588259548862736, -16.462431005991338, 3, 173, 68 * 2,
  1706. "请点击闪烁点", "或[高压水管]触发"
  1707. );
  1708. // 切换到人物的视角
  1709. objThreeWorldEventMain.commonBirthplaceUpdate();
  1710. objIframeEdit.modelPeopleLook(1);
  1711. objIframeEdit.roleShow(true);
  1712. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1713. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_拉出水管到需要的长度固定", true);
  1714. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1715. // WindowEvent.find().WindowTxtViewOpenEvent(
  1716. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1717. // );
  1718. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1719. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1720. // "top:auto;left:auto;bottom:5%;right:10%;",
  1721. // null,
  1722. // null
  1723. // );
  1724. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1725. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1726. }
  1727. /**
  1728. * 小卷筒使用方法_安装手持水枪
  1729. */
  1730. work_new_24_4 = function() {
  1731. let thisClass = this;
  1732. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1733. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1734. let objIframe = objThreeWorldEventMain.objIframe;
  1735. let objScene = objThreeWorldEventMain.objScene;
  1736. let BABYLON = objThreeWorldEventMain.BABYLON;
  1737. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1738. // objIframeEdit.modelPeopleLook(3);
  1739. // objIframeEdit.roleShow(false);
  1740. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1741. 8.955689740375359, 1.4166781466910436, -18.64406839338272, 3, 173, 68 * 2,
  1742. "请点击闪烁点", "或[水枪]触发"
  1743. );
  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_5 = 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. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1777. 8.73138515399253, 1.4656407706190033, -16.709522549524163, 3, 173, 68 * 2,
  1778. "请点击闪烁点", "或[三通阀]触发"
  1779. );
  1780. // 切换到人物的视角
  1781. objThreeWorldEventMain.commonBirthplaceUpdate();
  1782. objIframeEdit.modelPeopleLook(1);
  1783. objIframeEdit.roleShow(true);
  1784. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1785. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_切换手动三通阀", true);
  1786. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1787. // WindowEvent.find().WindowTxtViewOpenEvent(
  1788. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1789. // );
  1790. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1791. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1792. // "top:auto;left:auto;bottom:5%;right:10%;",
  1793. // null,
  1794. // null
  1795. // );
  1796. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1797. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1798. }
  1799. /**
  1800. * 小卷筒使用方法_扣动手持水枪的开关即可出水
  1801. */
  1802. work_new_24_6 = function() {
  1803. let thisClass = this;
  1804. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1805. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1806. let objIframe = objThreeWorldEventMain.objIframe;
  1807. let objScene = objThreeWorldEventMain.objScene;
  1808. let BABYLON = objThreeWorldEventMain.BABYLON;
  1809. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1810. // objIframeEdit.modelPeopleLook(3);
  1811. // objIframeEdit.roleShow(false);
  1812. // 切换到人物的视角
  1813. objThreeWorldEventMain.commonBirthplaceUpdate();
  1814. objIframeEdit.modelPeopleLook(1);
  1815. objIframeEdit.roleShow(true);
  1816. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1817. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_扣动手持水枪的开关即可出水", true);
  1818. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1819. // WindowEvent.find().WindowTxtViewOpenEvent(
  1820. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1821. // );
  1822. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1823. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1824. // "top:auto;left:auto;bottom:5%;right:10%;",
  1825. // null,
  1826. // null
  1827. // );
  1828. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1829. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1830. }
  1831. /**
  1832. * 小卷筒使用方法_在使用完毕后切换手动三通阀
  1833. */
  1834. work_new_24_7 = function() {
  1835. let thisClass = this;
  1836. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1837. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1838. let objIframe = objThreeWorldEventMain.objIframe;
  1839. let objScene = objThreeWorldEventMain.objScene;
  1840. let BABYLON = objThreeWorldEventMain.BABYLON;
  1841. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1842. // objIframeEdit.modelPeopleLook(3);
  1843. // objIframeEdit.roleShow(false);
  1844. // 切换到人物的视角
  1845. objThreeWorldEventMain.commonBirthplaceUpdate();
  1846. objIframeEdit.modelPeopleLook(1);
  1847. objIframeEdit.roleShow(true);
  1848. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1849. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_在使用完毕后切换手动三通阀", true);
  1850. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1851. // WindowEvent.find().WindowTxtViewOpenEvent(
  1852. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1853. // );
  1854. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1855. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1856. // "top:auto;left:auto;bottom:5%;right:10%;",
  1857. // null,
  1858. // null
  1859. // );
  1860. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1861. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1862. }
  1863. /**
  1864. * 小卷筒使用方法_拆卸掉手持水枪并收回水管
  1865. */
  1866. work_new_24_8 = function() {
  1867. let thisClass = this;
  1868. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1869. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1870. let objIframe = objThreeWorldEventMain.objIframe;
  1871. let objScene = objThreeWorldEventMain.objScene;
  1872. let BABYLON = objThreeWorldEventMain.BABYLON;
  1873. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1874. // objIframeEdit.modelPeopleLook(3);
  1875. // objIframeEdit.roleShow(false);
  1876. // 切换到人物的视角
  1877. objThreeWorldEventMain.commonBirthplaceUpdate();
  1878. objIframeEdit.modelPeopleLook(1);
  1879. objIframeEdit.roleShow(true);
  1880. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1881. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_拆卸掉手持水枪并收回水管", true);
  1882. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1883. // WindowEvent.find().WindowTxtViewOpenEvent(
  1884. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1885. // );
  1886. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1887. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1888. // "top:auto;left:auto;bottom:5%;right:10%;",
  1889. // null,
  1890. // null
  1891. // );
  1892. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1893. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1894. }
  1895. /**
  1896. * 回到驾驶室
  1897. */
  1898. work_new_24_9 = function() {
  1899. let thisClass = this;
  1900. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1901. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1902. let objIframe = objThreeWorldEventMain.objIframe;
  1903. let objScene = objThreeWorldEventMain.objScene;
  1904. let BABYLON = objThreeWorldEventMain.BABYLON;
  1905. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1906. // objIframeEdit.modelPeopleLook(3);
  1907. // objIframeEdit.roleShow(false);
  1908. // 切换到人物的视角
  1909. objThreeWorldEventMain.commonBirthplaceUpdate();
  1910. objIframeEdit.modelPeopleLook(1);
  1911. objIframeEdit.roleShow(true);
  1912. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1913. QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室", true);
  1914. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1915. WindowEvent.find().WindowTxtViewOpenEvent(
  1916. "完成设备收尾工作后,稳步返回驾驶室,坐定并调整坐姿。" + "\n"
  1917. );
  1918. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1919. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1920. // "top:auto;left:auto;bottom:5%;right:10%;",
  1921. // null,
  1922. // null
  1923. // );
  1924. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1925. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1926. }
  1927. /**
  1928. * 回到驾驶室踩下车辆离合器5秒
  1929. */
  1930. work_new_25 = function() {
  1931. let thisClass = this;
  1932. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1933. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1934. let objIframe = objThreeWorldEventMain.objIframe;
  1935. let objScene = objThreeWorldEventMain.objScene;
  1936. let BABYLON = objThreeWorldEventMain.BABYLON;
  1937. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1938. objIframeEdit.modelPeopleLook(3);
  1939. objIframeEdit.roleShow(false);
  1940. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1941. QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室踩下车辆离合器5秒", true);
  1942. objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车开启双闪");
  1943. WindowEvent.find().WindowTxtViewOpenEvent(
  1944. "匀速下压车辆离合器并持续保持5秒钟。" + "\n"
  1945. );
  1946. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1947. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1948. // "top:auto;left:auto;bottom:5%;right:10%;",
  1949. // null,
  1950. // null
  1951. // );
  1952. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1953. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1954. }
  1955. /**
  1956. * 关闭取力器开关
  1957. */
  1958. work_new_26 = function() {
  1959. let thisClass = this;
  1960. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1961. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1962. let objIframe = objThreeWorldEventMain.objIframe;
  1963. let objScene = objThreeWorldEventMain.objScene;
  1964. let BABYLON = objThreeWorldEventMain.BABYLON;
  1965. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1966. objIframeEdit.modelPeopleLook(3);
  1967. objIframeEdit.roleShow(false);
  1968. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1969. QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭取力器开关", true);
  1970. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("观察仪表盘指示灯");
  1971. WindowEvent.find().WindowTxtViewOpenEvent(
  1972. "关闭取力器开关" + "\n"
  1973. );
  1974. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1975. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1976. // "top:auto;left:auto;bottom:5%;right:10%;",
  1977. // null,
  1978. // null
  1979. // );
  1980. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1981. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1982. }
  1983. /**
  1984. * 关闭车辆双闪和工作双闪箭头灯
  1985. */
  1986. work_new_27 = function() {
  1987. let thisClass = this;
  1988. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1989. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1990. let objIframe = objThreeWorldEventMain.objIframe;
  1991. let objScene = objThreeWorldEventMain.objScene;
  1992. let BABYLON = objThreeWorldEventMain.BABYLON;
  1993. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1994. objIframeEdit.modelPeopleLook(3);
  1995. objIframeEdit.roleShow(false);
  1996. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1997. QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭车辆双闪和工作双闪箭头灯", true);
  1998. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("开启双闪");
  1999. WindowEvent.find().WindowTxtViewOpenEvent(
  2000. "关闭车辆双闪和工作双闪箭头灯" + "\n"
  2001. );
  2002. // WindowEvent.find().WindowVideoRemoveColorOpen(
  2003. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  2004. // "top:auto;left:auto;bottom:5%;right:10%;",
  2005. // null,
  2006. // null
  2007. // );
  2008. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2009. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2010. }
  2011. /**
  2012. * 切换E/P开关至E档
  2013. */
  2014. work_new_27_1 = function() {
  2015. let thisClass = this;
  2016. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2017. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2018. let objIframe = objThreeWorldEventMain.objIframe;
  2019. let objScene = objThreeWorldEventMain.objScene;
  2020. let BABYLON = objThreeWorldEventMain.BABYLON;
  2021. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2022. objIframeEdit.modelPeopleLook(3);
  2023. objIframeEdit.roleShow(false);
  2024. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2025. QingXiCheAdnQvCarEventStep.find().meshVisibility("确认手刹已拉起档位是P档然后发动车辆", true);
  2026. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手刹和空挡");
  2027. WindowEvent.find().WindowTxtViewOpenEvent(
  2028. "观察驾驶室挡位状态,确认手刹处于拉起状态,切换E/P开关至E档。"
  2029. );
  2030. WindowEvent.find().WindowVideoRemoveColorOpen(
  2031. QingXiCheAndQvComRes.find().resJson["QingXiChe_04"],
  2032. "top:auto;left:auto;bottom:5%;right:10%;",
  2033. null,
  2034. null
  2035. );
  2036. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2037. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2038. }
  2039. /**
  2040. * 车辆正常熄火
  2041. */
  2042. work_new_28 = function() {
  2043. let thisClass = this;
  2044. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2045. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2046. let objIframe = objThreeWorldEventMain.objIframe;
  2047. let objScene = objThreeWorldEventMain.objScene;
  2048. let BABYLON = objThreeWorldEventMain.BABYLON;
  2049. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2050. objIframeEdit.modelPeopleLook(3);
  2051. objIframeEdit.roleShow(false);
  2052. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2053. QingXiCheAdnQvCarEventStep.find().meshVisibility("车辆正常熄火", true);
  2054. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("熄火_1");
  2055. WindowEvent.find().WindowTxtViewOpenEvent(
  2056. "车辆正常熄火" + "\n"
  2057. );
  2058. // WindowEvent.find().WindowVideoRemoveColorOpen(
  2059. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  2060. // "top:auto;left:auto;bottom:5%;right:10%;",
  2061. // null,
  2062. // null
  2063. // );
  2064. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2065. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2066. }
  2067. /**
  2068. * 清洗车已完成所有任务
  2069. */
  2070. work_new_29 = function() {
  2071. let thisClass = this;
  2072. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2073. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2074. let objIframe = objThreeWorldEventMain.objIframe;
  2075. let objScene = objThreeWorldEventMain.objScene;
  2076. let BABYLON = objThreeWorldEventMain.BABYLON;
  2077. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2078. objIframeEdit.modelPeopleLook(3);
  2079. objIframeEdit.roleShow(false);
  2080. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2081. QingXiCheAdnQvCarEventStep.find().meshVisibility("清洗车已完成所有任务", true);
  2082. objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车流程完成");
  2083. // WindowEvent.find().WindowTxtViewOpenEvent(
  2084. // "车辆正常熄火" + "\n"
  2085. // );
  2086. // WindowEvent.find().WindowVideoRemoveColorOpen(
  2087. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  2088. // "top:auto;left:auto;bottom:5%;right:10%;",
  2089. // null,
  2090. // null
  2091. // );
  2092. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2093. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2094. }
  2095. /**
  2096. * 数字修复虚拟仿真-将阀门关闭停止水流
  2097. */
  2098. shuZiXiuFuWork_0 = function() {
  2099. let thisClass = this;
  2100. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2101. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2102. let objIframe = objThreeWorldEventMain.objIframe;
  2103. let objScene = objThreeWorldEventMain.objScene;
  2104. let BABYLON = objThreeWorldEventMain.BABYLON;
  2105. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2106. objIframeEdit.modelPeopleLook(3);
  2107. objIframeEdit.roleShow(false);
  2108. WindowEvent.find().WindowVideoRemoveColorExit();
  2109. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2110. // 重置所有动画原始位置
  2111. QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('stopAll');
  2112. // 开启水流
  2113. QingXiCheAdnQvCarEventStep.find().waterGuanEvent(true);
  2114. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2115. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将阀门关闭停止水流");
  2116. setTimeout(function() {
  2117. // 将地面挪到合适的位置
  2118. QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('数字修复虚拟仿真-将橡胶垫片放置到正确的位置');
  2119. }, 300);
  2120. objIframeEdit.cameraVisualAngleGetListNameGpsTo("关闭阀门");
  2121. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2122. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2123. }
  2124. /**
  2125. * 数字修复虚拟仿真-将橡胶垫片放置到正确的位置
  2126. */
  2127. shuZiXiuFuWork_1 = function() {
  2128. let thisClass = this;
  2129. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2130. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2131. let objIframe = objThreeWorldEventMain.objIframe;
  2132. let objScene = objThreeWorldEventMain.objScene;
  2133. let BABYLON = objThreeWorldEventMain.BABYLON;
  2134. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2135. objIframeEdit.modelPeopleLook(3);
  2136. objIframeEdit.roleShow(false);
  2137. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2138. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2139. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将橡胶垫片放置到正确的位置");
  2140. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将橡胶垫片放置到正确的位置_准备安装");
  2141. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2142. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2143. }
  2144. /**
  2145. * 数字修复虚拟仿真-将抱箍放置到正确的位置
  2146. */
  2147. shuZiXiuFuWork_2 = function() {
  2148. let thisClass = this;
  2149. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2150. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2151. let objIframe = objThreeWorldEventMain.objIframe;
  2152. let objScene = objThreeWorldEventMain.objScene;
  2153. let BABYLON = objThreeWorldEventMain.BABYLON;
  2154. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2155. objIframeEdit.modelPeopleLook(3);
  2156. objIframeEdit.roleShow(false);
  2157. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2158. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2159. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将抱箍放置到正确的位置");
  2160. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将抱箍放置到正确的位置_准备安装");
  2161. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2162. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2163. }
  2164. /**
  2165. * 数字修复虚拟仿真-将插销安装到正确的位置
  2166. */
  2167. shuZiXiuFuWork_3 = function() {
  2168. let thisClass = this;
  2169. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2170. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2171. let objIframe = objThreeWorldEventMain.objIframe;
  2172. let objScene = objThreeWorldEventMain.objScene;
  2173. let BABYLON = objThreeWorldEventMain.BABYLON;
  2174. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2175. objIframeEdit.modelPeopleLook(3);
  2176. objIframeEdit.roleShow(false);
  2177. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2178. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2179. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将插销安装到正确的位置");
  2180. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将插销安装到正确的位置_准备安装");
  2181. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2182. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2183. }
  2184. /**
  2185. * 数字修复虚拟仿真-将螺丝安装到正确的位置
  2186. */
  2187. shuZiXiuFuWork_4 = function() {
  2188. let thisClass = this;
  2189. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2190. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2191. let objIframe = objThreeWorldEventMain.objIframe;
  2192. let objScene = objThreeWorldEventMain.objScene;
  2193. let BABYLON = objThreeWorldEventMain.BABYLON;
  2194. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2195. objIframeEdit.modelPeopleLook(3);
  2196. objIframeEdit.roleShow(false);
  2197. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2198. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2199. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将螺丝安装到正确的位置");
  2200. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将螺丝安装到正确的位置_准备安装");
  2201. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2202. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2203. }
  2204. /**
  2205. * 数字修复虚拟仿真-用扳手将螺丝旋紧螺丝
  2206. */
  2207. shuZiXiuFuWork_5 = function() {
  2208. let thisClass = this;
  2209. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2210. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2211. let objIframe = objThreeWorldEventMain.objIframe;
  2212. let objScene = objThreeWorldEventMain.objScene;
  2213. let BABYLON = objThreeWorldEventMain.BABYLON;
  2214. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2215. objIframeEdit.modelPeopleLook(3);
  2216. objIframeEdit.roleShow(false);
  2217. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2218. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2219. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-用扳手将螺丝旋紧螺丝");
  2220. objIframeEdit.cameraVisualAngleGetListNameGpsTo("用扳手将螺丝旋紧螺丝_准备安装");
  2221. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2222. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2223. }
  2224. /**
  2225. * 数字修复虚拟仿真-已完成所有任务
  2226. */
  2227. shuZiXiuFuWork_6 = function() {
  2228. let thisClass = this;
  2229. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2230. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2231. let objIframe = objThreeWorldEventMain.objIframe;
  2232. let objScene = objThreeWorldEventMain.objScene;
  2233. let BABYLON = objThreeWorldEventMain.BABYLON;
  2234. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2235. objIframeEdit.modelPeopleLook(3);
  2236. objIframeEdit.roleShow(false);
  2237. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2238. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2239. objIframeEdit.cameraVisualAngleGetListNameGpsTo("数字修复虚拟仿真-已完成所有任务");
  2240. setTimeout(function() {
  2241. // 启动水流
  2242. QingXiCheAdnQvCarEventStep.find().waterGuanEvent(true, true);
  2243. }, 1500);
  2244. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2245. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2246. }
  2247. }