人生啊人生 1 hete
szülő
commit
eaceca2bc8

+ 163 - 135
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEvent.js

@@ -1029,7 +1029,7 @@ export class QingXiCheAndQvCarEvent {
                 null,
                 null
             );
-            
+
         }
 
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
@@ -1055,33 +1055,34 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.roleShow(false);
 
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("打开车辆双闪同时开启工作双闪灯", true);
-
         objIframeEdit.cameraVisualAngleGetListNameGpsTo("开启双闪");
 
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("打开车辆双闪同时开启工作双闪灯", true);
+            
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                7.590068700493333, 1.872254593400176, -14.299112896482262, 3, 173, 68 * 2,
+                "请点击闪烁点", "或者【工作双闪箭头灯】触发"
+            );
 
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            7.590068700493333, 1.872254593400176, -14.299112896482262, 3, 173, 68 * 2,
-            "请点击闪烁点", "或者【工作双闪箭头灯】触发"
-        );
-
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            7.647353843429736, 2.079624345746996, -14.257857535282083, 3, 173, 68 * 2,
-            "请点击闪烁点", "或者【车辆双闪】触发"
-        );
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                7.647353843429736, 2.079624345746996, -14.257857535282083, 3, 173, 68 * 2,
+                "请点击闪烁点", "或者【车辆双闪】触发"
+            );
 
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "按下车辆双闪按钮,打开车辆双闪,同时,按下工作双闪按钮,打开工作双闪箭头灯。" + "\n"
-            // + "拧动启动钥匙,发动车辆。"
-        );
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "按下车辆双闪按钮,打开车辆双闪,同时,按下工作双闪按钮,打开工作双闪箭头灯。" + "\n"
+                // + "拧动启动钥匙,发动车辆。"
+            );
 
-        WindowEvent.find().WindowVideoRemoveColorOpen(
-            QingXiCheAndQvComRes.find().resJson["QingXiChe_01"],
-            "top:auto;left:auto;bottom:5%;right:10%;",
-            null,
-            null
-        );
+            WindowEvent.find().WindowVideoRemoveColorOpen(
+                QingXiCheAndQvComRes.find().resJson["QingXiChe_01"],
+                "top:auto;left:auto;bottom:5%;right:10%;",
+                null,
+                null
+            );
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -1106,27 +1107,32 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.roleShow(false);
 
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("踩下车辆离合器5秒", true);
 
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            7.279173216773189, 1.576185310803313, -14.256059281976121, 3, 173, 68 * 2,
-            "请点击闪烁点", "或者【离合】触发"
-        );
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("调整坐姿");
-        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手握方向盘");
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("踩下车辆离合器5秒", true);
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "调整坐姿,双手稳握方向盘。" + "\n"
-            + "用脚掌平稳且有力地踩下车辆离合器踏板,保持5秒,为后续操作做好准备。"
-        );
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                7.279173216773189, 1.576185310803313, -14.256059281976121, 3, 173, 68 * 2,
+                "请点击闪烁点", "或者【离合】触发"
+            );
 
-        WindowEvent.find().WindowVideoRemoveColorOpen(
-            QingXiCheAndQvComRes.find().resJson["QingXiChe_15"],
-            "top:auto;left:auto;bottom:5%;right:10%;",
-            null,
-            null
-        );
+            // objIframeEdit.cameraVisualAngleGetListNameGpsTo("调整坐姿");
+            // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手握方向盘");
+
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "调整坐姿,双手稳握方向盘。" + "\n"
+                + "用脚掌平稳且有力地踩下车辆离合器踏板,保持5秒,为后续操作做好准备。"
+            );
+
+            WindowEvent.find().WindowVideoRemoveColorOpen(
+                QingXiCheAndQvComRes.find().resJson["QingXiChe_15"],
+                "top:auto;left:auto;bottom:5%;right:10%;",
+                null,
+                null
+            );
+        
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -1152,25 +1158,30 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.roleShow(false);
 
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("按下取力器开关", true);
-
+        
         objIframeEdit.cameraVisualAngleGetListNameGpsTo("观察仪表盘指示灯");
 
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            7.83173626422252, 1.8440852876018483, -14.378123752937267, 3, 173, 68 * 2,
-            "请点击闪烁点", "或[取力器开关]触发"
-        );
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "目视仪表盘指示灯,确认车辆处于合适工况后,用手指轻稳按下取力器开关,稍作停顿,观察仪表状态,确保取力器顺利接合。" + "\n"
-        );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("按下取力器开关", true);
 
