QingXiCheAndQvCarEvent.js 111 KB

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