소스 검색

回风流瓦斯监测

bobo04052021@163.com 2 달 전
부모
커밋
731f09fec0
2개의 변경된 파일627개의 추가작업 그리고 601개의 파일을 삭제
  1. 33 0
      src/views/vent/monitorManager/fanLocalMonitor/fanLocal.three.ts
  2. 594 601
      src/views/vent/monitorManager/fanLocalMonitor/index.vue

+ 33 - 0
src/views/vent/monitorManager/fanLocalMonitor/fanLocal.three.ts

@@ -339,6 +339,39 @@ export const addCssText = () => {
       group.add(fanLocalCSS3D);
     }
   }
+  if (!group.getObjectByName('text8')) {
+    const element = document.getElementById('gasBox3') as HTMLElement;
+    if (element) {
+      const fanLocalCSS3D = new CSS3DObject(element);
+      fanLocalCSS3D.name = 'text8';
+      fanLocalCSS3D.scale.set(0.03, 0.03, 0.03);
+      fanLocalCSS3D.rotation.y = -Math.PI / 2;
+      fanLocalCSS3D.position.set(-90.04, 6, 5);
+      group.add(fanLocalCSS3D);
+    }
+  }
+  if (!group.getObjectByName('text9')) {
+    const element = document.getElementById('gasBox2') as HTMLElement;
+    if (element) {
+      const fanLocalCSS3D = new CSS3DObject(element);
+      fanLocalCSS3D.name = 'text9';
+      fanLocalCSS3D.scale.set(0.07, 0.07, 0.07);
+      fanLocalCSS3D.rotation.y = -Math.PI / 2;
+      fanLocalCSS3D.position.set(-40, 6, -41);
+      group.add(fanLocalCSS3D);
+    }
+  }
+  if (!group.getObjectByName('text10')) {
+    const element = document.getElementById('gasBox1') as HTMLElement;
+    if (element) {
+      const fanLocalCSS3D = new CSS3DObject(element);
+      fanLocalCSS3D.name = 'text10';
+      fanLocalCSS3D.scale.set(0.1, 0.1, 0.1);
+      fanLocalCSS3D.rotation.y = -Math.PI / 2;
+      fanLocalCSS3D.position.set(100, 10, -45);
+      group.add(fanLocalCSS3D);
+    }
+  }
 };
 
 // export const playSmoke = (controlType, deviceType, frequency, state) => {

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 594 - 601
src/views/vent/monitorManager/fanLocalMonitor/index.vue


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.