-        WindowEvent.find().WindowVideoRemoveColorOpen(
-            QingXiCheAndQvComRes.find().resJson["QingXiChe_02"],
-            "top:auto;left:auto;bottom:5%;right:10%;",
-            null,
-            null
-        );
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                7.83173626422252, 1.8440852876018483, -14.378123752937267, 3, 173, 68 * 2,
+                "请点击闪烁点", "或[取力器开关]触发"
+            );
+
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "目视仪表盘指示灯,确认车辆处于合适工况后,用手指轻稳按下取力器开关,稍作停顿,观察仪表状态,确保取力器顺利接合。" + "\n"
+            );
+
+            WindowEvent.find().WindowVideoRemoveColorOpen(
+                QingXiCheAndQvComRes.find().resJson["QingXiChe_02"],
+                "top:auto;left:auto;bottom:5%;right:10%;",
+                null,
+                null
+            );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -1195,25 +1206,30 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.roleShow(false);
 
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("缓慢抬起离合器", true);
-        
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            7.279173216773189, 1.576185310803313, -14.256059281976121, 3, 173, 68 * 2,
-            "请点击闪烁点", "或者【离合】触发"
-        );
 
-        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("抬起离合器踏板");
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "手肘轻靠座椅,以脚跟为支点,脚掌缓慢上抬离合器踏板,力度由重渐轻,同时感受车辆动力衔接,避免急抬引发顿挫。" + "\n"
-        );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("缓慢抬起离合器", true);
+            
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                7.279173216773189, 1.576185310803313, -14.256059281976121, 3, 173, 68 * 2,
+                "请点击闪烁点", "或者【离合】触发"
+            );
 
-        WindowEvent.find().WindowVideoRemoveColorOpen(
-            QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
-            "top:auto;left:auto;bottom:5%;right:10%;",
-            null,
-            null
-        );
+            // objIframeEdit.cameraVisualAngleGetListNameGpsTo("抬起离合器踏板");
+
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "手肘轻靠座椅,以脚跟为支点,脚掌缓慢上抬离合器踏板,力度由重渐轻,同时感受车辆动力衔接,避免急抬引发顿挫。" + "\n"
+            );
+
+            WindowEvent.find().WindowVideoRemoveColorOpen(
+                QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
+                "top:auto;left:auto;bottom:5%;right:10%;",
+                null,
+                null
+            );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -1237,31 +1253,35 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.modelPeopleLook(3);
         objIframeEdit.roleShow(false);
 
+        objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车缓慢抬起离合器");
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("确定车辆双闪和工作箭头等是否正常", true);
 
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            7.590068700493333, 1.872254593400176, -14.299112896482262, 3, 173, 68 * 2,
-            "请点击闪烁点", "或者【工作双闪箭头灯】触发"
-        );
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            7.647353843429736, 2.079624345746996, -14.257857535282083, 3, 173, 68 * 2,
-            "请点击闪烁点", "或者【车辆双闪】触发"
-        );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("确定车辆双闪和工作箭头等是否正常", true);
 
-        objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车缓慢抬起离合器");
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                7.590068700493333, 1.872254593400176, -14.299112896482262, 3, 173, 68 * 2,
+                "请点击闪烁点", "或者【工作双闪箭头灯】触发"
+            );
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "下车前,先确定车辆双闪和工作箭头等是否正常。" + "\n"
-        );
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                7.647353843429736, 2.079624345746996, -14.257857535282083, 3, 173, 68 * 2,
+                "请点击闪烁点", "或者【车辆双闪】触发"
+            );
+            
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "下车前,先确定车辆双闪和工作箭头等是否正常。" + "\n"
+            );
 
-        // WindowEvent.find().WindowVideoRemoveColorOpen(
-        //     QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
-        //     "top:auto;left:auto;bottom:5%;right:10%;",
-        //     null,
-        //     null
-        // );
+            // WindowEvent.find().WindowVideoRemoveColorOpen(
+            //     QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
+            //     "top:auto;left:auto;bottom:5%;right:10%;",
+            //     null,
+            //     null
+            // );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -1285,26 +1305,30 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.modelPeopleLook(3);
         objIframeEdit.roleShow(false);
 
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            7.043667273404463, 1.84376692587074, -14.531665288143401, 3, 173, 68 * 2,
-            "请点【车门】", "触发下车过程"
-        );
+        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车缓慢抬起离合器");
 
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("下车", true);
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车缓慢抬起离合器");
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                7.043667273404463, 1.84376692587074, -14.531665288143401, 3, 173, 68 * 2,
+                "请点【车门】", "触发下车过程"
+            );
 
