人生啊人生 6 dagar sedan
förälder
incheckning
6a2ef1ecef
1 ändrade filer med 109 tillägg och 75 borttagningar
  1. 109 75
      src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEvent.js

+ 109 - 75
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvCarEvent.js

@@ -2751,21 +2751,26 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.modelPeopleLook(1);
         objIframeEdit.roleShow(true);
 
+        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
+
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室", true);
 
-        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("将高压水管拧到水管固定座1");
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "完成设备收尾工作后,稳步返回驾驶室,坐定并调整坐姿。" + "\n"
-        );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室", true);
+            
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "完成设备收尾工作后,稳步返回驾驶室,坐定并调整坐姿。" + "\n"
+            );
 
-        // WindowEvent.find().WindowVideoRemoveColorOpen(
-        //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
-        //     "top:auto;left:auto;bottom:5%;right:10%;",
-        //     null,
-        //     null
-        // );
+            // WindowEvent.find().WindowVideoRemoveColorOpen(
+            //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
+            //     "top:auto;left:auto;bottom:5%;right:10%;",
+            //     null,
+            //     null
+            // );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -2791,20 +2796,24 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.roleShow(false);
 
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室踩下车辆离合器5秒", true);
-
         objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车开启双闪");
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "匀速下压车辆离合器并持续保持5秒钟。" + "\n"
-        );
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        // WindowEvent.find().WindowVideoRemoveColorOpen(
-        //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
-        //     "top:auto;left:auto;bottom:5%;right:10%;",
-        //     null,
-        //     null
-        // );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("回到驾驶室踩下车辆离合器5秒", true);
+
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "匀速下压车辆离合器并持续保持5秒钟。" + "\n"
+            );
+
+            // WindowEvent.find().WindowVideoRemoveColorOpen(
+            //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
+            //     "top:auto;left:auto;bottom:5%;right:10%;",
+            //     null,
+            //     null
+            // );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -2830,20 +2839,25 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.roleShow(false);
 
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭取力器开关", true);
 
         // objIframeEdit.cameraVisualAngleGetListNameGpsTo("观察仪表盘指示灯");
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "关闭取力器开关" + "\n"
-        );
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        // WindowEvent.find().WindowVideoRemoveColorOpen(
-        //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
-        //     "top:auto;left:auto;bottom:5%;right:10%;",
-        //     null,
-        //     null
-        // );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭取力器开关", true);
+
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "关闭取力器开关" + "\n"
+            );
+
+            // WindowEvent.find().WindowVideoRemoveColorOpen(
+            //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
+            //     "top:auto;left:auto;bottom:5%;right:10%;",
+            //     null,
+            //     null
+            // );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -2868,21 +2882,26 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.modelPeopleLook(3);
         objIframeEdit.roleShow(false);
 
+        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("开启双闪");
+
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭车辆双闪和工作双闪箭头灯", true);
 
-        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("开启双闪");
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "关闭车辆双闪和工作双闪箭头灯" + "\n"
-        );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("关闭车辆双闪和工作双闪箭头灯", true);
 
-        // WindowEvent.find().WindowVideoRemoveColorOpen(
-        //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
-        //     "top:auto;left:auto;bottom:5%;right:10%;",
-        //     null,
-        //     null
-        // );
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "关闭车辆双闪和工作双闪箭头灯" + "\n"
+            );
+
+            // WindowEvent.find().WindowVideoRemoveColorOpen(
+            //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
+            //     "top:auto;left:auto;bottom:5%;right:10%;",
+            //     null,
+            //     null
+            // );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -2908,20 +2927,26 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.roleShow(false);
 
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("确认手刹已拉起档位是P档然后发动车辆", true);
+        
 
         // objIframeEdit.cameraVisualAngleGetListNameGpsTo("手刹和空挡");
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "观察驾驶室挡位状态,确认手刹处于拉起状态,切换E/P开关至E档。"
-        );
-        
-        WindowEvent.find().WindowVideoRemoveColorOpen(
-            QingXiCheAndQvComRes.find().resJson["QingXiChe_04"],
-            "top:auto;left:auto;bottom:5%;right:10%;",
-            null,
-            null
-        );
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
+
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("确认手刹已拉起档位是P档然后发动车辆", true);
+
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "观察驾驶室挡位状态,确认手刹处于拉起状态,切换E/P开关至E档。"
+            );
+            
+            WindowEvent.find().WindowVideoRemoveColorOpen(
+                QingXiCheAndQvComRes.find().resJson["QingXiChe_04"],
+                "top:auto;left:auto;bottom:5%;right:10%;",
+                null,
+                null
+            );
+
+        }
 
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -2945,21 +2970,26 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.modelPeopleLook(3);
         objIframeEdit.roleShow(false);
 
+        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("熄火_1");
+
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("车辆正常熄火", true);
 
-        // objIframeEdit.cameraVisualAngleGetListNameGpsTo("熄火_1");
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        WindowEvent.find().WindowTxtViewOpenEvent(
-            "车辆正常熄火" + "\n"
-        );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("车辆正常熄火", true);
 
-        // WindowEvent.find().WindowVideoRemoveColorOpen(
-        //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
-        //     "top:auto;left:auto;bottom:5%;right:10%;",
-        //     null,
-        //     null
-        // );
+            WindowEvent.find().WindowTxtViewOpenEvent(
+                "车辆正常熄火" + "\n"
+            );
+
+            // WindowEvent.find().WindowVideoRemoveColorOpen(
+            //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
+            //     "top:auto;left:auto;bottom:5%;right:10%;",
+            //     null,
+            //     null
+            // );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);
@@ -2985,20 +3015,24 @@ export class QingXiCheAndQvCarEvent {
         objIframeEdit.roleShow(false);
 
         QingXiCheAdnQvCarEventStep.find().meshVisibility("all", false);
-        QingXiCheAdnQvCarEventStep.find().meshVisibility("清洗车已完成所有任务", true);
 
         objIframeEdit.cameraVisualAngleGetListNameGpsTo("清洗车流程完成");
 
-        // WindowEvent.find().WindowTxtViewOpenEvent(
-        //     "车辆正常熄火" + "\n"
-        // );
+        if (QingXiCheAndQvCarEvent.find().eventMode == 0) {
 
-        // WindowEvent.find().WindowVideoRemoveColorOpen(
-        //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
-        //     "top:auto;left:auto;bottom:5%;right:10%;",
-        //     null,
-        //     null
-        // );
+            QingXiCheAdnQvCarEventStep.find().meshVisibility("清洗车已完成所有任务", true);
+            // WindowEvent.find().WindowTxtViewOpenEvent(
+            //     "车辆正常熄火" + "\n"
+            // );
+
+            // WindowEvent.find().WindowVideoRemoveColorOpen(
+            //     QingXiCheAndQvComRes.find().resJson["QingXiChe_25"],
+            //     "top:auto;left:auto;bottom:5%;right:10%;",
+            //     null,
+            //     null
+            // );
+
+        }
         
         thisClass.tipsBtnsUpOpenEventCallbackMain(false);
         thisClass.tipsBtnsDownOpenEventCallbackMain(false);