浏览代码

[Feat 0000] 三道沟均压模型修改

houzekong 1 天之前
父节点
当前提交
ffd29b2c2d

+ 1 - 1
src/views/vent/monitorManager/balancePressMonitor/balancePress.data.ts

@@ -188,7 +188,7 @@ export const settingParam4 = [
     title: '一氧化碳浓度上限',
     code: 'coMaxVal',
     value: '',
-    unit: '%',
+    unit: 'ppm',
   },
   {
     title: '甲烷浓度上限',

+ 11 - 3
src/views/vent/monitorManager/balancePressMonitor/balancePress.threejs.ts

@@ -84,10 +84,18 @@ export const setModelType = (type) => {
           await animateCamera(
             oldCameraPosition,
             { x: 3.9025, y: 0.7782, z: 6.6307 },
-            { x: 0.30694425126412234, y: 6.664533888402769, z: 3.7879281016804667 },
-            { x: 0.27488693515931245, y: 0.6259183086723961, z: 0.23709305659449886 },
+            {
+              x: 1.8176930000000002,
+              y: 1.1875376026870743,
+              z: 2.346245344747627,
+            },
+            {
+              x: 1.8176930000000002,
+              y: 0.03289700000000001,
+              z: 0.7697549999999999,
+            },
             model,
-            0.8
+            1
           );
         }, 300);
       }

+ 1 - 1
src/views/vent/monitorManager/balancePressMonitor/components/balancePressHomeBD.vue

@@ -275,7 +275,7 @@
     getAvePress();
     loading.value = true;
     mountedThree().then(async () => {
-      await setModelType('balancePressBase'); //balancePressBase
+      await setModelType('balancePressTun'); //balancePressBase
       loading.value = false;
       timer = null;
       await getMonitor(true);