QingXiCheAndQvCarEvent.js 106 KB

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