-        // WindowEvent.find().WindowTxtViewOpenEvent(
-        //     "手肘轻靠座椅,以脚跟为支点,脚掌缓慢上抬离合器踏板,力度由重渐轻,同时感受车辆动力衔接,避免急抬引发顿挫。" + "\n"
-        // );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("下车", true);
+            
+            // WindowEvent.find().WindowTxtViewOpenEvent(
+            //     "手肘轻靠座椅,以脚跟为支点,脚掌缓慢上抬离合器踏板,力度由重渐轻,同时感受车辆动力衔接,避免急抬引发顿挫。" + "\n"
+            // );
 
-        // WindowEvent.find().WindowVideoRemoveColorOpen(
-        //     QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
-        //     "top:auto;left:auto;bottom:5%;right:10%;",
-        //     null,
-        //     null
-        // );
+            // WindowEvent.find().WindowVideoRemoveColorOpen(
+            //     QingXiCheAndQvComRes.find().resJson["QingXiChe_22"],
+            //     "top:auto;left:auto;bottom:5%;right:10%;",
+            //     null,
+            //     null
+            // );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -1333,43 +1357,47 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.modelPeopleLook(1);
         objIframeEdit.roleShow(true);
 
+        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("下车观察各项灯光0");
+
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("下车确定安全灯显示是否正常", true);
 
-        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("下车观察各项灯光0");
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        
-        // QingXiCheAndQvCarEvent.find().threeWorldTxt(
-        //     5.970016295014377, 0.8228753794195462, -15.366078254483678, 2, 173, 68 * 2,
-        //     "根据指示箭头", "行走到车尾"
-        // );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("下车确定安全灯显示是否正常", true);
+            
+            // QingXiCheAndQvCarEvent.find().threeWorldTxt(
+            //     5.970016295014377, 0.8228753794195462, -15.366078254483678, 2, 173, 68 * 2,
+            //     "根据指示箭头", "行走到车尾"
+            // );
 
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            5.976018890133483, 0.3105326669557069, -15.194477515112219, 2, 173, 68 * 2,
-            "根据指示箭头", "行走到车尾"
-        );
-        
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            7.120775422607426, 2.6263039162667186, -20.970003788783384, 2, 173, 68 * 2,
-            "点击【工作作业箭头灯】", "触发确认正常"
-        );
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                5.976018890133483, 0.3105326669557069, -15.194477515112219, 2, 173, 68 * 2,
+                "根据指示箭头", "行走到车尾"
+            );
+            
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                7.120775422607426, 2.6263039162667186, -20.970003788783384, 2, 173, 68 * 2,
+                "点击【工作作业箭头灯】", "触发确认正常"
+            );
 
-        QingXiCheAndQvCarEvent.find().threeWorldTxt(
-            8.87389671707001, 2.61892964208057, -20.970003789774182, 2, 173, 68 * 2,
-            "点击【工作作业箭头灯】", "触发确认正常"
-        );
-        
+            QingXiCheAndQvCarEvent.find().threeWorldTxt(
+                8.87389671707001, 2.61892964208057, -20.970003789774182, 2, 173, 68 * 2,
+                "点击【工作作业箭头灯】", "触发确认正常"
+            );
+            
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "下车并确认车辆双闪灯快速交替闪烁,工作箭头清晰明亮,各项灯光显示均正常无误。" + "\n"
-        );
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "下车并确认车辆双闪灯快速交替闪烁,工作箭头清晰明亮,各项灯光显示均正常无误。" + "\n"
+            );
 
-        WindowEvent.find().WindowVideoRemoveColorOpen(
-            QingXiCheAndQvComRes.find().resJson["QingXiChe_23"],
-            "top:auto;left:auto;bottom:5%;right:10%;",
-            null,
-            null
-        );
+            WindowEvent.find().WindowVideoRemoveColorOpen(
+                QingXiCheAndQvComRes.find().resJson["QingXiChe_23"],
+                "top:auto;left:auto;bottom:5%;right:10%;",
+                null,
+                null
+            );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);