QingXiCheAndQvCarEvent.js 107 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033
  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. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1564. 8.465663690953479, 1.6795113969582238, -22.536188023043096, 3, 173, 68 * 2,
  1565. "请点击[高压水管]", "或[大卷盘]触发"
  1566. );
  1567. WindowEvent.find().WindowTxtViewOpenEvent(
  1568. "按下卷筒解锁按钮,双手扶住高压水管引导其整齐缠绕,匀速转动卷筒手柄,密切观察缠绕状态,直至将水管完全收回并固定妥当后关闭卷筒锁。" + "\n"
  1569. );
  1570. WindowEvent.find().WindowVideoRemoveColorOpen(
  1571. QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1572. "top:auto;left:auto;bottom:5%;right:10%;",
  1573. null,
  1574. null
  1575. );
  1576. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1577. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1578. }
  1579. /**
  1580. * 将高压水管拧到水管固定座
  1581. */
  1582. work_new_24 = function() {
  1583. let thisClass = this;
  1584. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1585. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1586. let objIframe = objThreeWorldEventMain.objIframe;
  1587. let objScene = objThreeWorldEventMain.objScene;
  1588. let BABYLON = objThreeWorldEventMain.BABYLON;
  1589. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1590. // objIframeEdit.modelPeopleLook(3);
  1591. // objIframeEdit.roleShow(false);
  1592. // 切换到人物的视角
  1593. objThreeWorldEventMain.commonBirthplaceUpdate();
  1594. objIframeEdit.modelPeopleLook(1);
  1595. objIframeEdit.roleShow(true);
  1596. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1597. 7.477428214938322, 0.912634256055934, -21.171619968554737, 3, 173, 68 * 2,
  1598. "请点击闪烁点", "或者【高压水管】触发"
  1599. );
  1600. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1601. QingXiCheAdnQvCarEventStep.find().meshVisibility("将高压水管拧到水管固定座", true);
  1602. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1603. WindowEvent.find().WindowTxtViewOpenEvent(
  1604. "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1605. );
  1606. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1607. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1608. // "top:auto;left:auto;bottom:5%;right:10%;",
  1609. // null,
  1610. // null
  1611. // );
  1612. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1613. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1614. }
  1615. /**
  1616. * 小卷筒使用方法_开启卷帘门
  1617. */
  1618. work_new_24_1 = function() {
  1619. let thisClass = this;
  1620. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1621. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1622. let objIframe = objThreeWorldEventMain.objIframe;
  1623. let objScene = objThreeWorldEventMain.objScene;
  1624. let BABYLON = objThreeWorldEventMain.BABYLON;
  1625. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1626. // objIframeEdit.modelPeopleLook(3);
  1627. // objIframeEdit.roleShow(false);
  1628. // 切换到人物的视角
  1629. objThreeWorldEventMain.commonBirthplaceUpdate();
  1630. objIframeEdit.modelPeopleLook(1);
  1631. objIframeEdit.roleShow(true);
  1632. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1633. 9.346507906104687, 1.3309620736589605, -16.663860199858576, 3, 173, 68 * 2,
  1634. "请点击闪烁点", "或[卷帘门]触发"
  1635. );
  1636. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1637. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_开启卷帘门", true);
  1638. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1639. // WindowEvent.find().WindowTxtViewOpenEvent(
  1640. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1641. // );
  1642. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1643. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1644. // "top:auto;left:auto;bottom:5%;right:10%;",
  1645. // null,
  1646. // null
  1647. // );
  1648. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1649. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1650. }
  1651. /**
  1652. * 小卷筒使用方法_开启车身侧门
  1653. */
  1654. work_new_24_2 = function() {
  1655. let thisClass = this;
  1656. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1657. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1658. let objIframe = objThreeWorldEventMain.objIframe;
  1659. let objScene = objThreeWorldEventMain.objScene;
  1660. let BABYLON = objThreeWorldEventMain.BABYLON;
  1661. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1662. // objIframeEdit.modelPeopleLook(3);
  1663. // objIframeEdit.roleShow(false);
  1664. // 切换到人物的视角
  1665. objThreeWorldEventMain.commonBirthplaceUpdate();
  1666. objIframeEdit.modelPeopleLook(1);
  1667. objIframeEdit.roleShow(true);
  1668. QingXiCheAndQvCarEvent.find().threeWorldTxt(
  1669. 9.346507906104687, 1.3309620736589605, -16.663860199858576, 3, 173, 68 * 2,
  1670. "请点击闪烁点", "或[侧门]触发"
  1671. );
  1672. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1673. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_开启车身侧门", true);
  1674. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1675. // WindowEvent.find().WindowTxtViewOpenEvent(
  1676. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1677. // );
  1678. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1679. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1680. // "top:auto;left:auto;bottom:5%;right:10%;",
  1681. // null,
  1682. // null
  1683. // );
  1684. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1685. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1686. }
  1687. /**
  1688. * 小卷筒使用方法_拉出水管到需要的长度固定
  1689. */
  1690. work_new_24_3 = function() {
  1691. let thisClass = this;
  1692. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1693. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1694. let objIframe = objThreeWorldEventMain.objIframe;
  1695. let objScene = objThreeWorldEventMain.objScene;
  1696. let BABYLON = objThreeWorldEventMain.BABYLON;
  1697. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1698. // objIframeEdit.modelPeopleLook(3);
  1699. // objIframeEdit.roleShow(false);
  1700. // 切换到人物的视角
  1701. objThreeWorldEventMain.commonBirthplaceUpdate();
  1702. objIframeEdit.modelPeopleLook(1);
  1703. objIframeEdit.roleShow(true);
  1704. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1705. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_拉出水管到需要的长度固定", true);
  1706. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1707. // WindowEvent.find().WindowTxtViewOpenEvent(
  1708. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1709. // );
  1710. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1711. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1712. // "top:auto;left:auto;bottom:5%;right:10%;",
  1713. // null,
  1714. // null
  1715. // );
  1716. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1717. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1718. }
  1719. /**
  1720. * 小卷筒使用方法_安装手持水枪
  1721. */
  1722. work_new_24_4 = function() {
  1723. let thisClass = this;
  1724. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1725. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1726. let objIframe = objThreeWorldEventMain.objIframe;
  1727. let objScene = objThreeWorldEventMain.objScene;
  1728. let BABYLON = objThreeWorldEventMain.BABYLON;
  1729. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1730. // objIframeEdit.modelPeopleLook(3);
  1731. // objIframeEdit.roleShow(false);
  1732. // 切换到人物的视角
  1733. objThreeWorldEventMain.commonBirthplaceUpdate();
  1734. objIframeEdit.modelPeopleLook(1);
  1735. objIframeEdit.roleShow(true);
  1736. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1737. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_安装手持水枪", true);
  1738. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1739. // WindowEvent.find().WindowTxtViewOpenEvent(
  1740. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1741. // );
  1742. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1743. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1744. // "top:auto;left:auto;bottom:5%;right:10%;",
  1745. // null,
  1746. // null
  1747. // );
  1748. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1749. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1750. }
  1751. /**
  1752. * 小卷筒使用方法_切换手动三通阀
  1753. */
  1754. work_new_24_5 = function() {
  1755. let thisClass = this;
  1756. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1757. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1758. let objIframe = objThreeWorldEventMain.objIframe;
  1759. let objScene = objThreeWorldEventMain.objScene;
  1760. let BABYLON = objThreeWorldEventMain.BABYLON;
  1761. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1762. // objIframeEdit.modelPeopleLook(3);
  1763. // objIframeEdit.roleShow(false);
  1764. // 切换到人物的视角
  1765. objThreeWorldEventMain.commonBirthplaceUpdate();
  1766. objIframeEdit.modelPeopleLook(1);
  1767. objIframeEdit.roleShow(true);
  1768. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1769. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_切换手动三通阀", true);
  1770. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1771. // WindowEvent.find().WindowTxtViewOpenEvent(
  1772. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1773. // );
  1774. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1775. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1776. // "top:auto;left:auto;bottom:5%;right:10%;",
  1777. // null,
  1778. // null
  1779. // );
  1780. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1781. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1782. }
  1783. /**
  1784. * 小卷筒使用方法_扣动手持水枪的开关即可出水
  1785. */
  1786. work_new_24_6 = function() {
  1787. let thisClass = this;
  1788. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1789. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1790. let objIframe = objThreeWorldEventMain.objIframe;
  1791. let objScene = objThreeWorldEventMain.objScene;
  1792. let BABYLON = objThreeWorldEventMain.BABYLON;
  1793. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1794. // objIframeEdit.modelPeopleLook(3);
  1795. // objIframeEdit.roleShow(false);
  1796. // 切换到人物的视角
  1797. objThreeWorldEventMain.commonBirthplaceUpdate();
  1798. objIframeEdit.modelPeopleLook(1);
  1799. objIframeEdit.roleShow(true);
  1800. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1801. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_扣动手持水枪的开关即可出水", true);
  1802. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1803. // WindowEvent.find().WindowTxtViewOpenEvent(
  1804. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1805. // );
  1806. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1807. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1808. // "top:auto;left:auto;bottom:5%;right:10%;",
  1809. // null,
  1810. // null
  1811. // );
  1812. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1813. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1814. }
  1815. /**
  1816. * 小卷筒使用方法_在使用完毕后切换手动三通阀
  1817. */
  1818. work_new_24_7 = function() {
  1819. let thisClass = this;
  1820. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1821. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1822. let objIframe = objThreeWorldEventMain.objIframe;
  1823. let objScene = objThreeWorldEventMain.objScene;
  1824. let BABYLON = objThreeWorldEventMain.BABYLON;
  1825. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1826. // objIframeEdit.modelPeopleLook(3);
  1827. // objIframeEdit.roleShow(false);
  1828. // 切换到人物的视角
  1829. objThreeWorldEventMain.commonBirthplaceUpdate();
  1830. objIframeEdit.modelPeopleLook(1);
  1831. objIframeEdit.roleShow(true);
  1832. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1833. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_在使用完毕后切换手动三通阀", true);
  1834. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1835. // WindowEvent.find().WindowTxtViewOpenEvent(
  1836. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1837. // );
  1838. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1839. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1840. // "top:auto;left:auto;bottom:5%;right:10%;",
  1841. // null,
  1842. // null
  1843. // );
  1844. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1845. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1846. }
  1847. /**
  1848. * 小卷筒使用方法_拆卸掉手持水枪并收回水管
  1849. */
  1850. work_new_24_8 = function() {
  1851. let thisClass = this;
  1852. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1853. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1854. let objIframe = objThreeWorldEventMain.objIframe;
  1855. let objScene = objThreeWorldEventMain.objScene;
  1856. let BABYLON = objThreeWorldEventMain.BABYLON;
  1857. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1858. // objIframeEdit.modelPeopleLook(3);
  1859. // objIframeEdit.roleShow(false);
  1860. // 切换到人物的视角
  1861. objThreeWorldEventMain.commonBirthplaceUpdate();
  1862. objIframeEdit.modelPeopleLook(1);
  1863. objIframeEdit.roleShow(true);
  1864. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1865. QingXiCheAdnQvCarEventStep.find().meshVisibility("小卷筒使用方法_拆卸掉手持水枪并收回水管", true);
  1866. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1867. // WindowEvent.find().WindowTxtViewOpenEvent(
  1868. // "拿起高压水管对准固定座接口,顺时针缓慢旋转,同时确保水管与接口紧密贴合,直至完全拧紧,使高压水管稳固固定在固定座上。" + "\n"
  1869. // );
  1870. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1871. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1872. // "top:auto;left:auto;bottom:5%;right:10%;",
  1873. // null,
  1874. // null
  1875. // );
  1876. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1877. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1878. }
  1879. /**
  1880. * 回到驾驶室
  1881. */
  1882. work_new_24_9 = function() {
  1883. let thisClass = this;
  1884. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1885. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1886. let objIframe = objThreeWorldEventMain.objIframe;
  1887. let objScene = objThreeWorldEventMain.objScene;
  1888. let BABYLON = objThreeWorldEventMain.BABYLON;
  1889. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1890. // objIframeEdit.modelPeopleLook(3);
  1891. // objIframeEdit.roleShow(false);
  1892. // 切换到人物的视角
  1893. objThreeWorldEventMain.commonBirthplaceUpdate();
  1894. objIframeEdit.modelPeopleLook(1);
  1895. objIframeEdit.roleShow(true);
  1896. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1897. QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室", true);
  1898. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
  1899. WindowEvent.find().WindowTxtViewOpenEvent(
  1900. "完成设备收尾工作后,稳步返回驾驶室,坐定并调整坐姿。" + "\n"
  1901. );
  1902. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1903. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1904. // "top:auto;left:auto;bottom:5%;right:10%;",
  1905. // null,
  1906. // null
  1907. // );
  1908. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1909. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1910. }
  1911. /**
  1912. * 回到驾驶室踩下车辆离合器5秒
  1913. */
  1914. work_new_25 = function() {
  1915. let thisClass = this;
  1916. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1917. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1918. let objIframe = objThreeWorldEventMain.objIframe;
  1919. let objScene = objThreeWorldEventMain.objScene;
  1920. let BABYLON = objThreeWorldEventMain.BABYLON;
  1921. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1922. objIframeEdit.modelPeopleLook(3);
  1923. objIframeEdit.roleShow(false);
  1924. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1925. QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室踩下车辆离合器5秒", true);
  1926. objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车开启双闪");
  1927. WindowEvent.find().WindowTxtViewOpenEvent(
  1928. "匀速下压车辆离合器并持续保持5秒钟。" + "\n"
  1929. );
  1930. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1931. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1932. // "top:auto;left:auto;bottom:5%;right:10%;",
  1933. // null,
  1934. // null
  1935. // );
  1936. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1937. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1938. }
  1939. /**
  1940. * 关闭取力器开关
  1941. */
  1942. work_new_26 = function() {
  1943. let thisClass = this;
  1944. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1945. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1946. let objIframe = objThreeWorldEventMain.objIframe;
  1947. let objScene = objThreeWorldEventMain.objScene;
  1948. let BABYLON = objThreeWorldEventMain.BABYLON;
  1949. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1950. objIframeEdit.modelPeopleLook(3);
  1951. objIframeEdit.roleShow(false);
  1952. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1953. QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭取力器开关", true);
  1954. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("观察仪表盘指示灯");
  1955. WindowEvent.find().WindowTxtViewOpenEvent(
  1956. "关闭取力器开关" + "\n"
  1957. );
  1958. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1959. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1960. // "top:auto;left:auto;bottom:5%;right:10%;",
  1961. // null,
  1962. // null
  1963. // );
  1964. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1965. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1966. }
  1967. /**
  1968. * 关闭车辆双闪和工作双闪箭头灯
  1969. */
  1970. work_new_27 = function() {
  1971. let thisClass = this;
  1972. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  1973. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  1974. let objIframe = objThreeWorldEventMain.objIframe;
  1975. let objScene = objThreeWorldEventMain.objScene;
  1976. let BABYLON = objThreeWorldEventMain.BABYLON;
  1977. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  1978. objIframeEdit.modelPeopleLook(3);
  1979. objIframeEdit.roleShow(false);
  1980. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  1981. QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭车辆双闪和工作双闪箭头灯", true);
  1982. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("开启双闪");
  1983. WindowEvent.find().WindowTxtViewOpenEvent(
  1984. "关闭车辆双闪和工作双闪箭头灯" + "\n"
  1985. );
  1986. // WindowEvent.find().WindowVideoRemoveColorOpen(
  1987. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  1988. // "top:auto;left:auto;bottom:5%;right:10%;",
  1989. // null,
  1990. // null
  1991. // );
  1992. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  1993. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  1994. }
  1995. /**
  1996. * 切换E/P开关至E档
  1997. */
  1998. work_new_27_1 = function() {
  1999. let thisClass = this;
  2000. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2001. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2002. let objIframe = objThreeWorldEventMain.objIframe;
  2003. let objScene = objThreeWorldEventMain.objScene;
  2004. let BABYLON = objThreeWorldEventMain.BABYLON;
  2005. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2006. objIframeEdit.modelPeopleLook(3);
  2007. objIframeEdit.roleShow(false);
  2008. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2009. QingXiCheAdnQvCarEventStep.find().meshVisibility("确认手刹已拉起档位是P档然后发动车辆", true);
  2010. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手刹和空挡");
  2011. WindowEvent.find().WindowTxtViewOpenEvent(
  2012. "观察驾驶室挡位状态,确认手刹处于拉起状态,切换E/P开关至E档。"
  2013. );
  2014. WindowEvent.find().WindowVideoRemoveColorOpen(
  2015. QingXiCheAndQvComRes.find().resJson["QingXiChe_04"],
  2016. "top:auto;left:auto;bottom:5%;right:10%;",
  2017. null,
  2018. null
  2019. );
  2020. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2021. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2022. }
  2023. /**
  2024. * 车辆正常熄火
  2025. */
  2026. work_new_28 = function() {
  2027. let thisClass = this;
  2028. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2029. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2030. let objIframe = objThreeWorldEventMain.objIframe;
  2031. let objScene = objThreeWorldEventMain.objScene;
  2032. let BABYLON = objThreeWorldEventMain.BABYLON;
  2033. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2034. objIframeEdit.modelPeopleLook(3);
  2035. objIframeEdit.roleShow(false);
  2036. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2037. QingXiCheAdnQvCarEventStep.find().meshVisibility("车辆正常熄火", true);
  2038. // objIframeEdit.cameraVisualAngleGetListNameGpsTo("熄火_1");
  2039. WindowEvent.find().WindowTxtViewOpenEvent(
  2040. "车辆正常熄火" + "\n"
  2041. );
  2042. // WindowEvent.find().WindowVideoRemoveColorOpen(
  2043. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  2044. // "top:auto;left:auto;bottom:5%;right:10%;",
  2045. // null,
  2046. // null
  2047. // );
  2048. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2049. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2050. }
  2051. /**
  2052. * 清洗车已完成所有任务
  2053. */
  2054. work_new_29 = function() {
  2055. let thisClass = this;
  2056. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2057. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2058. let objIframe = objThreeWorldEventMain.objIframe;
  2059. let objScene = objThreeWorldEventMain.objScene;
  2060. let BABYLON = objThreeWorldEventMain.BABYLON;
  2061. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2062. objIframeEdit.modelPeopleLook(3);
  2063. objIframeEdit.roleShow(false);
  2064. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2065. QingXiCheAdnQvCarEventStep.find().meshVisibility("清洗车已完成所有任务", true);
  2066. objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车流程完成");
  2067. // WindowEvent.find().WindowTxtViewOpenEvent(
  2068. // "车辆正常熄火" + "\n"
  2069. // );
  2070. // WindowEvent.find().WindowVideoRemoveColorOpen(
  2071. // QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
  2072. // "top:auto;left:auto;bottom:5%;right:10%;",
  2073. // null,
  2074. // null
  2075. // );
  2076. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2077. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2078. }
  2079. /**
  2080. * 数字修复虚拟仿真-将阀门关闭停止水流
  2081. */
  2082. shuZiXiuFuWork_0 = function() {
  2083. let thisClass = this;
  2084. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2085. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2086. let objIframe = objThreeWorldEventMain.objIframe;
  2087. let objScene = objThreeWorldEventMain.objScene;
  2088. let BABYLON = objThreeWorldEventMain.BABYLON;
  2089. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2090. objIframeEdit.modelPeopleLook(3);
  2091. objIframeEdit.roleShow(false);
  2092. WindowEvent.find().WindowVideoRemoveColorExit();
  2093. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2094. // 重置所有动画原始位置
  2095. QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('stopAll');
  2096. // 开启水流
  2097. QingXiCheAdnQvCarEventStep.find().waterGuanEvent(true);
  2098. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2099. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将阀门关闭停止水流");
  2100. setTimeout(function() {
  2101. // 将地面挪到合适的位置
  2102. QingXiCheAdnQvCarEventStep.find().animationAllTypeUpdate('数字修复虚拟仿真-将橡胶垫片放置到正确的位置');
  2103. }, 300);
  2104. objIframeEdit.cameraVisualAngleGetListNameGpsTo("关闭阀门");
  2105. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2106. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2107. }
  2108. /**
  2109. * 数字修复虚拟仿真-将橡胶垫片放置到正确的位置
  2110. */
  2111. shuZiXiuFuWork_1 = function() {
  2112. let thisClass = this;
  2113. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2114. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2115. let objIframe = objThreeWorldEventMain.objIframe;
  2116. let objScene = objThreeWorldEventMain.objScene;
  2117. let BABYLON = objThreeWorldEventMain.BABYLON;
  2118. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2119. objIframeEdit.modelPeopleLook(3);
  2120. objIframeEdit.roleShow(false);
  2121. QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2122. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2123. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将橡胶垫片放置到正确的位置");
  2124. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将橡胶垫片放置到正确的位置_准备安装");
  2125. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2126. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2127. }
  2128. /**
  2129. * 数字修复虚拟仿真-将抱箍放置到正确的位置
  2130. */
  2131. shuZiXiuFuWork_2 = function() {
  2132. let thisClass = this;
  2133. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2134. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2135. let objIframe = objThreeWorldEventMain.objIframe;
  2136. let objScene = objThreeWorldEventMain.objScene;
  2137. let BABYLON = objThreeWorldEventMain.BABYLON;
  2138. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2139. objIframeEdit.modelPeopleLook(3);
  2140. objIframeEdit.roleShow(false);
  2141. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2142. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2143. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将抱箍放置到正确的位置");
  2144. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将抱箍放置到正确的位置_准备安装");
  2145. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2146. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2147. }
  2148. /**
  2149. * 数字修复虚拟仿真-将插销安装到正确的位置
  2150. */
  2151. shuZiXiuFuWork_3 = function() {
  2152. let thisClass = this;
  2153. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2154. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2155. let objIframe = objThreeWorldEventMain.objIframe;
  2156. let objScene = objThreeWorldEventMain.objScene;
  2157. let BABYLON = objThreeWorldEventMain.BABYLON;
  2158. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2159. objIframeEdit.modelPeopleLook(3);
  2160. objIframeEdit.roleShow(false);
  2161. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2162. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2163. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将插销安装到正确的位置");
  2164. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将插销安装到正确的位置_准备安装");
  2165. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2166. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2167. }
  2168. /**
  2169. * 数字修复虚拟仿真-将螺丝安装到正确的位置
  2170. */
  2171. shuZiXiuFuWork_4 = function() {
  2172. let thisClass = this;
  2173. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2174. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2175. let objIframe = objThreeWorldEventMain.objIframe;
  2176. let objScene = objThreeWorldEventMain.objScene;
  2177. let BABYLON = objThreeWorldEventMain.BABYLON;
  2178. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2179. objIframeEdit.modelPeopleLook(3);
  2180. objIframeEdit.roleShow(false);
  2181. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2182. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2183. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-将螺丝安装到正确的位置");
  2184. objIframeEdit.cameraVisualAngleGetListNameGpsTo("将螺丝安装到正确的位置_准备安装");
  2185. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2186. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2187. }
  2188. /**
  2189. * 数字修复虚拟仿真-用扳手将螺丝旋紧螺丝
  2190. */
  2191. shuZiXiuFuWork_5 = function() {
  2192. let thisClass = this;
  2193. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2194. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2195. let objIframe = objThreeWorldEventMain.objIframe;
  2196. let objScene = objThreeWorldEventMain.objScene;
  2197. let BABYLON = objThreeWorldEventMain.BABYLON;
  2198. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2199. objIframeEdit.modelPeopleLook(3);
  2200. objIframeEdit.roleShow(false);
  2201. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2202. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2203. QingXiCheAndQvCarEventClick.find().meshListComHighlightEvent("数字修复虚拟仿真-用扳手将螺丝旋紧螺丝");
  2204. objIframeEdit.cameraVisualAngleGetListNameGpsTo("用扳手将螺丝旋紧螺丝_准备安装");
  2205. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2206. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2207. }
  2208. /**
  2209. * 数字修复虚拟仿真-已完成所有任务
  2210. */
  2211. shuZiXiuFuWork_6 = function() {
  2212. let thisClass = this;
  2213. let objThreeWorldEventMain = this.objThreeWorldEventMain;
  2214. let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
  2215. let objIframe = objThreeWorldEventMain.objIframe;
  2216. let objScene = objThreeWorldEventMain.objScene;
  2217. let BABYLON = objThreeWorldEventMain.BABYLON;
  2218. let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
  2219. objIframeEdit.modelPeopleLook(3);
  2220. objIframeEdit.roleShow(false);
  2221. // QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
  2222. QingXiCheAndQvComHighlightLayer.find().delAll("自定义");
  2223. objIframeEdit.cameraVisualAngleGetListNameGpsTo("数字修复虚拟仿真-已完成所有任务");
  2224. setTimeout(function() {
  2225. // 启动水流
  2226. QingXiCheAdnQvCarEventStep.find().waterGuanEvent(true, true);
  2227. }, 1500);
  2228. thisClass.tipsBtnsUpOpenEventCallbackMain(false);
  2229. thisClass.tipsBtnsDownOpenEventCallbackMain(false);
  2230. }
  2231. }